It'd be nice if there was a proc to get a list of options icon states may have, for example whatever is stored in the DMI (frames/reverse/etc.)
This was requested in the past but I figured a revival of the request with a more straightforward implementation idea would be preferred.
/proc/icon_state_info('icon' or /icon, iconstate)
Would return a list("frames" = 1, "reverse" = 1), etc
/icon/proc/StateInfo(iconstate)
Same as above, but OO-ified
ID:2208217
Feb 3 2017, 6:36 pm
|
|||||||
| |||||||
Feb 3 2017, 6:55 pm
|
|
I'm fairly certain that the number of directions accessible in the icon is also recorded in the metadata very explicitly, however there is no function to retrieve the information.
|
For now, there is a library that will let you get at this information through a .dll file:
http://www.byond.com/developer/DarkCampainger/DMIIconInfo |