Daedalus Dock - 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_nameReturns the name of the area the atom is in
/proc/cheap_hypotenuseCalculate the hypotenuse cheaply (this should be in maths.dm)
/proc/recursive_organ_check
/proc/try_move_adjacentTries to move an atom to an adjacent turf, return TRUE if successful
/proc/get_mob_by_keyReturn the mob type that is being controlled by a ckey
/proc/considered_aliveReturns true if the mob that a player is controlling is alive
/proc/considered_exiledExiled check
/proc/considered_afkChecks if a player is considered AFK
/proc/screen_textReturn an object with a new maptext (not currently in use)
/proc/remove_image_from_clientRemoves an image from a client's .images. Useful as a callback.
/proc/remove_images_from_clientsLike remove_image_from_client, but will remove the image from a list of clients
/proc/flick_overlayAdd 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_countGet active players who are playing in the round
/proc/show_candidate_poll_windowShow the poll window to the candidate mobs
/proc/poll_ghost_candidatesWrapper to send all ghosts the poll to ask them if they want to be considered for a mob.
/proc/poll_candidatesCalls the show_candidate_poll_window() to all eligible ghosts
/proc/poll_candidates_for_mobReturns a list of ghosts that are eligible to take over and wish to be considered for a mob.
/proc/poll_candidates_for_mobsReturns a list of ghosts that are eligible to take over and wish to be considered for a mob.
/proc/make_bodyUses stripped down and bastardized code from respawn character
/proc/send_to_playing_playerssends a whatever to all playing players; use instead of to_chat(world, where needed)
/proc/window_flashFlash the window of a player
/proc/recursive_loc_checkRecursively checks if an item is inside a given type, even through layers of storage. Returns the atom if it finds it.
/proc/announce_arrivalSend a message in common radio when a player arrives
/proc/find_obstruction_free_locationFind 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_failDisable power in the station APCs

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.