|Gibberish||Turn text into complete gibberish!|
|IsAdminGhost||Is the passed in mob an admin ghost|
|___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.|
|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|
|findname||Find if the message has the real name of any user mob in the mob_list|
|getFlatIcon||Create a single [/icon] from a given /atom or [/image].|
|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_blind||Checks if passed through item is blind|
|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.|
|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
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
DO NOT USE ___TraitAdd OR ___TraitRemove as a replacement for ADD_TRAIT / REMOVE_TRAIT defines. To be used explicitly for callback.
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
Find if the message has the real name of any user mob in the mob_list
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.
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
Checks if passed through item is blind
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
1 argument is the actor performing the action 2 argument is the target of the action 3 is a verb describing the action (e.g. punched, throwed, kicked, etc.) 4 is a tool with which the action was made (usually an item) 5 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.
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