code/__HELPERS/unsorted.dm

| /proc/get_nested_locs | Returns a list of all locations (except the area) the movable is within. |
|---|---|
| /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)) |