/proc/get_nested_locs |
Returns a list of all locations (except the area) the movable is within. |
/proc/get_closest_atom |
Returns the closest atom of a given type to the source atom. |
/proc/get_closest_atom_to_group |
Returns the closest atom of a given type to the center of a list of atoms. Can be very expensive with large lists. |
/proc/stoplag |
returns the number of ticks slept |
/proc/REF |
\ref behaviour got changed in 512 so this is necesary to replicate old behaviour.
If it ever becomes necesary to get a more performant REF(), this lies here in wait
#define REF(thing) (thing && isdatum(thing) && (thing:datum_flags & DF_USE_TAG) && thing:tag ? "[thing:tag]" : text_ref(thing)) |
---|