code/__HELPERS/unsorted.dm ![code/__HELPERS/unsorted.dm0](git.png)
/proc/get_teleport_loc | Returns location. Returns null if no location was found. |
---|---|
/proc/get_atom_on_turf | Returns the top-most atom sitting on the turf. For example, using this on a disk, which is in a bag, on a mob, will return the mob because it's on the turf. |
/proc/get_ranged_target_turf_direct | Get ranged target turf, but with direct targets as opposed to directions |
/proc/parse_caught_click_modifiers | Returns a turf based on text inputs, original turf and viewing client |
DELTA_CALC | Increases delay as the server gets more overloaded, as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful |
/proc/stoplag | returns the number of ticks slept |
/proc/valid_window_location | Checks whether the target turf is in a valid state to accept a directional window or other directional pseudo-dense object such as railings. |
/proc/___TraitAdd | DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback. |
/proc/___TraitRemove | DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback. |
Define Details
DELTA_CALC ![code/__HELPERS/unsorted.dm 1126](git.png)
Increases delay as the server gets more overloaded, as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful