|SStime_track||The reference to the end of round sound that we have chosen.|
|Gibberish||Turn text into complete gibberish!|
|IsAdminGhost||Is the passed in mob an admin ghost|
|WrapAdminProcCall||Wrapper for proccalls where the datum is flagged as vareditted|
|___TraitAdd||DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.|
|___TraitRemove||DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.|
|_alert_drones||Broadcast a message to all drones in a faction|
|above_neck||Would this zone be above the neck|
|add_keybinding||Adds an instanced keybinding to the global tracker|
|addtimer||Create a new timer and insert it in the queue|
|callback_select||Runs a list of callbacks asyncronously, returning only when all have finished|
|check_zone||Convert a PRECISE ZONE into the BODY_ZONE|
|cultslur||Makes you talk like you got cult stunned, which is slurring but with some dark messages|
|deltimer||Delete a timer|
|derpspeech||Convert a message to derpy speak|
|do_after||Timed action involving one mob user. Target is optional.|
|do_after_mob||Timed action involving at least one mob user and a list of targets.|
|do_mob||Timed action involving two mobs, the user and the target.|
|findname||Find if the message has the real name of any user mob in the mob_list|
|generate_selectable_species||Generates species available to choose in character setup at roundstart|
|getFlatIcon||Create a single [/icon] from a given /atom or [/image].|
|get_bbox_of_atoms||Get a bounding box of a list of atoms.|
|get_cached_movespeed_modifier||Grabs a STATIC MODIFIER datum from cache. YOU MUST NEVER EDIT THESE DATUMS, OR IT WILL AFFECT ANYTHING ELSE USING IT TOO!|
|goonchem_vortex||Simulates a vortex that moves nearby movable atoms towards or away from the turf T. Range also determines the strength of the effect. High values cause nearby objects to be thrown.|
|init_keybindings||Creates and sorts all the keybinding datums|
|is_special_character||Is this mob special to the gamemode?|
|item_heal_robotic||Heal a robotic body part on a mob|
|json_deserialize_datum||Convert a list of json to datum|
|json_serialize_datum||Convert a datum into a json blob|
|load_map||Shortcut function to parse a map and apply it to the world.|
|log_combat||Log a combat message in the attack log|
|log_directed_talk||Helper for logging of messages with only one sender and receiver|
|movespeed_data_null_check||Checks if a move speed modifier is valid and not missing any data|
|notify_ghosts||Fancy notifications for ghosts|
|offer_control||Offer control of the passed in mob to dead player|
|process_teleport_locs||Generate a list of turfs you can teleport to from the areas list|
|propagate_network||remove the old powernet and replace it with a new one throughout the network.|
|ran_zone||Return the zone or randomly, another valid zone|
|sanitize_name||returns nothing with an alert instead of the message if it contains something in the ic filter, and sanitizes normally if the name is fine. It returns nothing so it backs out of the input the same way as if you had entered nothing.|
|setupExports||This is the value of the object, as derived from material datums. Quantity of the object in question. Utilized in the pricetag component. Splits the object's profit when it has a pricetag by the specified amount.|
|shake_camera||Shake the camera of the person viewing the mob SO REAL!|
|slur||Makes you speak like you're drunk|
|stars||Convert random parts of a passed in message to stars|
|stutter||Adds stuttering to the message passed in|
|timeleft||Get the remaining deciseconds on a timer|
|voice_of_god||VOICE OF GOD|
Pretty much pokes the MC to make sure it's still alive.
Designed to properly split up a given tick among subsystems Note: if you read parts of this code and think "why is it doing it that way" Odds are, there is a reason
The reference to the end of round sound that we have chosen.
Turn text into complete gibberish!
text is the inputted message, replace_characters will cause original letters to be replaced and chance are the odds that a character gets modified.
Is the passed in mob an admin ghost
Wrapper for proccalls where the datum is flagged as vareditted
DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.
Broadcast a message to all drones in a faction
- msg - The message to send
- dead_can_hear - Boolean that determines if ghosts can hear the message (
- source - /atom source that created the message
- faction_checked_mob - /mob/living to determine faction matches from
- exact_faction_match - Passed to /mob/proc/faction_check_mob
Would this zone be above the neck
Adds an instanced keybinding to the global tracker
Create a new timer and insert it in the queue
- callback the callback to call on timer finish
- wait deciseconds to run the timer for
- flags flags for this timer, see: code__DEFINES\subsystems.dm
Runs a list of callbacks asyncronously, returning only when all have finished
Callbacks can be repeated, to call it multiple times
- list/callbacks the list of callbacks to be called
- list/callback_args the list of lists of arguments to pass into each callback
- savereturns Optionally save and return the list of returned values from each of the callbacks
- resolution The number of byond ticks between each time you check if all callbacks are complete
Convert a PRECISE ZONE into the BODY_ZONE
Strict Type Gens
Cutoff for Non-Low Priority Bounties
Low Priority Gens
Checks if the current body of the mind has an exile implant and is currently in an away mission. Returns FALSE if any of those conditions aren't met.
Makes you talk like you got cult stunned, which is slurring but with some dark messages
Delete a timer
- id a timerid or a /datum/timedevent
Convert a message to derpy speak
Timed action involving one mob user. Target is optional.
Timed action involving at least one mob user and a list of targets.
Timed action involving two mobs, the user and the target.
Find if the message has the real name of any user mob in the mob_list
Generates species available to choose in character setup at roundstart
This proc generates which species are available to pick from in character setup. If there are no available roundstart species, defaults to human.
Create a single [/icon] from a given /atom or [/image].
Very low-performance. Should usually only be used for HTML, where BYOND's appearance system (overlays/underlays, etc.) is not available.
Only the first argument is required.
Get a bounding box of a list of atoms.
- atoms - List of atoms. Can accept output of view() and range() procs.
Returns: list(x1, y1, x2, y2)
Grabs a STATIC MODIFIER datum from cache. YOU MUST NEVER EDIT THESE DATUMS, OR IT WILL AFFECT ANYTHING ELSE USING IT TOO!
Simulates a vortex that moves nearby movable atoms towards or away from the turf T. Range also determines the strength of the effect. High values cause nearby objects to be thrown.
Creates and sorts all the keybinding datums
Is this mob special to the gamemode?
returns 1 for special characters and 2 for heroes of gamemode
Heal a robotic body part on a mob
Convert a list of json to datum
Convert a datum into a json blob
Shortcut function to parse a map and apply it to the world.
dmm_file: A .dmm file to load (Required).
z_offset: Positions representign where to load the map (Optional).
cropMap: When true, the map will be cropped to fit the existing world dimensions (Optional).
measureOnly: When true, no changes will be made to the world (Optional).
no_changeturf: When true, turf/AfterChange won't be called on loaded turfs
y_upper: Coordinates (relative to the map) to crop to (Optional).
placeOnTop: Whether to use turf/PlaceOnTop rather than turf/ChangeTurf (Optional).
Log a combat message in the attack log
- atom/user - argument is the actor performing the action
- atom/target - argument is the target of the action
- what_done - is a verb describing the action (e.g. punched, throwed, kicked, etc.)
- atom/object - is a tool with which the action was made (usually an item)
- addition - is any additional text, which will be appended to the rest of the log line
Helper for logging of messages with only one sender and receiver
Checks if a move speed modifier is valid and not missing any data
Fancy notifications for ghosts
The kitchen sink of notification procs
- ghost_sound sound to play
- enter_link Href link to enter the ghost role being notified for
- source The source of the notification
- alert_overlay The alert overlay to show in the alert message
- action What action to take upon the ghost interacting with the notification, defaults to NOTIFY_JUMP
- flashwindow Flash the byond client window
- ignore_key Ignore keys if they're in the GLOB.poll_ignore list
- header The header of the notifiaction
- notify_suiciders If it should notify suiciders (who do not qualify for many ghost roles)
- notify_volume How loud the sound should be to spook the user
Offer control of the passed in mob to dead player
Automatic logging and uses pollCandidatesForMob, how convenient
Generate a list of turfs you can teleport to from the areas list
Includes areas if they're not a shuttle or not not teleport or have no contents
The chosen turf is the first item in the areas contents that is a station level
The returned list of turfs is sorted by name
remove the old powernet and replace it with a new one throughout the network.
Return the zone or randomly, another valid zone
probability controls the chance it chooses the passed in zone, or another random zone defaults to 80
- inputs: O (object to start with)
- description: A pseudo-recursive loop based off of the recursive mob check, this check looks for any organs held
within 'O', toggling their frozen flag. This check excludes items held within other safe organ
storage units, so that only the lowest level of container dictates whether we do or don't decompose
returns nothing with an alert instead of the message if it contains something in the ic filter, and sanitizes normally if the name is fine. It returns nothing so it backs out of the input the same way as if you had entered nothing.
This is the value of the object, as derived from material datums. Quantity of the object in question. Utilized in the pricetag component. Splits the object's profit when it has a pricetag by the specified amount.
Shake the camera of the person viewing the mob SO REAL!
Makes you speak like you're drunk
Convert random parts of a passed in message to stars
- phrase - the string to convert
- probability - probability any character gets changed
This proc is dangerously laggy, avoid it or die
Adds stuttering to the message passed in
Get the remaining deciseconds on a timer
- id a timerid or a /datum/timedevent
VOICE OF GOD