/tg/ Station 13 - Modules - TypesDefine Details

code/__HELPERS/game.dm

CULT_POLL_WAITTime before being allowed to select a new cult leader again
GET_ERROR_ROOMReturns either the error landmark or the location of the room. Needless to say, if this is used, it means things have gone awry.
/proc/get_area_name Returns the name of the area the atom is in
/proc/try_move_adjacent Tries to move an atom to an adjacent turf, return TRUE if successful
/proc/get_mob_by_key Return the mob type that is being controlled by a ckey
/proc/considered_alive Checks if the passed mind has a mob that is "alive"
/proc/considered_exiled Exiled check
/proc/considered_afk Checks if a player is considered AFK
/proc/screen_text Return an object with a new maptext (not currently in use)
/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_global Add an image to a list of clients and calls a proc to remove it after a duration
/atom/movable/flick_visualHelper atom that copies an appearance and exists for a period
/proc/get_active_player_count Get active players who are playing in the round
/proc/make_body Uses stripped down and bastardized code from respawn character
/proc/send_to_playing_players sends a whatever to all playing players; use instead of to_chat(world, where needed)
/proc/window_flash Flash the window of a player
/proc/recursive_loc_check Recursively checks if an item is inside a given type, even through layers of storage. Returns the atom if it finds it.
/proc/announce_arrival Send a message in common radio when a player arrives
/proc/lavaland_equipment_pressure_check Check if the turf pressure allows specialized equipment to work
/proc/find_obstruction_free_location Find an obstruction free turf that's within the range of the center. Can also condition on if it is of a certain area type.
/proc/power_fail Disable power in the station APCs
/proc/send_tip_of_the_round Sends a round tip to a target. If selected_tip is null, a random tip will be sent instead (5% chance of it being silly). Tips that starts with the @ character won't be html encoded. That's necessary for any tip containing markup tags, just make sure they don't also have html characters like <, > and ' which will be garbled.

Define Details

CULT_POLL_WAIT

Time before being allowed to select a new cult leader again

GET_ERROR_ROOM

Returns either the error landmark or the location of the room. Needless to say, if this is used, it means things have gone awry.