code/__DEFINES/_helpers.dm 
| ICON_SIZE_ALL | The game's world.icon_size. Ideally divisible by 16. Ideally a number, but it can be a string ("32x32"), so more exotic coders will be sad if you use this in math. |
|---|---|
| ICON_SIZE_X | The X/Width dimension of ICON_SIZE. This will more than likely be the bigger axis. |
| ICON_SIZE_Y | The Y/Height dimension of ICON_SIZE. This will more than likely be the smaller axis. |
| STRINGIFY | Stringifies whatever you put into it. |
| subtypesof | subtypesof(), typesof() without the parent path |
| UNTIL | Until a condition is true, sleep |
| SLEEP_NOT_DEL | Sleep if we haven't been deleted Otherwise, return |
| text_ref | Takes a datum as input, returns its ref string |
| EMPTY_BLOCK_GUARD | A null statement to guard against EmptyBlock lint without necessitating the use of pass() Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places. |
| HAS_CONNECTED_PLAYER | Abstraction over using mob.client to just check if there's a connected player. |
Define Details
EMPTY_BLOCK_GUARD 
A null statement to guard against EmptyBlock lint without necessitating the use of pass() Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places.
HAS_CONNECTED_PLAYER 
Abstraction over using mob.client to just check if there's a connected player.
ICON_SIZE_ALL 
The game's world.icon_size.
Ideally divisible by 16.
Ideally a number, but it
can be a string ("32x32"), so more exotic coders
will be sad if you use this in math.
ICON_SIZE_X 
The X/Width dimension of ICON_SIZE. This will more than likely be the bigger axis.
ICON_SIZE_Y 
The Y/Height dimension of ICON_SIZE. This will more than likely be the smaller axis.
SLEEP_NOT_DEL 
Sleep if we haven't been deleted Otherwise, return
STRINGIFY 
Stringifies whatever you put into it.
UNTIL 
Until a condition is true, sleep
subtypesof 
subtypesof(), typesof() without the parent path
text_ref 
Takes a datum as input, returns its ref string