code/__HELPERS/game.dm 
MANUAL_PICK_MESSAGE | proc/get_area(atom/A) |
---|---|
/proc/recursive_mob_check | Will recursively loop through an atom's contents and check for mobs, then it will loop through every atom in that atom's contents. It will keep doing this until it checks every content possible. This will fix any problems with mobs, that are inside objects, being unable to hear people due to being in a box within a bag. |
/proc/get_mobs_in_view | The old system would loop through lists for a total of 5000 per function call, in an empty server. This new system will loop at around 1000 in an empty server. Returns a list of mobs in range from source. Used in radio and say code. |
/proc/add_image_to_client | Adds an image to a client's .images . Useful as a callback. |
/proc/add_image_to_clients | Like add_image_to_client, but will add the image from a list of clients |
/proc/remove_image_from_client | Removes an image from a client's .images . Useful as a callback. |
/proc/remove_image_from_clients | Like remove_image_from_client, but will remove the image from a list of clients |
/proc/flick_overlay | Add an image to a list of clients and calls a proc to remove it after a duration |
/atom/movable/flick_visual | Helper atom that copies an appearance and exists for a period |
/proc/send_to_playing_players | sends a whatever to all playing players; use instead of to_chat(world, where needed) |
/proc/get_valid_vent_spawns | Returns a list of vents that can be used as a potential spawn if they meet the criteria set by the arguments |
Define Details
MANUAL_PICK_MESSAGE 
proc/get_area(atom/A)