/tg/ Station 13 - Modules - Types

code/__HELPERS/unsorted.dm

/proc/getline Get a list of turfs in a line from M to N.
/proc/ionnum is at the start to prevent us from changing say modes via get_message_mode()
/proc/sortmobs Orders mobs by type then by name. Accepts optional arg to sort a custom list, otherwise copies GLOB.mob_list.
/proc/get_ranged_target_turf_direct Get ranged target turf, but with direct targets as opposed to directions
/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.
/proc/make_tuple Returns the name of the mathematical tuple of same length as the number arg (rounded down).
/proc/podspawn One proc for easy spawning of pods in the code to drop off items before whizzling (please don't proc call this in game, it will destroy you)