(builtins)
/atom/movable | Virtual Mob Creation |
---|
diff --git a/(builtins).html b/(builtins).html index c02ff3d4649..e1fa38110cc 100644 --- a/(builtins).html +++ b/(builtins).html @@ -1 +1 @@ -
/atom/movable | Virtual Mob Creation |
---|
/atom/movable | Virtual Mob Creation |
---|
Vars | |
holomap_color | Automatically set by SetName and Initialize; cached result of strip_improper(name). |
---|
Automatically set by SetName and Initialize; cached result of strip_improper(name).
Vars | |
holomap_color | Automatically set by SetName and Initialize; cached result of strip_improper(name). |
---|
Automatically set by SetName and Initialize; cached result of strip_improper(name).
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_reagent_update_started | (FLOAT) world.time of last on_reagent_update call, used to prevent recursion due to reagents updating reagents | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
atom_flags | (BITFLAG) See flags.dm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blood_DNA | (DICTIONARY) A lazy map. The key is a MD5 player name and the value is the blood type. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blood_color | (COLOR) The color of the blood shown on blood overlays. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
climb_speed_mult | (FLOAT) The climbing speed multiplier for this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
climbers | (LIST) A list of all mobs that are climbing or currently on this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
current_health | (FLOAT) Current remaining health value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
explosion_resistance | (INTEGER) The amount an explosion's power is decreased when encountering this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fluorescent | (FALSE|DEFINES) How this atom is interacting with UV light. See misc.dm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
germ_level | (INTEGER) The number of germs on this atom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
icon_rotation | (FLOAT) The angle in degrees clockwise that should be applied. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
icon_scale_x | (FLOAT) The horizontal scaling that should be applied. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
icon_scale_y | (FLOAT) The vertical scaling that should be applied. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_spawnable_type | (BOOL) If it can be spawned normally | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
last_bumped | (FLOAT) The world.time that this atom last bumped another. Used mostly by mobs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
level | (DEFINE) Determines where this atom sits in terms of turf plating. See misc.dm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
light_dir | An override for cases where the light is not facing the same direction as the object. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_health | (FLOAT) Theoretical maximum health value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pass_flags | (BITFLAG) See flags.dm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reagents | The chemical contents of this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
simulated | (BOOL) If an atom should be interacted with by a number of systems (Atmos, Liquids, Turbolifts, Etc.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
storage | (DATUM) /datum/storage instance to use for this obj. Set to a type for instantiation on init. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
temperature | What is this atom's current temperature? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
temperature_sensitive | (BOOL) Does this atom respond to changes in local temperature via the temperature var? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
throwpass | (BOOL) If a thrown object can continue past this atom. Sometimes used for clicking as well? TODO: Rework this | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
transform_animate_time | (FLOAT) If greater than zero, transform-based adjustments (scaling, rotating) will visually occur over this time. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
was_bloodied | (BOOL) If this atom was bloodied before. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bumped | Handle an atom bumping this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CheckExit | Check if an atom can exit this atom's turf. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Entered | Movement Handling | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Exited | Exited Handling | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HasProximity | Handle an atom entering this atom's proximity | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SetName | Name Set Handling | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
add_blood | Attempt to add blood to this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
additional_see_invisible | Get the level of invisible sight this atom should provide to a user | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
additional_sight_flags | Get sight flags that this atom should provide to a user | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
assume_air | Attempt to merge a gas_mixture giver into this atom's gas_mixture | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
audible_message | Show a message to all mobs and objects in earshot of this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
bullet_act | Handle a projectile P hitting this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
can_be_poured_from | This is whether it's physically possible to pour from this atom to the target atom, based on context like user intent and src being open, etc.
+atom
Var Details_reagent_update_started(FLOAT) world.time of last on_reagent_update call, used to prevent recursion due to reagents updating reagents atom_flags(BITFLAG) See flags.dm blood_DNA(DICTIONARY) A lazy map. The blood_color(COLOR) The color of the blood shown on blood overlays. climb_speed_mult(FLOAT) The climbing speed multiplier for this atom climbers(LIST) A list of all mobs that are climbing or currently on this atom current_health(FLOAT) Current remaining health value. explosion_resistance(INTEGER) The amount an explosion's power is decreased when encountering this atom fluorescent(FALSE|DEFINES) How this atom is interacting with UV light. See misc.dm germ_level(INTEGER) The number of germs on this atom. icon_rotation(FLOAT) The angle in degrees clockwise that should be applied. icon_scale_x(FLOAT) The horizontal scaling that should be applied. icon_scale_y(FLOAT) The vertical scaling that should be applied. is_spawnable_type(BOOL) If it can be spawned normally last_bumped(FLOAT) The world.time that this atom last bumped another. Used mostly by mobs. level(DEFINE) Determines where this atom sits in terms of turf plating. See misc.dm light_dirAn override for cases where the light is not facing the same direction as the object. max_health(FLOAT) Theoretical maximum health value. pass_flags(BITFLAG) See flags.dm reagentsThe chemical contents of this atom simulated(BOOL) If an atom should be interacted with by a number of systems (Atmos, Liquids, Turbolifts, Etc.) storage(DATUM) /datum/storage instance to use for this obj. Set to a type for instantiation on init. temperatureWhat is this atom's current temperature? temperature_sensitive(BOOL) Does this atom respond to changes in local temperature via the throwpass(BOOL) If a thrown object can continue past this atom. Sometimes used for clicking as well? TODO: Rework this transform_animate_time(FLOAT) If greater than zero, transform-based adjustments (scaling, rotating) will visually occur over this time. was_bloodied(BOOL) If this atom was bloodied before. Proc DetailsBumpedHandle an atom bumping this atom +Most useful for calculating worth or deconstructing something along with its contents. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
get_heat | Get the temperature of this atom's heat source | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
get_radio | Get any radio associated with this atom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
get_recursive_loc_of_type | Get the first loc of the specified loc_type from walking up the loc tree of this atom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
grab_attack | Handle this atom being hit by a grab. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
handle_melting | Handle this atom being destroyed through melting | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
hitby | Handle this atom being hit by a thrown atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
in_contents_of | Check if this atom is in the path or atom container | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isflamesource | Check if this atom is a source of fire | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
lava_act | Handle this atom being exposed to lava. Calls qdel() by default | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
merge_exhaled_volume | Merge an exhaled air volume into air contents.. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
modify_mapped_vars | Adjust variables prior to Initialize() based on the map | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object_shaken | Shake this atom and all its climbers. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
onDropInto | Handle dropping an atom onto this atom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
on_update_icon | Update this atom's icon. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
physically_destroyed | Handle the destruction of this atom, spilling its contents by default | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
relaymove | Relay movement to this atom. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remove_air | Attempt to remove amount moles from this atom's gas_mixture | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
return_air | Get the air of this atom or its location's air | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reveal_blood | Reveal any blood on the item and update its color to that of luminol | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
search_contents_for | Recursively search this atom's contents for an atom of type path | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_density | Set the density of this atom to new_density | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_dir | Set the direction of this atom to new_dir | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_icon | Set the icon to new_icon | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_icon_state | Set the icon_state to new_icon_state | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_invisibility | Invisibility Set Handling | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_rotation | Set the rotation of this atom's transform | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_scale | Set the scale of this atom's transform. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
try_detonate_reagents | Attempt to detonate the reagents contained in this atom | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
try_on_reagent_change | Handle reagents being modified | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
turf_is_crowded | Check if this atom's turf is blocked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
update_icon | Update this atom's icon. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
update_transform | Update this atom's transform from stored values. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
visible_message | Show a message to all mobs and objects in sight of this atom. |
(FLOAT) world.time of last on_reagent_update call, used to prevent recursion due to reagents updating reagents
(BITFLAG) See flags.dm
(DICTIONARY) A lazy map. The key
is a MD5 player name and the value
is the blood type.
(COLOR) The color of the blood shown on blood overlays.
(FLOAT) The climbing speed multiplier for this atom
(LIST) A list of all mobs that are climbing or currently on this atom
(FLOAT) Current remaining health value.
(INTEGER) The amount an explosion's power is decreased when encountering this atom
(FALSE|DEFINES) How this atom is interacting with UV light. See misc.dm
(INTEGER) The number of germs on this atom.
(FLOAT) The angle in degrees clockwise that should be applied.
(FLOAT) The horizontal scaling that should be applied.
(FLOAT) The vertical scaling that should be applied.
(BOOL) If it can be spawned normally
(FLOAT) The world.time that this atom last bumped another. Used mostly by mobs.
(DEFINE) Determines where this atom sits in terms of turf plating. See misc.dm
An override for cases where the light is not facing the same direction as the object.
(FLOAT) Theoretical maximum health value.
(BITFLAG) See flags.dm
The chemical contents of this atom
(BOOL) If an atom should be interacted with by a number of systems (Atmos, Liquids, Turbolifts, Etc.)
(DATUM) /datum/storage instance to use for this obj. Set to a type for instantiation on init.
What is this atom's current temperature?
(BOOL) Does this atom respond to changes in local temperature via the temperature
var?
(BOOL) If a thrown object can continue past this atom. Sometimes used for clicking as well? TODO: Rework this
(FLOAT) If greater than zero, transform-based adjustments (scaling, rotating) will visually occur over this time.
(BOOL) If this atom was bloodied before.
Handle an atom bumping this atom
Called by AMs
Bump()
AM
: The atom that bumped usCheck if an atom can exit this atom's turf.
+Check if an atom can exit this atom's turf.
mover
: The atom trying to movetarget
: The turf the atom is trying to move toTRUE
if it can exit, otherwise FALSE
Movement Handling
Exited Handling
Handle an atom entering this atom's proximity
+Movement Handling
Exited Handling
Handle an atom entering this atom's proximity
Called when an atom enters this atom's proximity. Both this and the other atom need to have the MOVABLE_FLAG_PROXMOVE flag (as it helps reduce lag).
AM
: The atom entering proximityTRUE
if proximity should continue to be handled, otherwise FALSE
handle_proximity
Name Set Handling
Attempt to add blood to this atom
+Name Set Handling
Attempt to add blood to this atom
If a mob is provided, their blood will be used
M?
: The mob whose blood will be usedGet the level of invisible sight this atom should provide to a user
Get sight flags that this atom should provide to a user
+Get the level of invisible sight this atom should provide to a user
Get sight flags that this atom should provide to a user
Attempt to merge a gas_mixture giver
into this atom's gas_mixture
Attempt to merge a gas_mixture giver
into this atom's gas_mixture
TRUE
if successful, otherwise FALSE
Show a message to all mobs and objects in earshot of this atom
+Show a message to all mobs and objects in earshot of this atom
Used for atoms performing audible actions
message
: The string to show to anyone who can hear this atomhearing_distance?
: The number of tiles away the message can be heard. Defaults to world.viewcheck_ghosts?
: TRUE if ghosts should hear the message if their preferences allowradio_message?
: The string to send over radiosHandle a projectile P
hitting this atom
Handle a projectile P
hitting this atom
P
: The /obj/item/projectile
hitting this atomdef_zone
: The zone P
is hitting0 to 100+
, representing the % damage blocked. Can also be special PROJECTILE values (misc.dm)This is whether it's physically possible to pour from this atom to the target atom, based on context like user intent and src being open, etc. +
This is whether it's physically possible to pour from this atom to the target atom, based on context like user intent and src being open, etc. This should not check things like whether there is actually anything in src to pour. -It should also not check anything controlled by the target atom, because can_be_poured_into() already exists.
Check if a user can climb this atom.
+It should also not check anything controlled by the target atom, because can_be_poured_into() already exists.Check if a user can climb this atom.
user
: The mob to checkpost_climb_check?
: If we should check if the user can continue climbingTRUE
if they can climb, otherwise FALSE
Get the flags that should be added to the users
sight var.
Get the flags that should be added to the users
sight var.
-1
if the view should be resetCheck if this atom can be passed by another given the flags provided
+Check if this atom can be passed by another given the flags provided
pass_flag
: The flags to check. See: flags.dm0
Remove any blood from this atom
+Remove any blood from this atom
TRUE
if blood with DNA was removedHandle user
climbing onto this atom.
Handle user
climbing onto this atom.
user
: The mob climbing onto this atom.TRUE
if the user successfully climbs onto this atom, otherwise FALSE
.Dump the contents of this atom onto its loc
Handle a user
attempting to emag this atom
Dump the contents of this atom onto its loc
Handle a user
attempting to emag this atom
remaining_charges
: Used for nothing TODO: Fix thisuser
: The user attempting to emag this atomemag_source
: The source of the emagHandle an EMP affecting this atom
+Handle an EMP affecting this atom
severity
: Strength of the explosion ranging from 1 to 3. Higher is weakerHandle an explosion of severity
affecting this atom
Handle an explosion of severity
affecting this atom
severity
: Strength of the explosion ranging from 1 to 3. Higher is weakerTRUE
if severity is within range and exploding should continue, otherwise FALSE
Handle this atom being exposed to fire
+Handle this atom being exposed to fire
air
: The gas_mixture for this locexposed_temperature
: The temperature of the airexposed_volume
: The volume of the airAssisting procs
Get a list of alt interactions for a user from this atom.
+Assisting procs
Get a list of alt interactions for a user from this atom.
user
: The mob that these alt interactions are forReturns the 'ambient temperature' used for temperature equalisation.
Returns the coefficient used for ambient temperature equalisation. -Mainly used to prevent vacuum from cooling down objects.
Get any power cell associated with this atom.
Get the current color of this atom.
Return a list of all simulated atoms inside this one.
Returns the sum of this atoms's reagents plus the combined matter of all its contents. +
Returns the 'ambient temperature' used for temperature equalisation.
Returns the coefficient used for ambient temperature equalisation. +Mainly used to prevent vacuum from cooling down objects.
Get any power cell associated with this atom.
Get the current color of this atom.
Return a list of all simulated atoms inside this one.
Returns the sum of this atoms's reagents plus the combined matter of all its contents. Obj adds matter contents. Other overrides may add extra handling for things like material storage. -Most useful for calculating worth or deconstructing something along with its contents.
Get the temperature of this atom's heat source
Get any radio associated with this atom.
+Most useful for calculating worth or deconstructing something along with its contents.Get the temperature of this atom's heat source
Get any radio associated with this atom.
Used for handle_message_mode or other radio-based logic.
message_mode?
: Used to determine what subset of radio should be returned (ie. intercoms or ear radios)message_mode
.Get the first loc of the specified loc_type
from walking up the loc tree of this atom.
Handle this atom being hit by a grab.
+Get the first loc of the specified loc_type
from walking up the loc tree of this atom.
Handle this atom being hit by a grab.
Called by resolve_attackby()
G
: The grab hitting this atomTRUE
to skip attackby() and afterattack() or FALSE
Handle this atom being destroyed through melting
Handle this atom being hit by a thrown atom
+Handle this atom being destroyed through melting
Handle this atom being hit by a thrown atom
AM
: The atom hitting this atomTT
: A datum wrapper for a thrown atom, containing important infoCheck if this atom is in the path or atom container
Check if this atom is in the path or atom container
container
: The path or atom to checkTRUE
if container
contains this atom, otherwise FALSE
Check if this atom is a source of fire
Handle this atom being exposed to lava. Calls qdel() by default
+Check if this atom is a source of fire
Handle this atom being exposed to lava. Calls qdel() by default
TRUE
if qdel() was called, otherwise FALSE
Merge an exhaled air volume into air contents..
Adjust variables prior to Initialize() based on the map
+Merge an exhaled air volume into air contents..
Adjust variables prior to Initialize() based on the map
Called by the maploader to perform static modifications to vars set on the map. Intended use case: Adjust tag vars on duplicate templates (such as airlock tags).
map_hash
: A unique string for a map (usually using sequential_id)Shake this atom and all its climbers.
Handle dropping an atom onto this atom.
+Shake this atom and all its climbers.
Handle dropping an atom onto this atom.
If the item should move into this atom, return null. Otherwise, return the destination atom where the item should be moved.
AM
: The atom being dropped onto this atomUpdate this atom's icon.
-Usually queue_icon_update() or update_icon() should be used instead.
Handle the destruction of this atom, spilling its contents by default
+Update this atom's icon.
+Usually queue_icon_update() or update_icon() should be used instead.
Handle the destruction of this atom, spilling its contents by default
skip_qdel
: If calling qdel() on this atom should be skipped.Relay movement to this atom.
+Relay movement to this atom.
Called by mobs, such as when the mob is inside the atom, their buckled var is set to this, or this atom is set as their machine.
Attempt to remove amount
moles from this atom's gas_mixture
Attempt to remove amount
moles from this atom's gas_mixture
/datum/gas_mixture
containing the gas removed if successful, otherwise null
Get the air of this atom or its location's air
+Get the air of this atom or its location's air
/datum/gas_mixture
of this atomReveal any blood on the item and update its color to that of luminol
Recursively search this atom's contents for an atom of type path
Reveal any blood on the item and update its color to that of luminol
Recursively search this atom's contents for an atom of type path
path
: The path of the atom to search forfilter_path?
: A list of atom paths that only should be searched, or null
to search allpath
found inside this atomSet the density of this atom to new_density
Set the density of this atom to new_density
density_set
(only if density actually changed)Set the direction of this atom to new_dir
Set the direction of this atom to new_dir
new_dir
: The new direction the atom should face.TRUE
if the direction has been changed.dir_set
Set the icon to new_icon
Set the icon_state to new_icon_state
Invisibility Set Handling
Set the rotation of this atom's transform
+Set the icon to new_icon
Set the icon_state to new_icon_state
Invisibility Set Handling
Set the rotation of this atom's transform
new_rotation
: The angle in degrees the transform will be rotated clockwiseSet the scale of this atom's transform.
+Set the scale of this atom's transform.
new_scale_x
: The multiplier to apply to the X axisnew_scale_y
: The multiplier to apply to the Y axisAttempt to detonate the reagents contained in this atom
+Attempt to detonate the reagents contained in this atom
severity
: Strength of the explosion ranging from 1 to 3. Higher is weakerHandle reagents being modified
Check if this atom's turf is blocked.
+Handle reagents being modified
Check if this atom's turf is blocked.
This doesn't handle border structures and should be preceded by an Adjacent() check.
ignore?
: An atom that should be ignored by the check.Update this atom's icon.
+Update this atom's icon.
updated_icon
Update this atom's transform from stored values.
+Update this atom's transform from stored values.
Applies icon_scale and icon_rotation. When transform_animate_time is set, the transform is animated over the specified duration. Otherwise, it is applied instantly.
/matrix
after updates are appliedShow a message to all mobs and objects in sight of this atom.
+Show a message to all mobs and objects in sight of this atom.
Used for atoms performing visible actions
message
: The string output to any atom that can see this atomblind_message?
: The string blind mobs will see. Example: "You hear something!"range?
: The number of tiles away the message will be visible from. Default: world.viewcheck_ghosts?
: Set to TRUE
if ghosts should see the message if their preferences allowVirtual Mob Creation
Vars | |
bound_overlay | The mimic (if any) that's directly copying us. |
---|---|
z_flags | Movable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags. |
Procs | |
animate_filter | Animate a given filter on this atom. All params after the first are passed to animate(). |
can_do_automated_move | Generalized entrypoint for checking CanMove and such on /mob. |
dropInto | Attempt to drop this atom onto the destination. |
failed_automove | Called by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove. |
finished_automove | Called when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()). |
get_acceptable_automove_distance_from_target | Used by some mobs to vary the acceptable distance from target when automoving. |
get_automove_target | Should return a reference to the current atom target. |
keybind_face_direction | A wrapper for setDir that should only be able to fail by living mobs. |
start_automove | Registers an atom with SSautomove, including a move handler and metadata. Moving will begin next tick. |
stop_automove | Cancels automoving and unregisters the atom from the subsystem, including the current processing run. |
wrapping_paper_needed_to_wrap | Returns the amount of sheets of wrapping paper that the given object would need to be wrapped. |
The mimic (if any) that's directly copying us.
Movable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags.
Animate a given filter on this atom. All params after the first are passed to animate().
Generalized entrypoint for checking CanMove and such on /mob.
Attempt to drop this atom onto the destination.
+Virtual Mob Creation
Vars | |
bound_overlay | The mimic (if any) that's directly copying us. |
---|---|
z_flags | Movable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags. |
Procs | |
animate_filter | Animate a given filter on this atom. All params after the first are passed to animate(). |
can_do_automated_move | Generalized entrypoint for checking CanMove and such on /mob. |
dropInto | Attempt to drop this atom onto the destination. |
failed_automove | Called by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove. |
finished_automove | Called when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()). |
get_acceptable_automove_distance_from_target | Used by some mobs to vary the acceptable distance from target when automoving. |
get_automove_target | Should return a reference to the current atom target. |
keybind_face_direction | A wrapper for setDir that should only be able to fail by living mobs. |
start_automove | Registers an atom with SSautomove, including a move handler and metadata. Moving will begin next tick. |
stop_automove | Cancels automoving and unregisters the atom from the subsystem, including the current processing run. |
wrapping_paper_needed_to_wrap | Returns the amount of sheets of wrapping paper that the given object would need to be wrapped. |
The mimic (if any) that's directly copying us.
Movable-level Z-Mimic flags. This uses ZMM_* flags, not ZM_* flags.
Animate a given filter on this atom. All params after the first are passed to animate().
Generalized entrypoint for checking CanMove and such on /mob.
Attempt to drop this atom onto the destination.
The destination can instead return another location, recursively chaining.
destination
: The atom that this atom is dropped onto.Called by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove.
Called when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()).
Used by some mobs to vary the acceptable distance from target when automoving.
Should return a reference to the current atom target.
A wrapper for setDir that should only be able to fail by living mobs.
-Called from [/atom/movable/proc/keyLoop], this exists to be overwritten by living mobs with a check to see if we're actually alive enough to change directions
Registers an atom with SSautomove, including a move handler and metadata. Moving will begin next tick.
Cancels automoving and unregisters the atom from the subsystem, including the current processing run.
Returns the amount of sheets of wrapping paper that the given object would need to be wrapped.
Called by SSautomove when an atom fails to move in circumstances where it would like to. As with finished_automove, does not imply unregistering from SSautomove.
Called when an atom is within the acceptable parameters for not moving further (ideal range). Does not necessarily imply the atom has unregistered (see stop_automove()).
Used by some mobs to vary the acceptable distance from target when automoving.
Should return a reference to the current atom target.
A wrapper for setDir that should only be able to fail by living mobs.
+Called from [/atom/movable/proc/keyLoop], this exists to be overwritten by living mobs with a check to see if we're actually alive enough to change directions
Registers an atom with SSautomove, including a move handler and metadata. Moving will begin next tick.
Cancels automoving and unregisters the atom from the subsystem, including the current processing run.
Returns the amount of sheets of wrapping paper that the given object would need to be wrapped.
Vars | |||||||||||||||||||||||||||||||||
key_combos_held | A buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: "key" -> "combo" (ex: "D" -> "CtrlD" ) | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
keys_held | A buffer of currently held keys. | ||||||||||||||||||||||||||||||||
last_move_dir_pressed | Movement dir of the most recently pressed movement key. Used in cardinal-only movement mode. | ||||||||||||||||||||||||||||||||
movement_keys | Custom movement keys for this client | ||||||||||||||||||||||||||||||||
movement_locked | Are we locking our movement input? | ||||||||||||||||||||||||||||||||
next_move_dir_add | On next move, add this dir to the move that would otherwise be done | ||||||||||||||||||||||||||||||||
next_move_dir_sub | On next move, subtract this dir from the move that would otherwise be done | ||||||||||||||||||||||||||||||||
tooltips | datum that controls the displaying and hiding of tooltips | ||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||
callproc | VERBS | ||||||||||||||||||||||||||||||||
nanoclose | Called when a Nano UI window is closed
+client
Var Detailskey_combos_heldA buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: keys_heldA buffer of currently held keys. last_move_dir_pressedMovement dir of the most recently pressed movement key. Used in cardinal-only movement mode. movement_keysCustom movement keys for this client movement_lockedAre we locking our movement input? next_move_dir_addOn next move, add this dir to the move that would otherwise be done next_move_dir_subOn next move, subtract this dir from the move that would otherwise be done tooltipsdatum that controls the displaying and hiding of tooltips Proc DetailscallprocVERBS nanocloseCalled when a Nano UI window is closed +Feel free to remove it once the bug is confirmed to be fixed. | ||||||||||||||||||||||||||||||||
update_special_keybinds | Updates the keybinds for special keys | ||||||||||||||||||||||||||||||||
windowclose | the on-close client verb |
A buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: "key"
-> "combo"
(ex: "D"
-> "CtrlD"
)
A buffer of currently held keys.
Movement dir of the most recently pressed movement key. Used in cardinal-only movement mode.
Custom movement keys for this client
Are we locking our movement input?
On next move, add this dir to the move that would otherwise be done
On next move, subtract this dir from the move that would otherwise be done
datum that controls the displaying and hiding of tooltips
VERBS
Called when a Nano UI window is closed This is how Nano handles closed windows It must be a verb so that it can be called using winset
-@return nothing
Manually clears any held keys, in case due to lag or other undefined behavior a key gets stuck.
-Hardcoded to the ESC key.
A "panic button" verb to close all UIs on current mob. +
@return nothing
Manually clears any held keys, in case due to lag or other undefined behavior a key gets stuck.
+Hardcoded to the ESC key.
A "panic button" verb to close all UIs on current mob. Use it when the bug with UI not opening (because the server still considers it open despite it being closed on client) pops up. Feel free to remove it once the bug is confirmed to be fixed.
-@return nothing
Updates the keybinds for special keys
+@return nothing
Updates the keybinds for special keys
Handles adding macros for the keys that need it And adding movement keys to the clients movement_keys list At the time of writing this, communication(OOC, LOOC, Say, Me) require macros Arguments:
the on-close client verb
+the on-close client verb
called when a browser popup window is closed after registering with proc/onclose() if a valid atom reference is supplied, call the atom's Topic() with "close=1" -otherwise, just reset the client mob's machine var.
/datum/priority_queue | An automatically ordered list, using the cmp proc to weight the list items |
---|
/datum/priority_queue | An automatically ordered list, using the cmp proc to weight the list items |
---|
DPC_FORBID_FLAGS | These are the flags forbidden when putting zero-wait timers on SSdpc instead of SStimer. |
---|---|
UDPC_FORBID_FLAGS | These are the flags forbidden when putting zero-wait TIMER_UNIQUE timers on SSdpc instead of SStimer. |
addtimer | Create a new timer and add it to the queue. |
These are the flags forbidden when putting zero-wait timers on SSdpc instead of SStimer.
These are the flags forbidden when putting zero-wait TIMER_UNIQUE timers on SSdpc instead of SStimer.
Create a new timer and add it to the queue.
+DPC_FORBID_FLAGS | These are the flags forbidden when putting zero-wait timers on SSdpc instead of SStimer. |
---|---|
UDPC_FORBID_FLAGS | These are the flags forbidden when putting zero-wait TIMER_UNIQUE timers on SSdpc instead of SStimer. |
addtimer | Create a new timer and add it to the queue. |
These are the flags forbidden when putting zero-wait timers on SSdpc instead of SStimer.
These are the flags forbidden when putting zero-wait TIMER_UNIQUE timers on SSdpc instead of SStimer.
Create a new timer and add it to the queue.
ZONE_MIN_SIZE | Zones with less than this many turfs will always merge, even if the connection is not direct. |
---|
Zones with less than this many turfs will always merge, even if the connection is not direct.
ZONE_MIN_SIZE | Zones with less than this many turfs will always merge, even if the connection is not direct. |
---|
Zones with less than this many turfs will always merge, even if the connection is not direct.
EMPTY_BLOCK_GUARD | A null statement to guard against EmptyBlock lint without necessitating the use of pass() -Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places. |
---|
A null statement to guard against EmptyBlock lint without necessitating the use of pass() -Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places.
EMPTY_BLOCK_GUARD | A null statement to guard against EmptyBlock lint without necessitating the use of pass() +Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places. |
---|
A null statement to guard against EmptyBlock lint without necessitating the use of pass() +Used to avoid proc-call overhead. But use sparingly. Probably pointless in most places.
MAPTICK_MC_MIN_RESERVE | Percentage of tick to leave for master controller to run |
---|---|
TICK_BYOND_RESERVE | Tick limit while running normally |
TICK_LIMIT_TO_RUN | Tick limit used to resume things in stoplag |
TICK_LIMIT_MC | Tick limit for MC while running |
TICK_LIMIT_MC_INIT_DEFAULT | Tick limit while initializing |
TICK_USAGE | for general usage of tick_usage |
TICK_CHECK | Returns true if tick_usage is above the limit |
CHECK_TICK | runs stoplag if tick_usage is above the limit |
runs stoplag if tick_usage is above the limit
Percentage of tick to leave for master controller to run
Tick limit while running normally
Returns true if tick_usage is above the limit
Tick limit for MC while running
Tick limit while initializing
Tick limit used to resume things in stoplag
for general usage of tick_usage
MAPTICK_MC_MIN_RESERVE | Percentage of tick to leave for master controller to run |
---|---|
TICK_BYOND_RESERVE | Tick limit while running normally |
TICK_LIMIT_TO_RUN | Tick limit used to resume things in stoplag |
TICK_LIMIT_MC | Tick limit for MC while running |
TICK_LIMIT_MC_INIT_DEFAULT | Tick limit while initializing |
TICK_USAGE | for general usage of tick_usage |
TICK_CHECK | Returns true if tick_usage is above the limit |
CHECK_TICK | runs stoplag if tick_usage is above the limit |
runs stoplag if tick_usage is above the limit
Percentage of tick to leave for master controller to run
Tick limit while running normally
Returns true if tick_usage is above the limit
Tick limit for MC while running
Tick limit while initializing
Tick limit used to resume things in stoplag
for general usage of tick_usage
MAX_KEYPRESS_COMMANDLENGTH | Max length of a keypress command before it's considered to be a forged packet/bogus command |
---|---|
MAX_COMMANDS_PER_KEY | Maximum keys that can be bound to one button |
MAX_KEYS_PER_KEYBIND | Maximum keys per keybind |
HELD_KEY_BUFFER_LENGTH | Length of held key buffer |
Length of held key buffer
Maximum keys that can be bound to one button
Max length of a keypress command before it's considered to be a forged packet/bogus command
Maximum keys per keybind
MAX_KEYPRESS_COMMANDLENGTH | Max length of a keypress command before it's considered to be a forged packet/bogus command |
---|---|
MAX_COMMANDS_PER_KEY | Maximum keys that can be bound to one button |
MAX_KEYS_PER_KEYBIND | Maximum keys per keybind |
HELD_KEY_BUFFER_LENGTH | Length of held key buffer |
Length of held key buffer
Maximum keys that can be bound to one button
Max length of a keypress command before it's considered to be a forged packet/bogus command
Maximum keys per keybind
ARMOR_PIERCING_BYPASSED | Armor piercing value that will bypass any armors completely |
---|
Armor piercing value that will bypass any armors completely
ARMOR_PIERCING_BYPASSED | Armor piercing value that will bypass any armors completely |
---|
Armor piercing value that will bypass any armors completely
BODY_FLAG_NO_DNA | Does not create DNA. Replaces SPECIES_FLAG_NO_SCAN. |
---|---|
BODY_FLAG_NO_PAIN | Cannot suffer halloss/recieves deceptive health indicator. |
BODY_FLAG_NO_EAT | Cannot eat food/drink drinks even if a stomach organ is present. |
BODY_FLAG_CRYSTAL_REFORM | Can regenerate missing limbs from mineral baths. |
BODY_FLAG_NO_STASIS | Does not experience stasis effects (sleeper, cryo) |
BODY_FLAG_NO_DEFIB | Cannot be revived with a defibrilator. |
Can regenerate missing limbs from mineral baths.
Cannot be revived with a defibrilator.
Does not create DNA. Replaces SPECIES_FLAG_NO_SCAN.
Cannot eat food/drink drinks even if a stomach organ is present.
Cannot suffer halloss/recieves deceptive health indicator.
Does not experience stasis effects (sleeper, cryo)
BODY_FLAG_NO_DNA | Does not create DNA. Replaces SPECIES_FLAG_NO_SCAN. |
---|---|
BODY_FLAG_NO_PAIN | Cannot suffer halloss/recieves deceptive health indicator. |
BODY_FLAG_NO_EAT | Cannot eat food/drink drinks even if a stomach organ is present. |
BODY_FLAG_CRYSTAL_REFORM | Can regenerate missing limbs from mineral baths. |
BODY_FLAG_NO_STASIS | Does not experience stasis effects (sleeper, cryo) |
BODY_FLAG_NO_DEFIB | Cannot be revived with a defibrilator. |
Can regenerate missing limbs from mineral baths.
Cannot be revived with a defibrilator.
Does not create DNA. Replaces SPECIES_FLAG_NO_SCAN.
Cannot eat food/drink drinks even if a stomach organ is present.
Cannot suffer halloss/recieves deceptive health indicator.
Does not experience stasis effects (sleeper, cryo)
CE_STABLE | Stabilizing brain, pulse and breathing |
---|---|
CE_ANTIBIOTIC | Spaceacilin |
CE_BLOODRESTORE | Iron/nutriment |
CE_PAINKILLER | Reduces the impact of shock/pain |
CE_ALCOHOL | Liver filtering |
CE_ALCOHOL_TOXIC | Liver damage |
CE_SPEEDBOOST | Stimulants |
CE_SLOWDOWN | Slowdown |
CE_PULSE | increases or decreases heart rate |
CE_NOPULSE | stops heartbeat |
CE_ANTITOX | Removes toxins |
CE_OXYGENATED | Helps oxygenate the brain. |
CE_BRAIN_REGEN | Allows the brain to recover after injury |
CE_TOXIN | Generic toxins, stops autoheal. |
CE_BREATHLOSS | Breathing depression, makes you need more air |
CE_MIND | Stabilizes or wrecks mind. Used for hallucinations |
CE_CRYO | Prevents damage from being frozen |
CE_BLOCKAGE | Gets in the way of blood circulation, higher the worse |
CE_SQUEAKY | Helium voice. Squeak squeak. |
CE_THIRDEYE | Gives xray vision. |
CE_SEDATE | Applies sedation effects, i.e. paralysis, inability to use items, etc. |
CE_ENERGETIC | Speeds up stamina recovery. |
CE_VOICELOSS | Lowers the subject's voice to a whisper |
CE_GLOWINGEYES | Causes eyes to glow. |
CE_REGEN_BRUTE | Causes brute damage to regenerate. |
CE_REGEN_BURN | Causes burn damage to regenerate. |
CE_ALLERGEN | Anaphylaxis etc. |
Liver filtering
Liver damage
Anaphylaxis etc.
Spaceacilin
Removes toxins
Gets in the way of blood circulation, higher the worse
Iron/nutriment
Allows the brain to recover after injury
Breathing depression, makes you need more air
Prevents damage from being frozen
Speeds up stamina recovery.
Causes eyes to glow.
Stabilizes or wrecks mind. Used for hallucinations
stops heartbeat
Helps oxygenate the brain.
Reduces the impact of shock/pain
increases or decreases heart rate
Causes brute damage to regenerate.
Causes burn damage to regenerate.
Applies sedation effects, i.e. paralysis, inability to use items, etc.
Slowdown
Stimulants
Helium voice. Squeak squeak.
Stabilizing brain, pulse and breathing
Gives xray vision.
Generic toxins, stops autoheal.
Lowers the subject's voice to a whisper
CE_STABLE | Stabilizing brain, pulse and breathing |
---|---|
CE_ANTIBIOTIC | Spaceacilin |
CE_BLOODRESTORE | Iron/nutriment |
CE_PAINKILLER | Reduces the impact of shock/pain |
CE_ALCOHOL | Liver filtering |
CE_ALCOHOL_TOXIC | Liver damage |
CE_SPEEDBOOST | Stimulants |
CE_SLOWDOWN | Slowdown |
CE_PULSE | increases or decreases heart rate |
CE_NOPULSE | stops heartbeat |
CE_ANTITOX | Removes toxins |
CE_OXYGENATED | Helps oxygenate the brain. |
CE_BRAIN_REGEN | Allows the brain to recover after injury |
CE_TOXIN | Generic toxins, stops autoheal. |
CE_BREATHLOSS | Breathing depression, makes you need more air |
CE_MIND | Stabilizes or wrecks mind. Used for hallucinations |
CE_CRYO | Prevents damage from being frozen |
CE_BLOCKAGE | Gets in the way of blood circulation, higher the worse |
CE_SQUEAKY | Helium voice. Squeak squeak. |
CE_THIRDEYE | Gives xray vision. |
CE_SEDATE | Applies sedation effects, i.e. paralysis, inability to use items, etc. |
CE_ENERGETIC | Speeds up stamina recovery. |
CE_VOICELOSS | Lowers the subject's voice to a whisper |
CE_GLOWINGEYES | Causes eyes to glow. |
CE_REGEN_BRUTE | Causes brute damage to regenerate. |
CE_REGEN_BURN | Causes burn damage to regenerate. |
CE_ALLERGEN | Anaphylaxis etc. |
Liver filtering
Liver damage
Anaphylaxis etc.
Spaceacilin
Removes toxins
Gets in the way of blood circulation, higher the worse
Iron/nutriment
Allows the brain to recover after injury
Breathing depression, makes you need more air
Prevents damage from being frozen
Speeds up stamina recovery.
Causes eyes to glow.
Stabilizes or wrecks mind. Used for hallucinations
stops heartbeat
Helps oxygenate the brain.
Reduces the impact of shock/pain
increases or decreases heart rate
Causes brute damage to regenerate.
Causes burn damage to regenerate.
Applies sedation effects, i.e. paralysis, inability to use items, etc.
Slowdown
Stimulants
Helium voice. Squeak squeak.
Stabilizing brain, pulse and breathing
Gives xray vision.
Generic toxins, stops autoheal.
Lowers the subject's voice to a whisper
HEALTH_ROUNDING | The decimal precision for health values. Health will be rounded against this value. |
---|
The decimal precision for health values. Health will be rounded against this value.
HEALTH_ROUNDING | The decimal precision for health values. Health will be rounded against this value. |
---|
The decimal precision for health values. Health will be rounded against this value.
ORGAN_CATEGORY_STANCE | Limb contributes only to stance damage calculation (foot) |
---|---|
ORGAN_CATEGORY_STANCE_ROOT | Limb is considered the 'root' of a given stance limb (leg) - also counted for stance damage a la ORGAN_CATEGORY_STANCE |
Limb contributes only to stance damage calculation (foot)
Limb is considered the 'root' of a given stance limb (leg) - also counted for stance damage a la ORGAN_CATEGORY_STANCE
ORGAN_CATEGORY_STANCE | Limb contributes only to stance damage calculation (foot) |
---|---|
ORGAN_CATEGORY_STANCE_ROOT | Limb is considered the 'root' of a given stance limb (leg) - also counted for stance damage a la ORGAN_CATEGORY_STANCE |
Limb contributes only to stance damage calculation (foot)
Limb is considered the 'root' of a given stance limb (leg) - also counted for stance damage a la ORGAN_CATEGORY_STANCE
DEFINE_POSTER | Define a poster's decl and its mapper type |
---|
Define a poster's decl and its mapper type
DEFINE_POSTER | Define a poster's decl and its mapper type |
---|
Define a poster's decl and its mapper type
GHOSTCAST | WIZARD |
---|
WIZARD
GHOSTCAST | WIZARD |
---|
WIZARD
INTERACTION_NEEDS_ADJACENCY | This interaction requires the user to be adjacent to the target. |
---|---|
INTERACTION_NEEDS_PHYSICAL_INTERACTION | This interaction requires the user to pass a physical interaction check. |
INTERACTION_NEEDS_TURF | This interaction requires the target to be on a turf |
INTERACTION_NEEDS_INVENTORY | This interaction requires the target to be in the user's inventory. |
INTERACTION_NEVER_AUTOMATIC | This interaction will always prompt for a selection from the user, even if it is the only available interaction. |
This interaction requires the user to be adjacent to the target.
This interaction requires the target to be in the user's inventory.
This interaction requires the user to pass a physical interaction check.
This interaction requires the target to be on a turf
This interaction will always prompt for a selection from the user, even if it is the only available interaction.
INTERACTION_NEEDS_ADJACENCY | This interaction requires the user to be adjacent to the target. |
---|---|
INTERACTION_NEEDS_PHYSICAL_INTERACTION | This interaction requires the user to pass a physical interaction check. |
INTERACTION_NEEDS_TURF | This interaction requires the target to be on a turf |
INTERACTION_NEEDS_INVENTORY | This interaction requires the target to be in the user's inventory. |
INTERACTION_NEVER_AUTOMATIC | This interaction will always prompt for a selection from the user, even if it is the only available interaction. |
This interaction requires the user to be adjacent to the target.
This interaction requires the target to be in the user's inventory.
This interaction requires the user to pass a physical interaction check.
This interaction requires the target to be on a turf
This interaction will always prompt for a selection from the user, even if it is the only available interaction.
COMPARE_KEY | Passed into BINARY_INSERT to compare keys | ||||||
---|---|---|---|---|---|---|---|
COMPARE_VALUE | Passed into BINARY_INSERT to compare values | ||||||
BINARY_INSERT | Binary search sorted insert
+code/__defines/lists.dm
Define DetailsBINARY_INSERTBinary search sorted insert +COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE. |
Binary search sorted insert INPUT: Object to be inserted LIST: List to insert object into TYPECONT: The typepath of the contents of the list COMPARE: The object to compare against, usualy the same as INPUT COMPARISON: The variable on the objects to compare -COMPTYPE: How should the values be compared? Either COMPARE_KEY or COMPARE_VALUE.
Passed into BINARY_INSERT to compare keys
Passed into BINARY_INSERT to compare values
Passed into BINARY_INSERT to compare keys
Passed into BINARY_INSERT to compare values
\ No newline at end of file diff --git a/code/__defines/mapping.html b/code/__defines/mapping.html index a641ebafc45..2144bec3e29 100644 --- a/code/__defines/mapping.html +++ b/code/__defines/mapping.html @@ -1 +1 @@ -MAP_TEMPLATE_CATEGORY_EXOPLANET | Map template categories for mass retrieval. |
---|---|
MAP_TECH_LEVEL_ANY | Used to filter out some crafting recipes. |
Used to filter out some crafting recipes.
Map template categories for mass retrieval.
MAP_TEMPLATE_CATEGORY_EXOPLANET | Map template categories for mass retrieval. |
---|---|
MAP_TECH_LEVEL_ANY | Used to filter out some crafting recipes. |
Used to filter out some crafting recipes.
Map template categories for mass retrieval.
TRANSITIONEDGE | Width or height of a transition edge area along the map's borders where transition edge turfs are placed to connect levels together. |
---|---|
LEVEL_EDGE_NONE | Enum value for a level edge that's to be untouched |
LEVEL_EDGE_LOOP | Enum value for a level edge that's to be looped with the opposite edge |
LEVEL_EDGE_WALL | Enum value for a level edge that's to be filled with a wall filler turfs |
LEVEL_EDGE_CON | Enum value for a level edge that's to be connected with another z-level |
num2hex | Returns the hex value of a number given a value assumed to be a base-ten value, padded to a minimum length of 2. |
num2hex_padded | Returns the hex value of a number given a value assumed to be a base-ten value, padded to a supplied minimum length. |
MOUSE_OPACITY_UNCLICKABLE | Causes the atom to ignore clicks, hovers, etc. |
MOUSE_OPACITY_NORMAL | Causes the atom to catch clicks, hovers, etc. |
MOUSE_OPACITY_PRIORITY | Causes the atom to catch clicks, hovers, etc, taking priority over NORMAL for a shared pointer target. |
EXCEPTION_TEXT | Formats exceptions into a readable string with all the details. |
FLUORESCENT_GLOWS | Glows when under flourescent light |
FLUORESCENT_GLOWING | Currently glowing due to flourescent light |
UTENSIL_FLAG_COLLECT | Solid or semi-solid food; chopsticks, forks. |
UTENSIL_FLAG_SCOOP | Soft, liquid or semi-liquid food; soups, stews, pudding. |
UTENSIL_FLAG_SLICE | Foods that need to be sliced before eating; steak, grapefruit. |
UTENSIL_FLAG_SPREAD | Unimplemented; condiments that are collected before being spread on other food. |
PROC_REF | Call by name proc references, checks if the proc exists on either this type or as a global proc. |
VERB_REF | Call by name verb references, checks if the verb exists on either this type or as a global verb. |
TYPE_PROC_REF | Call by name proc reference, checks if the proc exists on either the given type or as a global proc |
TYPE_VERB_REF | Call by name verb reference, checks if the verb exists on either the given type or as a global verb |
GLOBAL_PROC_REF | Call by name proc reference, checks if the proc is an existing global proc |
Formats exceptions into a readable string with all the details.
Currently glowing due to flourescent light
Glows when under flourescent light
Call by name proc reference, checks if the proc is an existing global proc
Enum value for a level edge that's to be connected with another z-level
Enum value for a level edge that's to be looped with the opposite edge
Enum value for a level edge that's to be untouched
Enum value for a level edge that's to be filled with a wall filler turfs
Causes the atom to catch clicks, hovers, etc.
Causes the atom to catch clicks, hovers, etc, taking priority over NORMAL for a shared pointer target.
Causes the atom to ignore clicks, hovers, etc.
Call by name proc references, checks if the proc exists on either this type or as a global proc.
Width or height of a transition edge area along the map's borders where transition edge turfs are placed to connect levels together.
Call by name proc reference, checks if the proc exists on either the given type or as a global proc
Call by name verb reference, checks if the verb exists on either the given type or as a global verb
Solid or semi-solid food; chopsticks, forks.
Soft, liquid or semi-liquid food; soups, stews, pudding.
Foods that need to be sliced before eating; steak, grapefruit.
Unimplemented; condiments that are collected before being spread on other food.
Call by name verb references, checks if the verb exists on either this type or as a global verb.
Returns the hex value of a number given a value assumed to be a base-ten value, padded to a minimum length of 2.
Returns the hex value of a number given a value assumed to be a base-ten value, padded to a supplied minimum length.
TRANSITIONEDGE | Width or height of a transition edge area along the map's borders where transition edge turfs are placed to connect levels together. |
---|---|
LEVEL_EDGE_NONE | Enum value for a level edge that's to be untouched |
LEVEL_EDGE_LOOP | Enum value for a level edge that's to be looped with the opposite edge |
LEVEL_EDGE_WALL | Enum value for a level edge that's to be filled with a wall filler turfs |
LEVEL_EDGE_CON | Enum value for a level edge that's to be connected with another z-level |
num2hex | Returns the hex value of a number given a value assumed to be a base-ten value, padded to a minimum length of 2. |
num2hex_padded | Returns the hex value of a number given a value assumed to be a base-ten value, padded to a supplied minimum length. |
MOUSE_OPACITY_UNCLICKABLE | Causes the atom to ignore clicks, hovers, etc. |
MOUSE_OPACITY_NORMAL | Causes the atom to catch clicks, hovers, etc. |
MOUSE_OPACITY_PRIORITY | Causes the atom to catch clicks, hovers, etc, taking priority over NORMAL for a shared pointer target. |
EXCEPTION_TEXT | Formats exceptions into a readable string with all the details. |
FLUORESCENT_GLOWS | Glows when under flourescent light |
FLUORESCENT_GLOWING | Currently glowing due to flourescent light |
UTENSIL_FLAG_COLLECT | Solid or semi-solid food; chopsticks, forks. |
UTENSIL_FLAG_SCOOP | Soft, liquid or semi-liquid food; soups, stews, pudding. |
UTENSIL_FLAG_SLICE | Foods that need to be sliced before eating; steak, grapefruit. |
UTENSIL_FLAG_SPREAD | Unimplemented; condiments that are collected before being spread on other food. |
PROC_REF | Call by name proc references, checks if the proc exists on either this type or as a global proc. |
VERB_REF | Call by name verb references, checks if the verb exists on either this type or as a global verb. |
TYPE_PROC_REF | Call by name proc reference, checks if the proc exists on either the given type or as a global proc |
TYPE_VERB_REF | Call by name verb reference, checks if the verb exists on either the given type or as a global verb |
GLOBAL_PROC_REF | Call by name proc reference, checks if the proc is an existing global proc |
Formats exceptions into a readable string with all the details.
Currently glowing due to flourescent light
Glows when under flourescent light
Call by name proc reference, checks if the proc is an existing global proc
Enum value for a level edge that's to be connected with another z-level
Enum value for a level edge that's to be looped with the opposite edge
Enum value for a level edge that's to be untouched
Enum value for a level edge that's to be filled with a wall filler turfs
Causes the atom to catch clicks, hovers, etc.
Causes the atom to catch clicks, hovers, etc, taking priority over NORMAL for a shared pointer target.
Causes the atom to ignore clicks, hovers, etc.
Call by name proc references, checks if the proc exists on either this type or as a global proc.
Width or height of a transition edge area along the map's borders where transition edge turfs are placed to connect levels together.
Call by name proc reference, checks if the proc exists on either the given type or as a global proc
Call by name verb reference, checks if the verb exists on either the given type or as a global verb
Solid or semi-solid food; chopsticks, forks.
Soft, liquid or semi-liquid food; soups, stews, pudding.
Foods that need to be sliced before eating; steak, grapefruit.
Unimplemented; condiments that are collected before being spread on other food.
Call by name verb references, checks if the verb exists on either this type or as a global verb.
Returns the hex value of a number given a value assumed to be a base-ten value, padded to a minimum length of 2.
Returns the hex value of a number given a value assumed to be a base-ten value, padded to a supplied minimum length.
PEN_FONT_DEFAULT | The default font for pen writing |
---|---|
PEN_FONT_SIGNATURE | The font for default pen signature |
PEN_FONT_CRAYON | The font for crayon writing |
PEN_FONT_FANCY_PEN | The font for fancy pen writing |
The font for crayon writing
The default font for pen writing
The font for fancy pen writing
The font for default pen signature
PEN_FONT_DEFAULT | The default font for pen writing |
---|---|
PEN_FONT_SIGNATURE | The font for default pen signature |
PEN_FONT_CRAYON | The font for crayon writing |
PEN_FONT_FANCY_PEN | The font for fancy pen writing |
The font for crayon writing
The default font for pen writing
The font for fancy pen writing
The font for default pen signature
SOUND_RANGE_ABS | Returns the extrarange parameter for the /proc/playsound if we want the sound range to be exactly the value of RANGE,
+code/__defines/sound.dm
Define DetailsSOUND_RANGE_ABSReturns the |
---|
Returns the extrarange
parameter for the /proc/playsound
if we want the sound range to be exactly the value of RANGE,
instead of being added up to the client's view range.
-Is more intuitive and maintainable to use than setting the parameter to a negative value.
SPAWN_FLAG_GHOSTS_CAN_SPAWN | Allows the spawn point to be used for observers spawning. |
---|---|
SPAWN_FLAG_PRISONERS_CAN_SPAWN | Allows admin prison releases to use this spawn point. |
SPAWN_FLAG_JOBS_CAN_SPAWN | Allows general job latejoining to use this spawn point. |
SPAWN_FLAG_PERSISTENCE_CAN_SPAWN | Allows persistence decls (currently just bookcases) to use this spawn point. |
Allows the spawn point to be used for observers spawning.
Allows general job latejoining to use this spawn point.
Allows persistence decls (currently just bookcases) to use this spawn point.
Allows admin prison releases to use this spawn point.
SPAWN_FLAG_GHOSTS_CAN_SPAWN | Allows the spawn point to be used for observers spawning. |
---|---|
SPAWN_FLAG_PRISONERS_CAN_SPAWN | Allows admin prison releases to use this spawn point. |
SPAWN_FLAG_JOBS_CAN_SPAWN | Allows general job latejoining to use this spawn point. |
SPAWN_FLAG_PERSISTENCE_CAN_SPAWN | Allows persistence decls (currently just bookcases) to use this spawn point. |
Allows the spawn point to be used for observers spawning.
Allows general job latejoining to use this spawn point.
Allows persistence decls (currently just bookcases) to use this spawn point.
Allows admin prison releases to use this spawn point.
RUNLEVELS_DEFAULT | default runlevels for most subsystems |
---|---|
RUNLEVELS_ALL | all valid runlevels - subsystems with this will run all the time after their MC init stage. |
all valid runlevels - subsystems with this will run all the time after their MC init stage.
default runlevels for most subsystems
RUNLEVELS_DEFAULT | default runlevels for most subsystems |
---|---|
RUNLEVELS_ALL | all valid runlevels - subsystems with this will run all the time after their MC init stage. |
all valid runlevels - subsystems with this will run all the time after their MC init stage.
default runlevels for most subsystems
TOOL_PROP_PEN_FONT | Property for pens returns the font the pen uses |
---|
Property for pens returns the font the pen uses
TOOL_PROP_PEN_FONT | Property for pens returns the font the pen uses |
---|
Property for pens returns the font the pen uses
WORLD_CENTER_X | Helper macro for the x coordinate of the turf at the center of the world. Handles rounding. |
---|---|
WORLD_CENTER_Y | Helper macro for the y coordinate of the turf at the center of the world. Handles rounding. |
WORLD_CENTER_TURF | Helper macro for getting the center turf on a given z-level. Handles rounding. |
IS_WITHIN_WORLD | Helper macro to check if a position is within the world's bounds. |
WORLD_SIZE_TO_STRING | Helper macro for printing to text the world's x,y,z size to a string. |
Helper macro to check if a position is within the world's bounds.
Helper macro for getting the center turf on a given z-level. Handles rounding.
Helper macro for the x coordinate of the turf at the center of the world. Handles rounding.
Helper macro for the y coordinate of the turf at the center of the world. Handles rounding.
Helper macro for printing to text the world's x,y,z size to a string.
WORLD_CENTER_X | Helper macro for the x coordinate of the turf at the center of the world. Handles rounding. |
---|---|
WORLD_CENTER_Y | Helper macro for the y coordinate of the turf at the center of the world. Handles rounding. |
WORLD_CENTER_TURF | Helper macro for getting the center turf on a given z-level. Handles rounding. |
IS_WITHIN_WORLD | Helper macro to check if a position is within the world's bounds. |
WORLD_SIZE_TO_STRING | Helper macro for printing to text the world's x,y,z size to a string. |
Helper macro to check if a position is within the world's bounds.
Helper macro for getting the center turf on a given z-level. Handles rounding.
Helper macro for the x coordinate of the turf at the center of the world. Handles rounding.
Helper macro for the y coordinate of the turf at the center of the world. Handles rounding.
Helper macro for printing to text the world's x,y,z size to a string.
MOVABLE_IS_BELOW_ZTURF | Is this movable visible from a turf that is mimicking below? Note: this does not necessarily mean directly below. |
---|---|
MOVABLE_IS_ON_ZTURF | Is this movable located on a turf that is mimicking below? Note: this does not necessarily mean directly on. |
ZM_MIMIC_BELOW | If this turf should mimic the turf on the Z below. |
ZM_MIMIC_OVERWRITE | If this turf is Z-mimicking, overwrite the turf's appearance instead of using a movable. This is faster, but means the turf cannot have its own appearance (say, edges or a translucent sprite). |
ZM_ALLOW_LIGHTING | If this turf should permit passage of lighting. |
ZM_ALLOW_ATMOS | If this turf permits passage of air. |
ZM_MIMIC_NO_AO | If the turf shouldn't apply regular turf AO and only do Z-mimic AO. |
ZM_NO_OCCLUDE | Don't occlude below atoms if we're a non-mimic z-turf. |
ZM_OVERRIDE | Copy only z_appearance or baseturf and bail, do not attempt to copy movables. This is significantly cheaper and allows you to override the mimic, but results in movables not being visible. |
ZM_NO_SHADOW | If this turf is being copied, hide the shadower. |
ZM_TERMINATOR | Consider this turf the terminus of a Z-group, like the bottom of a Z-group or a ZM_OVERRIDE turf. |
ZM_MIMIC_DEFAULTS | Common defaults for zturfs. |
ZMM_WIDE_LOAD | Atom is big and needs to scan one extra turf in both X and Y. This only extends the range by one turf. Cheap, but not free. |
ZMM_IGNORE | Do not copy this movable. |
ZMM_MANGLE_PLANES | Check this movable's overlays/underlays for explicit plane use and mangle for compatibility with Z-Mimic. If you're using emissive overlays, you probably should be using this flag. Expensive, only use if necessary. |
ZMM_LOOKAHEAD | Look one turf ahead and one turf back when considering z-turfs that might be seeing this atom. Cheap, but not free. |
ZMM_LOOKBESIDE | Look one turf beside (left/right) when considering z-turfs that might be seeing this atom. Cheap, but not free. |
Is this movable visible from a turf that is mimicking below? Note: this does not necessarily mean directly below.
Is this movable located on a turf that is mimicking below? Note: this does not necessarily mean directly on.
Do not copy this movable.
Look one turf ahead and one turf back when considering z-turfs that might be seeing this atom. Cheap, but not free.
Look one turf beside (left/right) when considering z-turfs that might be seeing this atom. Cheap, but not free.
Check this movable's overlays/underlays for explicit plane use and mangle for compatibility with Z-Mimic. If you're using emissive overlays, you probably should be using this flag. Expensive, only use if necessary.
Atom is big and needs to scan one extra turf in both X and Y. This only extends the range by one turf. Cheap, but not free.
If this turf permits passage of air.
If this turf should permit passage of lighting.
If this turf should mimic the turf on the Z below.
Common defaults for zturfs.
If the turf shouldn't apply regular turf AO and only do Z-mimic AO.
If this turf is Z-mimicking, overwrite the turf's appearance instead of using a movable. This is faster, but means the turf cannot have its own appearance (say, edges or a translucent sprite).
Don't occlude below atoms if we're a non-mimic z-turf.
If this turf is being copied, hide the shadower.
Copy only z_appearance or baseturf and bail, do not attempt to copy movables. This is significantly cheaper and allows you to override the mimic, but results in movables not being visible.
Consider this turf the terminus of a Z-group, like the bottom of a Z-group or a ZM_OVERRIDE turf.
MOVABLE_IS_BELOW_ZTURF | Is this movable visible from a turf that is mimicking below? Note: this does not necessarily mean directly below. |
---|---|
MOVABLE_IS_ON_ZTURF | Is this movable located on a turf that is mimicking below? Note: this does not necessarily mean directly on. |
ZM_MIMIC_BELOW | If this turf should mimic the turf on the Z below. |
ZM_MIMIC_OVERWRITE | If this turf is Z-mimicking, overwrite the turf's appearance instead of using a movable. This is faster, but means the turf cannot have its own appearance (say, edges or a translucent sprite). |
ZM_ALLOW_LIGHTING | If this turf should permit passage of lighting. |
ZM_ALLOW_ATMOS | If this turf permits passage of air. |
ZM_MIMIC_NO_AO | If the turf shouldn't apply regular turf AO and only do Z-mimic AO. |
ZM_NO_OCCLUDE | Don't occlude below atoms if we're a non-mimic z-turf. |
ZM_OVERRIDE | Copy only z_appearance or baseturf and bail, do not attempt to copy movables. This is significantly cheaper and allows you to override the mimic, but results in movables not being visible. |
ZM_NO_SHADOW | If this turf is being copied, hide the shadower. |
ZM_TERMINATOR | Consider this turf the terminus of a Z-group, like the bottom of a Z-group or a ZM_OVERRIDE turf. |
ZM_MIMIC_DEFAULTS | Common defaults for zturfs. |
ZMM_WIDE_LOAD | Atom is big and needs to scan one extra turf in both X and Y. This only extends the range by one turf. Cheap, but not free. |
ZMM_IGNORE | Do not copy this movable. |
ZMM_MANGLE_PLANES | Check this movable's overlays/underlays for explicit plane use and mangle for compatibility with Z-Mimic. If you're using emissive overlays, you probably should be using this flag. Expensive, only use if necessary. |
ZMM_LOOKAHEAD | Look one turf ahead and one turf back when considering z-turfs that might be seeing this atom. Cheap, but not free. |
ZMM_LOOKBESIDE | Look one turf beside (left/right) when considering z-turfs that might be seeing this atom. Cheap, but not free. |
Is this movable visible from a turf that is mimicking below? Note: this does not necessarily mean directly below.
Is this movable located on a turf that is mimicking below? Note: this does not necessarily mean directly on.
Do not copy this movable.
Look one turf ahead and one turf back when considering z-turfs that might be seeing this atom. Cheap, but not free.
Look one turf beside (left/right) when considering z-turfs that might be seeing this atom. Cheap, but not free.
Check this movable's overlays/underlays for explicit plane use and mangle for compatibility with Z-Mimic. If you're using emissive overlays, you probably should be using this flag. Expensive, only use if necessary.
Atom is big and needs to scan one extra turf in both X and Y. This only extends the range by one turf. Cheap, but not free.
If this turf permits passage of air.
If this turf should permit passage of lighting.
If this turf should mimic the turf on the Z below.
Common defaults for zturfs.
If the turf shouldn't apply regular turf AO and only do Z-mimic AO.
If this turf is Z-mimicking, overwrite the turf's appearance instead of using a movable. This is faster, but means the turf cannot have its own appearance (say, edges or a translucent sprite).
Don't occlude below atoms if we're a non-mimic z-turf.
If this turf is being copied, hide the shadower.
Copy only z_appearance or baseturf and bail, do not attempt to copy movables. This is significantly cheaper and allows you to override the mimic, but results in movables not being visible.
Consider this turf the terminus of a Z-group, like the bottom of a Z-group or a ZM_OVERRIDE turf.
/var/vowels | Vowels. |
---|---|
/var/alphabet | Alphabet a-z. |
/var/alphabet_capital | Alphabet A-Z. |
/var/numbers | Numbers 0-9. |
/var/vowels | Vowels. |
---|---|
/var/alphabet | Alphabet a-z. |
/var/alphabet_capital | Alphabet A-Z. |
/var/numbers | Numbers 0-9. |
/proc/get_surrounding_pressure_differential | Gets the highest and lowest pressures from the tiles in cardinal directions -around us, then checks the difference. |
---|
/proc/get_surrounding_pressure_differential | Gets the highest and lowest pressures from the tiles in cardinal directions +around us, then checks the difference. |
---|
/proc/gaussian | Converts a uniform distributed random number into a normal distributed one
+code/_helpers/gauss.dm
|
---|
/proc/get_mannequin | Initial Building |
---|
/proc/get_mannequin | Initial Building |
---|
/proc/create_area_image | Generate_image function generates image of specified range and location: |
---|
/proc/create_area_image | Generate_image function generates image of specified range and location: |
---|
DET_DEFINITE | the |
---|---|
DET_INDEFINITE | a, an, some |
/proc/listDeepClone | Deep copy/clone everything in the list, or reference things that cannot be cloned. Use with caution. -atom_refs_only: If true, the proc will only reference /atom subtypes, and will not clone them. |
/proc/is_dense_assoc | Is this a dense (all keys have non-null values) associative list with at least one entry? |
the
a, an, some
DET_DEFINITE | the |
---|---|
DET_INDEFINITE | a, an, some |
/proc/listDeepClone | Deep copy/clone everything in the list, or reference things that cannot be cloned. Use with caution. +atom_refs_only: If true, the proc will only reference /atom subtypes, and will not clone them. |
/proc/is_dense_assoc | Is this a dense (all keys have non-null values) associative list with at least one entry? |
the
a, an, some
/datum/decompose_matrix | Datum which stores information about a matrix decomposed with decompose(). |
---|---|
/proc/color_matrix_identity | Returns the matrix identity |
/proc/color_matrix_lightness | Adds/subtracts overall lightness |
/proc/color_matrix_saturation | Changes distance hues have from grey while maintaining the overall lightness. Greys are unaffected. |
/proc/color_matrix_contrast | Changes distance colors have from rgb(127,127,127) grey |
/proc/color_matrix_rotate_hue | Moves all colors angle degrees around the color wheel while maintaining intensity of the color and not affecting greys |
/proc/color_matrix_rotate_x | Rotates around the red axis |
/proc/color_matrix_rotate_y | Rotates around the green axis |
/proc/color_matrix_rotate_z | Rotates around the blue axis |
/proc/color_matrix_add | Returns a matrix addition of A with B |
/proc/color_matrix_multiply | Returns a matrix multiplication of A with B |
/proc/color_to_full_rgba_matrix | Converts RGB shorthands into RGBA matrices complete of constants rows (ergo a 20 keys list in byond). |
/datum/decompose_matrix | Datum which stores information about a matrix decomposed with decompose(). |
---|---|
/proc/color_matrix_identity | Returns the matrix identity |
/proc/color_matrix_lightness | Adds/subtracts overall lightness |
/proc/color_matrix_saturation | Changes distance hues have from grey while maintaining the overall lightness. Greys are unaffected. |
/proc/color_matrix_contrast | Changes distance colors have from rgb(127,127,127) grey |
/proc/color_matrix_rotate_hue | Moves all colors angle degrees around the color wheel while maintaining intensity of the color and not affecting greys |
/proc/color_matrix_rotate_x | Rotates around the red axis |
/proc/color_matrix_rotate_y | Rotates around the green axis |
/proc/color_matrix_rotate_z | Rotates around the blue axis |
/proc/color_matrix_add | Returns a matrix addition of A with B |
/proc/color_matrix_multiply | Returns a matrix multiplication of A with B |
/proc/color_to_full_rgba_matrix | Converts RGB shorthands into RGBA matrices complete of constants rows (ergo a 20 keys list in byond). |
/var/syndicate_code_phrase | Code phrase for traitors. |
---|---|
/var/syndicate_code_response | Code response for traitors. |
/var/syndicate_code_phrase | Code phrase for traitors. |
---|---|
/var/syndicate_code_response | Code response for traitors. |
SKYBOX_PLANET_RING_TYPE_SPARSE | A lightly populated planetary ring |
---|---|
SKYBOX_PLANET_RING_TYPE_DENSE | A densely populated planetary ring |
A densely populated planetary ring
A lightly populated planetary ring
SKYBOX_PLANET_RING_TYPE_SPARSE | A lightly populated planetary ring |
---|---|
SKYBOX_PLANET_RING_TYPE_DENSE | A densely populated planetary ring |
A densely populated planetary ring
A lightly populated planetary ring
SET_COST_STMT | A quick helper for running the code as a statement and profiling its cost.
-For example, SET_COST_STMT(var/x = do_work()) |
---|
A quick helper for running the code as a statement and profiling its cost.
-For example, SET_COST_STMT(var/x = do_work())
SET_COST_STMT | A quick helper for running the code as a statement and profiling its cost.
+For example, SET_COST_STMT(var/x = do_work()) |
---|
A quick helper for running the code as a statement and profiling its cost.
+For example, SET_COST_STMT(var/x = do_work())
strip_improper | Strip out the special beyond characters for \proper and \improper -from text that will be sent to the browser. |
---|---|
/proc/text_starts_with | Returns true if the text starts with the given sequence of characters. |
/proc/text_ends_with | Returns true if the text ends with the given sequence of characters. |
/proc/text_ends_with_any_of | Returns true if the text ends with ANY of the given sequences of characters. |
/var/plural_siblants | Siblants that should end with es |
/var/plural_vocalized_y | Vocalized y sounds that needs to end in -ies when made plural |
/var/plural_endings_in_ves | Plurals endings in -ves |
/var/plural_endings_with_doubled_letter | Plurals endings in -sses or -zzes |
/var/apophonic_plurals | Words that have a different plural form, and their plural form |
/var/english_loanwords | Used to tell how to make it a plural word and etc. |
/var/plural_words_unchanged | Words that stay the same in plural |
/proc/text_make_plural | Properly changes the given word (or the last word of the string) into a plural word. Applies a bunch of exceptions from the english language. |
Strip out the special beyond characters for \proper and \improper -from text that will be sent to the browser.
strip_improper | Strip out the special beyond characters for \proper and \improper +from text that will be sent to the browser. |
---|---|
/proc/text_starts_with | Returns true if the text starts with the given sequence of characters. |
/proc/text_ends_with | Returns true if the text ends with the given sequence of characters. |
/proc/text_ends_with_any_of | Returns true if the text ends with ANY of the given sequences of characters. |
/var/plural_siblants | Siblants that should end with es |
/var/plural_vocalized_y | Vocalized y sounds that needs to end in -ies when made plural |
/var/plural_endings_in_ves | Plurals endings in -ves |
/var/plural_endings_with_doubled_letter | Plurals endings in -sses or -zzes |
/var/apophonic_plurals | Words that have a different plural form, and their plural form |
/var/english_loanwords | Used to tell how to make it a plural word and etc. |
/var/plural_words_unchanged | Words that stay the same in plural |
/proc/text_make_plural | Properly changes the given word (or the last word of the string) into a plural word. Applies a bunch of exceptions from the english language. |
Strip out the special beyond characters for \proper and \improper +from text that will be sent to the browser.
DELTA_CALC | Increases delay as the server gets more overloaded -as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful |
---|---|
/proc/stoplag | returns the number of ticks slept |
Increases delay as the server gets more overloaded -as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful
DELTA_CALC | Increases delay as the server gets more overloaded +as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful |
---|---|
/proc/stoplag | returns the number of ticks slept |
Increases delay as the server gets more overloaded +as sleeps aren't cheap and sleeping only to wake up and sleep again is wasteful
/proc/get_ordinal_string | Returns a number string with its ordinal suffix th, st, nd, rd |
---|---|
/proc/pass | A do nothing proc used to prevent empty block warnings -In hot code (like atmos checks), use EMPTY_BLOCK_GUARD instead. |
/proc/get_ordinal_string | Returns a number string with its ordinal suffix th, st, nd, rd |
---|---|
/proc/pass | A do nothing proc used to prevent empty block warnings +In hot code (like atmos checks), use EMPTY_BLOCK_GUARD instead. |
ADD_SORTED | Insert an object A into a sorted list using cmp_proc (/code/_helpers/cmp.dm) for comparison. |
---|
Insert an object A into a sorted list using cmp_proc (/code/_helpers/cmp.dm) for comparison.
ADD_SORTED | Insert an object A into a sorted list using cmp_proc (/code/_helpers/cmp.dm) for comparison. |
---|
Insert an object A into a sorted list using cmp_proc (/code/_helpers/cmp.dm) for comparison.
/mob/living/human | organ-related variables, see organ.dm and human_organs.dm, shouldn't be accessed directly |
---|
/mob/living/human | organ-related variables, see organ.dm and human_organs.dm, shouldn't be accessed directly |
---|
/obj/screen/ability | ACTUAL ABILITIES |
---|---|
/obj/screen/ability/obj_based | Obj Abilities |
/obj/screen/ability | ACTUAL ABILITIES |
---|---|
/obj/screen/ability/obj_based | Obj Abilities |
/var/Failsafe | Failsafe |
---|
/var/Failsafe | Failsafe |
---|
/hook/global_init | Global init hook.
+code/controllers/hooks-defs.dm
|
---|
/proc/callHook | @file hooks.dm -Implements hooks, a simple way to run code on pre-defined events. |
---|
/proc/callHook | @file hooks.dm +Implements hooks, a simple way to run code on pre-defined events. |
---|
/var/Master | StonedMC |
---|
/var/Master | StonedMC |
---|
/var/SSdaycycle | Subsystem for updating day/night ambient lighting for sets of z-levels that share a common day/night state. |
---|
/var/SSdaycycle | Subsystem for updating day/night ambient lighting for sets of z-levels that share a common day/night state. |
---|
BUCKET_LEN | Controls how many buckets should be kept, each representing a tick. (1 minutes worth) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BUCKET_POS | Helper for getting the correct bucket for a given timer | ||||||||||||||||||
TIMER_MAX | Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue | ||||||||||||||||||
TIMER_ID_MAX | Max float with integer precision | ||||||||||||||||||
/var/SStimer | |||||||||||||||||||
/datum/timedevent | This is the actual timer, it contains the callback and necessary data to maintain
+code/controllers/subsystems/timer.dm
Define DetailsBUCKET_LENControls how many buckets should be kept, each representing a tick. (1 minutes worth) BUCKET_POSHelper for getting the correct bucket for a given timer TIMER_ID_MAXMax float with integer precision TIMER_MAXGets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue | ||||||||||||||||||
/proc/deltimer | Delete a timer | ||||||||||||||||||
/proc/timeleft | Get the remaining deciseconds on a timer |
Controls how many buckets should be kept, each representing a tick. (1 minutes worth)
Helper for getting the correct bucket for a given timer
Max float with integer precision
Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue
/datum/ai_laws/asimov | Asimov |
---|---|
/datum/ai_laws/robocop | Robocop |
/datum/ai_laws/syndicate_override | Syndicate |
/datum/ai_laws/antimov | Antimov |
/datum/ai_laws/drone | Drone |
/datum/ai_laws/tyrant | T.Y.R.A.N.T. |
/datum/ai_laws/paladin | P.A.L.A.D.I.N. |
/datum/ai_laws/asimov | Asimov |
---|---|
/datum/ai_laws/robocop | Robocop |
/datum/ai_laws/syndicate_override | Syndicate |
/datum/ai_laws/antimov | Antimov |
/datum/ai_laws/drone | Drone |
/datum/ai_laws/tyrant | T.Y.R.A.N.T. |
/datum/ai_laws/paladin | P.A.L.A.D.I.N. |
/proc/onclose | Registers the on-close verb for a browse window (client/verb/.windowclose) -this will be called when the close-button of a window is pressed. |
---|
/proc/onclose | Registers the on-close verb for a browse window (client/verb/.windowclose) +this will be called when the close-button of a window is pressed. |
---|
/datum/callback | A datum that holds a proc to be called on another object, used to track proccalls to other objects |
---|
/datum/callback | A datum that holds a proc to be called on another object, used to track proccalls to other objects |
---|
/datum/category_collection | Category Collection |
---|---|
/datum/category_group | Category Groups |
/datum/category_item | Category Items |
/datum/category_collection | Category Collection |
---|---|
/datum/category_group | Category Groups |
/datum/category_item | Category Items |
/proc/copy_extension | Copy the extension instance on the 'source' and put it on the 'destination'. |
---|
/proc/copy_extension | Copy the extension instance on the 'source' and put it on the 'destination'. |
---|
/decl/observ/lock_state_changed | Sent by the lockable when it's been locked or unlocked. |
---|---|
/decl/observ/lock_panel_state_changed | Sent by lockable when the service panel is opened/closed. |
/datum/extension/lockable | Extension for giving an object a code lock, with it's own ui. |
/decl/observ/lock_state_changed | Sent by the lockable when it's been locked or unlocked. |
---|---|
/decl/observ/lock_panel_state_changed | Sent by lockable when the service panel is opened/closed. |
/datum/extension/lockable | Extension for giving an object a code lock, with it's own ui. |
/decl/scent_intensity | Scent intensity | ||||
---|---|---|---|---|---|
/datum/extension/scent | Scent extensions
+code/datums/extensions/scent/_scent.dm
|
/var/mil_branches | Datums for military branches and ranks |
---|---|
/datum/mil_branches | Global object for handling branches |
/datum/mil_branch | A single military branch, such as Fleet or Marines |
/datum/mil_rank | A military rank |
/var/mil_branches | Datums for military branches and ranks |
---|---|
/datum/mil_branches | Global object for handling branches |
/datum/mil_branch | A single military branch, such as Fleet or Marines |
/datum/mil_rank | A military rank |
/datum/memory | Memories |
---|---|
/decl/memory_options | Memory Options |
/datum/memory | Memories |
---|---|
/decl/memory_options | Memory Options |
/decl/automove_controller | Implements automove logic; can be overridden on mob procs if you want to vary the logic from the below. |
---|
/decl/automove_controller | Implements automove logic; can be overridden on mob procs if you want to vary the logic from the below. |
---|
/datum/movement_handler/mob | /mob |
---|
/datum/movement_handler/mob | /mob |
---|
/datum/movement_handler/robot | /robot |
---|
/datum/movement_handler/robot | /robot |
---|
/decl/observ/cyborg_created | Observer Pattern Implementation: Cyborg Created |
---|
/decl/observ/cyborg_created | Observer Pattern Implementation: Cyborg Created |
---|
/decl/observ/debrain | Observer Pattern Implementation: Debrained |
---|
/decl/observ/debrain | Observer Pattern Implementation: Debrained |
---|
/decl/observ/employee_id_reassigned | Dismembered Handling |
---|
/decl/observ/employee_id_reassigned | Dismembered Handling |
---|
/decl/observ/revoke_payroll | Observer Pattern Implementation: Payroll Revoked |
---|---|
/decl/observ/change_account_status | Observer Pattern Implementation: Account Status Changed |
/decl/observ/revoke_payroll | Observer Pattern Implementation: Payroll Revoked |
---|---|
/decl/observ/change_account_status | Observer Pattern Implementation: Account Status Changed |
/decl/observ/sight_set | Shuttle Moved/Pre Move Handling |
---|
/decl/observ/sight_set | Shuttle Moved/Pre Move Handling |
---|
/decl/backpack_outfit/nothing | Outfit Backpacks |
---|---|
/datum/backpack_setup | Character setup |
/proc/get_default_outfit_backpack | Helpers |
/decl/backpack_outfit/nothing | Outfit Backpacks |
---|---|
/datum/backpack_setup | Character setup |
/proc/get_default_outfit_backpack | Helpers |
/datum/follow_holder | Follow Metadata |
---|
/datum/follow_holder | Follow Metadata |
---|
/datum/category_collection/underwear | Category Collection Setup |
---|---|
/datum/category_group/underwear/top | Categories |
/datum/category_item/underwear | Category entries |
/datum/category_collection/underwear | Category Collection Setup |
---|---|
/datum/category_group/underwear/top | Categories |
/datum/category_item/underwear | Category entries |
/datum/uplink_item/item/ammo | Ammunition |
---|
/datum/uplink_item/item/ammo | Ammunition |
---|
/datum/uplink_item/item/badassery | Badassery |
---|---|
/datum/uplink_item/item/badassery/random_one | Random Item |
/datum/uplink_item/item/badassery/surplus | Surplus Crate |
/datum/uplink_item/item/badassery | Badassery |
---|---|
/datum/uplink_item/item/badassery/random_one | Random Item |
/datum/uplink_item/item/badassery/surplus | Surplus Crate |
/datum/uplink_item/item/tools | Devices and Tools |
---|
/datum/uplink_item/item/tools | Devices and Tools |
---|
/datum/uplink_item/item/grenades | Grenades |
---|
/datum/uplink_item/item/grenades | Grenades |
---|
/datum/uplink_item/item/hardsuit_modules | Hardsuit Modules |
---|
/datum/uplink_item/item/hardsuit_modules | Hardsuit Modules |
---|
/datum/uplink_item/item/visible_weapons | Highly Visible and Dangerous Weapons |
---|
/datum/uplink_item/item/visible_weapons | Highly Visible and Dangerous Weapons |
---|
/datum/uplink_item/item/implants | Implants |
---|
/datum/uplink_item/item/implants | Implants |
---|
/datum/uplink_item/item/medical | Medical |
---|
/datum/uplink_item/item/medical | Medical |
---|
/datum/uplink_item/item/services | Services |
---|---|
AWAITING_ACTIVATION | Service Item |
/obj/item/uplink_service/jamming | Sensor Jamming |
/obj/item/uplink_service/fake_ion_storm | Fake Ion storm |
/obj/item/uplink_service/fake_rad_storm | Fake Rad storm |
/obj/item/uplink_service/fake_update_announcement | Fake CentCom Annoncement |
/obj/item/uplink_service/fake_crew_announcement | Fake Crew Records/Announcement |
Service Item
/datum/uplink_item/item/services | Services |
---|---|
AWAITING_ACTIVATION | Service Item |
/obj/item/uplink_service/jamming | Sensor Jamming |
/obj/item/uplink_service/fake_ion_storm | Fake Ion storm |
/obj/item/uplink_service/fake_rad_storm | Fake Rad storm |
/obj/item/uplink_service/fake_update_announcement | Fake CentCom Annoncement |
/obj/item/uplink_service/fake_crew_announcement | Fake Crew Records/Announcement |
Service Item
/datum/uplink_item/item/stealth_items | Stealth and Camouflage Items |
---|
/datum/uplink_item/item/stealth_items | Stealth and Camouflage Items |
---|
/datum/uplink_item/item/stealthy_weapons | Stealthy and Inconspicuous Weapons |
---|
/datum/uplink_item/item/stealthy_weapons | Stealthy and Inconspicuous Weapons |
---|
/datum/uplink_item/item/telecrystal | Telecrystals |
---|
/datum/uplink_item/item/telecrystal | Telecrystals |
---|
/proc/get_random_uplink_items | Support procs |
---|
/proc/get_random_uplink_items | Support procs |
---|
/datum/stored_items/vending_products | Datum used to hold information about a product in a vending machine |
---|
/datum/stored_items/vending_products | Datum used to hold information about a product in a vending machine |
---|
/var/area_blurb_stated_to | This list of names is here to make sure we don't state our descriptive blurb to a person more than once. |
---|
/var/area_blurb_stated_to | This list of names is here to make sure we don't state our descriptive blurb to a person more than once. |
---|
/datum/universal_state | ENDGAME STUFF |
---|
/datum/universal_state | ENDGAME STUFF |
---|
/obj/effect/wormhole_exit | EXIT PORTAL |
---|
/obj/effect/wormhole_exit | EXIT PORTAL |
---|
/var/access_security | Station access |
---|---|
/var/access_cent_general | Central Command |
/var/access_hacked | Antag access |
/var/access_synth | Misc |
/var/access_security | Station access |
---|---|
/var/access_cent_general | Central Command |
/var/access_hacked | Antag access |
/var/access_synth | Misc |
/obj/item/stock_parts/item_holder/card_reader | Stock part for accessing/holding the subtypes of /obj/item/card. |
---|
/obj/item/stock_parts/item_holder/card_reader | Stock part for accessing/holding the subtypes of /obj/item/card. |
---|
/obj/item/stock_parts/item_holder/disk_reader | Stock part for reading/writing to an inserted data disk. |
---|
/obj/item/stock_parts/item_holder/disk_reader | Stock part for reading/writing to an inserted data disk. |
---|
/obj/item/stock_parts/item_holder | Base class for stock parts that allow an item to be inserted while the maintenance panel is closed. |
---|
/obj/item/stock_parts/item_holder | Base class for stock parts that allow an item to be inserted while the maintenance panel is closed. |
---|
/obj/machinery/constructable_frame | Made into a seperate type to make future revisions easier. |
---|
/obj/machinery/constructable_frame | Made into a seperate type to make future revisions easier. |
---|
/obj/machinery/button/access/interior | Whether the master airlock controller is actually cycling so we can update our icon |
---|
/obj/machinery/button/access/interior | Whether the master airlock controller is actually cycling so we can update our icon |
---|
/obj/machinery/dummy_airlock_controller | Provides remote access to a controller (since they must be unique). |
---|
/obj/machinery/dummy_airlock_controller | Provides remote access to a controller (since they must be unique). |
---|
/obj/machinery/embedded_controller/radio/docking_port_multi | ** DEBUG VERBS *** |
---|
/obj/machinery/embedded_controller/radio/docking_port_multi | ** DEBUG VERBS *** |
---|
STATE_FILL | ** DEBUG VERBS *** |
---|
** DEBUG VERBS ***
+STATE_FILL | ** DEBUG VERBS *** |
---|
** DEBUG VERBS ***
/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/view_state() set category = "Debug" set src in view(1) @@ -19,4 +19,4 @@
/obj/machinery/embedded_controller/radio/simple_docking_controller/verb/debug_init_undock() set category = "Debug" set src in view(1) -src.program:initiate_undocking()
/obj/machinery/holosign | HOLOSIGN |
---|---|
/obj/machinery/button/holosign | SWITCH |
/obj/machinery/holosign | HOLOSIGN |
---|---|
/obj/machinery/button/holosign | SWITCH |
RCS_MAINMENU | Requests Console |
---|
Requests Console
-Originally written by errorage, updated by: Carn, needs more work though. I just added some security fixes
RCS_MAINMENU | Requests Console |
---|
Requests Console
+Originally written by errorage, updated by: Carn, needs more work though. I just added some security fixes
/obj/machinery/nuclear_cylinder_storage/prefilled | Special subtype for mapping. |
---|
/obj/machinery/nuclear_cylinder_storage/prefilled | Special subtype for mapping. |
---|
/obj/machinery/vending | A vending machine |
---|
/obj/machinery/vending | A vending machine |
---|
/obj/item/frame/button/airlock_controller_config | Base class for handling configurable airlock devices frames that want to get configuration info from an airlock controller |
---|
/obj/item/frame/button/airlock_controller_config | Base class for handling configurable airlock devices frames that want to get configuration info from an airlock controller |
---|
/obj/structure/sign/poster | A wall mounted poster |
---|---|
/obj/item/poster | A rolled up version of the wall-mounted poster structure |
/obj/structure/sign/poster | A wall mounted poster |
---|---|
/obj/item/poster | A rolled up version of the wall-mounted poster structure |
/decl/poster_design | Contains information on what a poster displays. |
---|
/decl/poster_design | Contains information on what a poster displays. |
---|
/obj/effect/effect/smoke | SMOKE SYSTEMS | ||||||
---|---|---|---|---|---|---|---|
/datum/effect/effect/system/trail | ///// Attach an Ion trail to any object, that spawns when it moves (like for the jetpack)
+code/game/objects/effects/effect_system.dm
| ||||||
/datum/effect/effect/system/trail/steam | Attach a steam trail to an object (eg. a reacting beaker) that will follow it |
/obj/item/multitool | Multitool -- A multitool is used for hacking electronic devices. |
---|
/obj/item/multitool | Multitool -- A multitool is used for hacking electronic devices. |
---|
/proc/get_mobs_in_analog_radio_ranges | Returns a list of mobs who can hear any of the radios given in @radios -Assume all the radios in the list are eligible; we just care about mobs |
---|
/proc/get_mobs_in_analog_radio_ranges | Returns a list of mobs who can hear any of the radios given in @radios +Assume all the radios in the list are eligible; we just care about mobs |
---|
/obj/item/flashlight/lantern | Lantern |
---|
/obj/item/flashlight/lantern | Lantern |
---|
/obj/item/borg/overdrive | Cyborg Spec Items |
---|---|
/obj/item/borg/sight | HUD/SIGHT things |
/obj/item/borg/overdrive | Cyborg Spec Items |
---|---|
/obj/item/borg/sight | HUD/SIGHT things |
/obj/item/aiModule/safeguard | Modules |
---|---|
/obj/item/aiModule/oneHuman | OneMember |
/obj/item/aiModule/protectStation | ProtectStation |
/obj/item/aiModule/prototypeEngineOffline | PrototypeEngineOffline |
/obj/item/aiModule/teleporterOffline | TeleporterOffline |
/obj/item/aiModule/quarantine | Quarantine |
/obj/item/aiModule/oxygen | OxygenIsToxicToCrewMembers |
/obj/item/aiModule/freeform | New Freeform |
/obj/item/aiModule/reset | Reset |
/obj/item/aiModule/purge | Purge |
/obj/item/aiModule/asimov | Asimov |
/obj/item/aiModule/drone | Drone |
/obj/item/aiModule/paladin | P.A.L.A.D.I.N. |
/obj/item/aiModule/tyrant | T.Y.R.A.N.T. |
/obj/item/aiModule/freeformcore | Freeform Core |
/obj/item/aiModule/robocop | Robocop |
/obj/item/aiModule/antimov | Antimov |
/obj/item/aiModule/safeguard | Modules |
---|---|
/obj/item/aiModule/oneHuman | OneMember |
/obj/item/aiModule/protectStation | ProtectStation |
/obj/item/aiModule/prototypeEngineOffline | PrototypeEngineOffline |
/obj/item/aiModule/teleporterOffline | TeleporterOffline |
/obj/item/aiModule/quarantine | Quarantine |
/obj/item/aiModule/oxygen | OxygenIsToxicToCrewMembers |
/obj/item/aiModule/freeform | New Freeform |
/obj/item/aiModule/reset | Reset |
/obj/item/aiModule/purge | Purge |
/obj/item/aiModule/asimov | Asimov |
/obj/item/aiModule/drone | Drone |
/obj/item/aiModule/paladin | P.A.L.A.D.I.N. |
/obj/item/aiModule/tyrant | T.Y.R.A.N.T. |
/obj/item/aiModule/freeformcore | Freeform Core |
/obj/item/aiModule/robocop | Robocop |
/obj/item/aiModule/antimov | Antimov |
/obj/item/tankassemblyproxy | Pulled from rewritten bomb.dm |
---|
/obj/item/tankassemblyproxy | Pulled from rewritten bomb.dm |
---|
/obj/item/stack/tape_roll | Base class for all things tape, with a limit amount of uses. |
---|
/obj/item/stack/tape_roll | Base class for all things tape, with a limit amount of uses. |
---|
/obj/item/weldingtool/weldpack | Welder specifically for the welder pack. |
---|
/obj/item/weldingtool/weldpack | Welder specifically for the welder pack. |
---|
/decl/interaction_handler/rotate | Interaction for rotating an object in the world. |
---|
/decl/interaction_handler/rotate | Interaction for rotating an object in the world. |
---|
/obj/random/date_based | Implementation |
---|---|
/obj/random/date_based/christmas | Practical Subtypes |
/obj/random/date_based/christmas/tree | Date Based Spawners |
/obj/random/date_based | Implementation |
---|---|
/obj/random/date_based/christmas | Practical Subtypes |
/obj/random/date_based/christmas/tree | Date Based Spawners |
/var/COMPOST_WORM_EAT_AMOUNT | The number of worms influences the rate at which contents are decomposed into compost. |
---|
/var/COMPOST_WORM_EAT_AMOUNT | The number of worms influences the rate at which contents are decomposed into compost. |
---|
NO_HOLE | section is intact |
---|---|
MEDIUM_HOLE | medium hole in the section - can climb through |
LARGE_HOLE | large hole in the section - can walk through |
large hole in the section - can walk through
medium hole in the section - can climb through
section is intact
NO_HOLE | section is intact |
---|---|
MEDIUM_HOLE | medium hole in the section - can climb through |
LARGE_HOLE | large hole in the section - can walk through |
large hole in the section - can walk through
medium hole in the section - can climb through
section is intact
/obj/item/sign | Item form of the sign structure. Stores a sign structure type, and creates that structure upon install. -Takes on the appearence and properties of whatever sign structure type it contains. |
---|---|
/obj/structure/sign | A wall mountable sign structure |
/obj/item/sign | Item form of the sign structure. Stores a sign structure type, and creates that structure upon install. +Takes on the appearence and properties of whatever sign structure type it contains. |
---|---|
/obj/structure/sign | A wall mountable sign structure |
/datum/diploma_details | Details used by the diploma plaques for display. |
---|---|
/obj/structure/sign/plaque/diploma | A display for diploma details |
/obj/item/sign/diploma | A displayable diploma |
/datum/diploma_details | Details used by the diploma plaques for display. |
---|---|
/obj/structure/sign/plaque/diploma | A display for diploma details |
/obj/item/sign/diploma | A displayable diploma |
/obj/structure/sign/directions | Signs for showing the way to passerby. The dir of the sign is the direction it points towards. The icon of the sign itself is always south facing. |
---|---|
/obj/structure/sign/deck | A sign for indicating what level is the current level vertically |
/obj/structure/sign/directions | Signs for showing the way to passerby. The dir of the sign is the direction it points towards. The icon of the sign itself is always south facing. |
---|---|
/obj/structure/sign/deck | A sign for indicating what level is the current level vertically |
/obj/structure/sign/painting/monkey_painting | A painting of amonkey |
---|
/obj/structure/sign/painting/monkey_painting | A painting of amonkey |
---|
/obj/structure/sign/warning | Base warning sign type |
---|
/obj/structure/sign/warning | Base warning sign type |
---|
VOL_DTMF_KEY | Volume to play DTMF key sounds at. They're pretty loud, so 15 is fine. |
---|---|
/proc/play_dtmf_key_sound | Plays a DTMF tone (Telephone key press sound) for any valid telephone key. |
Volume to play DTMF key sounds at. They're pretty loud, so 15 is fine.
VOL_DTMF_KEY | Volume to play DTMF key sounds at. They're pretty loud, so 15 is fine. |
---|---|
/proc/play_dtmf_key_sound | Plays a DTMF tone (Telephone key press sound) for any valid telephone key. |
Volume to play DTMF key sounds at. They're pretty loud, so 15 is fine.
/decl/turf_initializer/combo | Runs multiple turf initialisers in sequence. |
---|
/decl/turf_initializer/combo | Runs multiple turf initialisers in sequence. |
---|
/decl/turf_initializer/kitchen | Spawns random 'kitchen' grime near tables: flour spills, smashed eggs, fruit smudges, etc. |
---|
/decl/turf_initializer/kitchen | Spawns random 'kitchen' grime near tables: flour spills, smashed eggs, fruit smudges, etc. |
---|
/proc/CreateBans | DEBUG |
---|
/proc/CreateBans | DEBUG |
---|
/proc/is_special_character | ADMIN HELPER PROCS |
---|
/proc/is_special_character | ADMIN HELPER PROCS |
---|
/datum/admin_secret_category/admin_secrets | Pre-defined categories |
---|---|
/datum/admin_secret_item/admin_secret | Pre-defined base items |
/datum/admin_secret_category/admin_secrets | Pre-defined categories |
---|---|
/datum/admin_secret_item/admin_secret | Pre-defined base items |
/obj/item/implanter/exile | Exile implants will allow you to use the station gate, but not return home. This will allow security to exile badguys/for badguys to exile their kill targets |
---|
/obj/item/implanter/exile | Exile implants will allow you to use the station gate, but not return home. This will allow security to exile badguys/for badguys to exile their kill targets |
---|
/obj/machinery/gateway/centeraway | Away |
---|
/obj/machinery/gateway/centeraway | Away |
---|
/datum/character_information | Main holder class for character comments - primarily user-set info, tracking vars, and a list of comment datums. |
---|
/datum/character_information | Main holder class for character comments - primarily user-set info, tracking vars, and a list of comment datums. |
---|
/datum/character_comment | Individual comment datum. Tracked by the comment holder datum. |
---|
/datum/character_comment | Individual comment datum. Tracked by the comment holder datum. |
---|
/var/_comment_mood_legend | Visual formatting for character info/comments. |
---|---|
/decl/comment_mood | Formatting data for comments. |
/var/_comment_mood_legend | Visual formatting for character info/comments. |
---|---|
/decl/comment_mood | Formatting data for comments. |
/datum/asset/fonts | Fonts loader
+code/modules/client/asset_cache.dm
|
---|
/proc/ReloadThemeCss | Force the light and dark theme css files to be reloaded. Mainly usefule for devs. |
---|
/proc/ReloadThemeCss | Force the light and dark theme css files to be reloaded. Mainly usefule for devs. |
---|
/datum/client_preference/play_admin_midis | Player Preferences |
---|---|
/datum/client_preference/staff | General Staff Preferences |
/datum/client_preference/staff/show_attack_logs | Admin Preferences |
/datum/client_preference/staff/show_debug_logs | Debug Preferences |
/datum/client_preference/area_info_blurb | Area Info Blurb |
/datum/client_preference/chat_color_mode | Darkmode/Lightmode |
/datum/client_preference/help_intent_attack_blocking | Help intent attack blocking |
/datum/client_preference/play_admin_midis | Player Preferences |
---|---|
/datum/client_preference/staff | General Staff Preferences |
/datum/client_preference/staff/show_attack_logs | Admin Preferences |
/datum/client_preference/staff/show_debug_logs | Debug Preferences |
/datum/client_preference/area_info_blurb | Area Info Blurb |
/datum/client_preference/chat_color_mode | Darkmode/Lightmode |
/datum/client_preference/help_intent_attack_blocking | Help intent attack blocking |
/datum/category_collection/player_setup_collection | Category Collection Setup |
---|---|
/datum/category_item/player_setup_item | Category Item Setup |
/datum/category_collection/player_setup_collection | Category Collection Setup |
---|---|
/datum/category_item/player_setup_item | Category Item Setup |
/obj/item/paper/cig | Ported Straight from TG. I am not sorry. - BloodyMan //YOU SHOULD BE |
---|
/obj/item/paper/cig | Ported Straight from TG. I am not sorry. - BloodyMan //YOU SHOULD BE |
---|
/proc/number_to_3digits | Given a number, returns a representation fit for a 3-digit display. |
---|
/proc/number_to_3digits | Given a number, returns a representation fit for a 3-digit display. |
---|
/obj/item/hand/missing_card | A special thing that steals a card from a deck, probably lost in maint somewhere. |
---|
/obj/item/hand/missing_card | A special thing that steals a card from a deck, probably lost in maint somewhere. |
---|
/decl/plant_trait/alter_temp | If set, the plant will periodically alter local temp by this amount. |
---|
/decl/plant_trait/alter_temp | If set, the plant will periodically alter local temp by this amount. |
---|
/decl/plant_trait/biolum | Plant is bioluminescent. |
---|
/decl/plant_trait/biolum | Plant is bioluminescent. |
---|
/decl/plant_trait/biolum_colour | The colour of the plant's radiance. |
---|
/decl/plant_trait/biolum_colour | The colour of the plant's radiance. |
---|
/decl/plant_trait/carnivorous | 0 = none, 1 = eat pests in tray, 2 = eat living things (when a vine). |
---|
/decl/plant_trait/carnivorous | 0 = none, 1 = eat pests in tray, 2 = eat living things (when a vine). |
---|
/decl/plant_trait/endurance | Maximum plant HP when growing. |
---|
/decl/plant_trait/endurance | Maximum plant HP when growing. |
---|
/decl/plant_trait/explosive | When thrown, acts as a grenade. |
---|
/decl/plant_trait/explosive | When thrown, acts as a grenade. |
---|
/decl/plant_trait/harvest_repeat | If 1, this plant will fruit repeatedly. |
---|
/decl/plant_trait/harvest_repeat | If 1, this plant will fruit repeatedly. |
---|
/decl/plant_trait/heat_tolerance | Departure from ideal that is survivable. |
---|
/decl/plant_trait/heat_tolerance | Departure from ideal that is survivable. |
---|
/decl/plant_trait/highkpa_tolerance | High pressure capacity. |
---|
/decl/plant_trait/highkpa_tolerance | High pressure capacity. |
---|
/decl/plant_trait/ideal_heat | Preferred temperature in Kelvin. |
---|
/decl/plant_trait/ideal_heat | Preferred temperature in Kelvin. |
---|
/decl/plant_trait/ideal_light | Preferred light level in luminosity. |
---|
/decl/plant_trait/ideal_light | Preferred light level in luminosity. |
---|
/decl/plant_trait/immutable | If set, plant will never mutate. If -1, plant is highly mutable. |
---|
/decl/plant_trait/immutable | If set, plant will never mutate. If -1, plant is highly mutable. |
---|
/decl/plant_trait/juicy | When thrown, causes a splatter decal. |
---|
/decl/plant_trait/juicy | When thrown, causes a splatter decal. |
---|
/decl/plant_trait/light_tolerance | Departure from ideal that is survivable. |
---|
/decl/plant_trait/light_tolerance | Departure from ideal that is survivable. |
---|
/decl/plant_trait/lowkpa_tolerance | Low pressure capacity. |
---|
/decl/plant_trait/lowkpa_tolerance | Low pressure capacity. |
---|
/decl/plant_trait/maturation | Time taken before the plant is mature. |
---|
/decl/plant_trait/maturation | Time taken before the plant is mature. |
---|
/decl/plant_trait/nutrient_consumption | Plant eats this much per tick. |
---|
/decl/plant_trait/nutrient_consumption | Plant eats this much per tick. |
---|
/decl/plant_trait/parasite | 0 = no, 1 = gain health from weed level. |
---|
/decl/plant_trait/parasite | 0 = no, 1 = gain health from weed level. |
---|
/decl/plant_trait/pest_tolerance | Threshold for pests to impact health. |
---|
/decl/plant_trait/pest_tolerance | Threshold for pests to impact health. |
---|
/decl/plant_trait/photosynthesis | If it turns CO2 into oxygen |
---|
/decl/plant_trait/photosynthesis | If it turns CO2 into oxygen |
---|
/decl/plant_trait/plant_colour | Colour of the plant icon. |
---|
/decl/plant_trait/plant_colour | Colour of the plant icon. |
---|
/decl/plant_trait/plant_icon | Icon to use for the plant growing in the tray. |
---|
/decl/plant_trait/plant_icon | Icon to use for the plant growing in the tray. |
---|
/decl/plant_trait/potency | General purpose plant strength value. |
---|
/decl/plant_trait/potency | General purpose plant strength value. |
---|
/decl/plant_trait/produces_power | Can be used to make a battery. |
---|
/decl/plant_trait/produces_power | Can be used to make a battery. |
---|
/decl/plant_trait/product_colour | Colour to apply to product icon. |
---|
/decl/plant_trait/product_colour | Colour to apply to product icon. |
---|
/decl/plant_trait/product_icon | Icon to use for fruit coming from this plant. |
---|
/decl/plant_trait/product_icon | Icon to use for fruit coming from this plant. |
---|
/decl/plant_trait/production | Time before harvesting can be undertaken again. |
---|
/decl/plant_trait/production | Time before harvesting can be undertaken again. |
---|
/decl/plant_trait/requires_nutrients | The plant can starve. |
---|
/decl/plant_trait/requires_nutrients | The plant can starve. |
---|
/decl/plant_trait/requires_water | The plant can become dehydrated. |
---|
/decl/plant_trait/requires_water | The plant can become dehydrated. |
---|
/decl/plant_trait/spread | 0 limits plant to tray, 1 = creepers, 2 = vines. |
---|
/decl/plant_trait/spread | 0 limits plant to tray, 1 = creepers, 2 = vines. |
---|
/decl/plant_trait/stings | Can cause damage/inject reagents when thrown or handled. |
---|
/decl/plant_trait/stings | Can cause damage/inject reagents when thrown or handled. |
---|
/decl/plant_trait/teleporting | Uses the teleport tomato effect. |
---|
/decl/plant_trait/teleporting | Uses the teleport tomato effect. |
---|
/decl/plant_trait/toxins_tolerance | Resistance to poison. |
---|
/decl/plant_trait/toxins_tolerance | Resistance to poison. |
---|
/decl/plant_trait/water_consumption | Plant drinks this much per tick. |
---|
/decl/plant_trait/water_consumption | Plant drinks this much per tick. |
---|
/decl/plant_trait/weed_tolerance | Threshold for weeds to impact health. |
---|
/decl/plant_trait/weed_tolerance | Threshold for weeds to impact health. |
---|
/decl/plant_trait/yield | Amount of product. |
---|
/decl/plant_trait/yield | Amount of product. |
---|
/decl/ghosttrap/machine_intelligence | Computer intelligence cores. |
---|---|
/decl/ghosttrap/sentient_plant | Walking mushrooms and such. |
/decl/ghosttrap/maintenance_drone | Maintenance Drone |
/decl/ghosttrap/wizard_familiar | Wizard Familiar |
/decl/ghosttrap/machine_intelligence | Computer intelligence cores. |
---|---|
/decl/ghosttrap/sentient_plant | Walking mushrooms and such. |
/decl/ghosttrap/maintenance_drone | Maintenance Drone |
/decl/ghosttrap/wizard_familiar | Wizard Familiar |
This whole system is heavily based off of forum_account's keyboard library. + In-code keypress handling system
|
/obj/abstract/landmark/allowed_leak | Used to tell pipe leak unit tests that a leak is intentional. Placed over the pipe that leaks, not the tile missing a pipe. |
---|
/obj/abstract/landmark/allowed_leak | Used to tell pipe leak unit tests that a leak is intentional. Placed over the pipe that leaks, not the tile missing a pipe. |
---|
/datum/grid_load_metadata | Fill a given tile with its area/turf/objects/mobs -Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored) |
---|
/datum/grid_load_metadata | Fill a given tile with its area/turf/objects/mobs +Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored) |
---|
/datum/map_template/planetoid | Base map template for planetoids, which need to instantiate a planetoid data object early during template spawn. -Can be used to load a planetoid from a map file. |
---|
/datum/map_template/planetoid | Base map template for planetoids, which need to instantiate a planetoid data object early during template spawn. +Can be used to load a planetoid from a map file. |
---|
/datum/generated_fauna_template | An internal template to generate randomized planet fauna that's adapted to where it was generated to spawn on. |
---|
/datum/generated_fauna_template | An internal template to generate randomized planet fauna that's adapted to where it was generated to spawn on. |
---|
/datum/planet_flora | Contains data about the flora found on a planetoid, and facilities to pick and spawn them randomly. -This base type is meant to be used on its own only for fixed flora lists defined at compile time. |
---|---|
/datum/planet_flora/random | A randomly generating planet_flora data datum |
/datum/planet_flora | Contains data about the flora found on a planetoid, and facilities to pick and spawn them randomly. +This base type is meant to be used on its own only for fixed flora lists defined at compile time. |
---|---|
/datum/planet_flora/random | A randomly generating planet_flora data datum |
/datum/map_template/planetoid/random/exoplanet/barren | Template for spawning a randomly generated barren exoplanet. |
---|---|
/datum/random_map/noise/exoplanet/barren | Generator for fauna and flora spawners for the surface of the barren exoplanet |
/datum/map_template/planetoid/random/exoplanet/barren | Template for spawning a randomly generated barren exoplanet. |
---|---|
/datum/random_map/noise/exoplanet/barren | Generator for fauna and flora spawners for the surface of the barren exoplanet |
/obj/effect/overmap/visitable/sector/planetoid/exoplanet/grass | Overmap marker for the grass exoplanet |
---|---|
/datum/level_data/planetoid/exoplanet/grass | Surface of a grass exoplanet |
/datum/planet_flora/random/grass | Flora data for a grass exoplanet |
/datum/map_template/planetoid/random/exoplanet/grass | Map template for generating a grass exoplanet |
/datum/random_map/noise/exoplanet/grass | Map generator for the grass exoplanet surface |
/area/exoplanet/grass | Area for the grass exoplanet surface |
/obj/effect/overmap/visitable/sector/planetoid/exoplanet/grass | Overmap marker for the grass exoplanet |
---|---|
/datum/level_data/planetoid/exoplanet/grass | Surface of a grass exoplanet |
/datum/planet_flora/random/grass | Flora data for a grass exoplanet |
/datum/map_template/planetoid/random/exoplanet/grass | Map template for generating a grass exoplanet |
/datum/random_map/noise/exoplanet/grass | Map generator for the grass exoplanet surface |
/area/exoplanet/grass | Area for the grass exoplanet surface |
/datum/planetoid_data | Data for a planetoid. Used by SSmapping for keeping track of a lot of details about specific planetoids. |
---|---|
/datum/planetoid_data/random | A randomly generating planetoid_data, used by random planet map_templates |
/datum/planetoid_data | Data for a planetoid. Used by SSmapping for keeping track of a lot of details about specific planetoids. |
---|---|
/datum/planetoid_data/random | A randomly generating planetoid_data, used by random planet map_templates |
/datum/map_template/planetoid/random/exoplanet | Random map generator for exo planets |
---|
/datum/map_template/planetoid/random/exoplanet | Random map generator for exo planets |
---|
/datum/random_map/noise/exoplanet | Place down flora/fauna spawners, grass, water, and apply selected land type. |
---|---|
/datum/random_map/noise/exoplanet/mantle | Random map generator for generating underground planetary levels. |
/datum/random_map/noise/exoplanet | Place down flora/fauna spawners, grass, water, and apply selected land type. |
---|---|
/datum/random_map/noise/exoplanet/mantle | Random map generator for generating underground planetary levels. |
/datum/map_template/planetoid/random | A randomly generated "tempate" for an planet-like objects. Meant to standardize how random planets are generated so it behave like all other map templates. |
---|
/datum/map_template/planetoid/random | A randomly generated "tempate" for an planet-like objects. Meant to standardize how random planets are generated so it behave like all other map templates. |
---|
/area/exoplanet | Windy surface |
---|---|
/area/exoplanet/underground | Spoopy undergrounds |
/area/exoplanet | Windy surface |
---|---|
/area/exoplanet/underground | Spoopy undergrounds |
/obj/abstract/landmark/exoplanet_spawn | Landmarks placed by random map generator |
---|---|
/obj/abstract/landmark/exoplanet_spawn/animal | Landmarks placed by random map generator |
/obj/abstract/landmark/exoplanet_spawn | Landmarks placed by random map generator |
---|---|
/obj/abstract/landmark/exoplanet_spawn/animal | Landmarks placed by random map generator |
/datum/level_data/planetoid | Base level data for levels that are subordinated to a /datum/planetoid_data entry. -A bunch of things are fetched from planet gen to stay in sync. |
---|---|
/datum/level_data/planetoid/exoplanet | Level data for generating surface levels on exoplanets |
/datum/level_data/planetoid/exoplanet/underground | Level data for generating underground levels on exoplanets |
/datum/level_data/planetoid | Base level data for levels that are subordinated to a /datum/planetoid_data entry. +A bunch of things are fetched from planet gen to stay in sync. |
---|---|
/datum/level_data/planetoid/exoplanet | Level data for generating surface levels on exoplanets |
/datum/level_data/planetoid/exoplanet/underground | Level data for generating underground levels on exoplanets |
/decl/material/solid/organic/plantmatter/pith | Used for plant products that aren't quite wood, but are still tougher than normal plant matter. |
---|
/decl/material/solid/organic/plantmatter/pith | Used for plant products that aren't quite wood, but are still tougher than normal plant matter. |
---|
/decl/state/drill/unpowered | Unpowered state. Occurs when the battery dies or when turned off. |
---|---|
/decl/state/drill/idle | Starting state for drills that are turned on or recovered from an issue. |
/decl/state/drill/error | State that occurs if there is a problem with the drill setup, such as lacking braces. |
/decl/state/drill/scanning | State that follows the starting state, where it determines which turfs to mine, and gives a visual effect of it scanning the surrounding ground. |
/decl/state/drill/mining | State where the drill is actively mining a specific turf. |
/decl/state/drill/switching_target | State which occurs when the currently mined turf is depleted, and there is another turf to mine from, +thus the drill visually targets the next spot and provides some feedback to the player on how fast the mining is going. |
/decl/state/drill/storage_full | State which occurs when the ore storage is full, and the player needs to unload the ore for it to resume mining. |
/decl/state/drill/finished | State which occurs when there is no more ore to mine from the surrounding tiles. |
/obj/structure/closet/secure_closet/miner | Miner Lockers |
---|---|
/obj/item/stack/flag | Shovel |
/obj/structure/closet/secure_closet/miner | Miner Lockers |
---|---|
/obj/item/stack/flag | Shovel |
/obj/structure/ore_box | Ore box |
---|
/obj/structure/ore_box | Ore box |
---|
CHAT_MESSAGE_SPAWN_TIME | How long the chat message's spawn-in animation will occur for |
---|---|
CHAT_MESSAGE_LIFESPAN | How long the chat message will exist prior to any exponential decay |
CHAT_MESSAGE_EOL_FADE | How long the chat message's end of life fading animation will occur for |
CHAT_MESSAGE_WIDTH | Max width of chat message in pixels |
CHAT_MESSAGE_HEIGHT | Max width of chat message in pixels |
How long the chat message's end of life fading animation will occur for
Max width of chat message in pixels
How long the chat message will exist prior to any exponential decay
How long the chat message's spawn-in animation will occur for
Max width of chat message in pixels
CHAT_MESSAGE_SPAWN_TIME | How long the chat message's spawn-in animation will occur for |
---|---|
CHAT_MESSAGE_LIFESPAN | How long the chat message will exist prior to any exponential decay |
CHAT_MESSAGE_EOL_FADE | How long the chat message's end of life fading animation will occur for |
CHAT_MESSAGE_WIDTH | Max width of chat message in pixels |
CHAT_MESSAGE_HEIGHT | Max width of chat message in pixels |
How long the chat message's end of life fading animation will occur for
Max width of chat message in pixels
How long the chat message will exist prior to any exponential decay
How long the chat message's spawn-in animation will occur for
Max width of chat message in pixels
CYBORG_POWER_USAGE_MULTIPLIER | Multiplier for amount of power cyborgs use. |
---|
Multiplier for amount of power cyborgs use.
CYBORG_POWER_USAGE_MULTIPLIER | Multiplier for amount of power cyborgs use. |
---|
Multiplier for amount of power cyborgs use.
/proc/clients_in_range | Range Helpers |
---|---|
/proc/all_hearers | Hear Helpers |
/proc/all_viewers | View Helpers |
/proc/clients_in_range | Range Helpers |
---|---|
/proc/all_hearers | Hear Helpers |
/proc/all_viewers | View Helpers |
|
/proc/get_transition_edge_turfs | Returns all the turfs within a zlevel's transition edge, on a given direction. -If include corners is true, the corners of the map will be included. |
---|---|
/proc/get_transition_edge_corner_turfs | Returns all the turfs from all 4 corners of the transition border of a level. |
/datum/level_data | Keeps details on how to generate, maintain and access a zlevel. |
/obj/abstract/level_data_spawner | Mapper helper for spawning a specific level_data datum with the map as it gets loaded |
/proc/get_transition_edge_turfs | Returns all the turfs within a zlevel's transition edge, on a given direction. +If include corners is true, the corners of the map will be included. |
---|---|
/proc/get_transition_edge_corner_turfs | Returns all the turfs from all 4 corners of the transition border of a level. |
/datum/level_data | Keeps details on how to generate, maintain and access a zlevel. |
/obj/abstract/level_data_spawner | Mapper helper for spawning a specific level_data datum with the map as it gets loaded |
/obj/effect/overlay/click_bait | Dummy mouse-opaque overlay to prevent people turning/shooting towards ACTUAL location of vis_content thing |
---|---|
/proc/shared_mimic_edge_get_add_vis_contents | Shared proc to provide the default vis_content for the edge_turf. |
/turf/mimic_edge | Simulated turf meant to replicate the appearence of another. |
/proc/get_turf_transition_edge_direction | Returns the a cardinal direction for a turf on the map that's beyond the transition edge |
/proc/shared_transition_edge_get_coordinates_turf_to_mimic | Returns the turf that's opposite to the specified turf, on the level specified. |
/proc/shared_transition_edge_get_valid_level_data | Grab the connected level data for the level connected in the direction the 'T' turf is in. |
/proc/shared_transition_edge_bumped | Handles teleporting an atom that touches a transition edge/loop edge. |
/obj/effect/overlay/click_bait | Dummy mouse-opaque overlay to prevent people turning/shooting towards ACTUAL location of vis_content thing |
---|---|
/proc/shared_mimic_edge_get_add_vis_contents | Shared proc to provide the default vis_content for the edge_turf. |
/turf/mimic_edge | Simulated turf meant to replicate the appearence of another. |
/proc/get_turf_transition_edge_direction | Returns the a cardinal direction for a turf on the map that's beyond the transition edge |
/proc/shared_transition_edge_get_coordinates_turf_to_mimic | Returns the turf that's opposite to the specified turf, on the level specified. |
/proc/shared_transition_edge_get_valid_level_data | Grab the connected level data for the level connected in the direction the 'T' turf is in. |
/proc/shared_transition_edge_bumped | Handles teleporting an atom that touches a transition edge/loop edge. |
/datum/nanoui | NANO UI FRAMEWORK |
---|
/datum/nanoui | NANO UI FRAMEWORK |
---|
/obj/item/organ/external | EXTERNAL ORGANS |
---|
/obj/item/organ/external | EXTERNAL ORGANS |
---|
/obj/item/organ/external/chest | ORGAN DEFINES |
---|
/obj/item/organ/external/chest | ORGAN DEFINES |
---|
/datum/wound | WOUNDS |
---|
/datum/wound | WOUNDS |
---|
/proc/get_wound_type | WOUND DEFINITIONS |
---|---|
/datum/wound/cut | CUTS |
/datum/wound/puncture | PUNCTURES |
/datum/wound/bruise | BRUISES |
/datum/wound/burn | BURNS |
/datum/wound/lost_limb | EXTERNAL ORGAN LOSS |
/datum/wound/shatter | CRYSTALLINE WOUNDS |
/proc/get_wound_type | WOUND DEFINITIONS |
---|---|
/datum/wound/cut | CUTS |
/datum/wound/puncture | PUNCTURES |
/datum/wound/bruise | BRUISES |
/datum/wound/burn | BURNS |
/datum/wound/lost_limb | EXTERNAL ORGAN LOSS |
/datum/wound/shatter | CRYSTALLINE WOUNDS |
/obj/item/organ/internal | INTERNAL ORGANS DEFINES |
---|
/obj/item/organ/internal | INTERNAL ORGANS DEFINES |
---|
/turf/unsimulated/dark_filler | Turf to hide the outside of the overmap |
---|---|
/turf/unsimulated/debug_grid | Turf with its map coordinate written on. Handy for debugging. |
/turf/unsimulated/dark_filler | Turf to hide the outside of the overmap |
---|---|
/turf/unsimulated/debug_grid | Turf with its map coordinate written on. Handy for debugging. |
/obj/effect/overmap/visitable/sector/planetoid/exoplanet | Helper subtype for exoplanet overmap markers |
---|
/obj/effect/overmap/visitable/sector/planetoid/exoplanet | Helper subtype for exoplanet overmap markers |
---|
/obj/effect/overmap/visitable/sector/planetoid | Overmap marker for a planet-like entity. |
---|
/obj/effect/overmap/visitable/sector/planetoid | Overmap marker for a planet-like entity. |
---|
/obj/abstract/local_dock | Cannot actually be landed at. Used for alignment when landing or docking, however. |
---|---|
/obj/abstract/local_dock/automatic | This subtype automatically adds itself to its shuttle based on the shuttle_tag var. |
/obj/abstract/local_dock | Cannot actually be landed at. Used for alignment when landing or docking, however. |
---|---|
/obj/abstract/local_dock/automatic | This subtype automatically adds itself to its shuttle based on the shuttle_tag var. |
/proc/send_fax_to_admin | Helper for sending a fax from a fax machine to an admin destination. |
---|
/proc/send_fax_to_admin | Helper for sending a fax from a fax machine to an admin destination. |
---|
/proc/handle_paper_stack_shared_topics | Handles topic interactions shared by folders and clipboard. |
---|
/proc/handle_paper_stack_shared_topics | Handles topic interactions shared by folders and clipboard. |
---|
/obj/item/camera_film | film |
---|---|
/obj/item/photo | photo |
/obj/item/photo_album | photo album |
/obj/item/camera | camera |
/obj/item/camera_film | film |
---|---|
/obj/item/photo | photo |
/obj/item/photo_album | photo album |
/obj/item/camera | camera |
/obj/item/camera/siliconcam | AI-specific |
---|
/obj/item/camera/siliconcam | AI-specific |
---|
/particles/geyser_steam | Particle emitter that emits a ~64 pixels by ~192 pixels high column of steam while active. |
---|---|
/obj/effect/geyser | A prop that periodically emit steam spouts and can have a geothermal generator placed on top to generate power. |
/obj/machinery/geothermal | A power generator that can create power from being placed on top of a geyser. |
/particles/geyser_steam | Particle emitter that emits a ~64 pixels by ~192 pixels high column of steam while active. |
---|---|
/obj/effect/geyser | A prop that periodically emit steam spouts and can have a geothermal generator placed on top to generate power. |
/obj/machinery/geothermal | A power generator that can create power from being placed on top of a geyser. |
/obj/machinery/singularity_generator | SINGULARITY SPAWNER |
---|
/obj/machinery/singularity_generator | SINGULARITY SPAWNER |
---|
/datum/reagents/sink | Infinite reagent sink: nothing is ever actually added to it, useful for complex, filtered deletion of reagents without holder churn. |
---|
/datum/reagents/sink | Infinite reagent sink: nothing is ever actually added to it, useful for complex, filtered deletion of reagents without holder churn. |
---|
DEFINE_CARTRIDGE_FOR_CHEM | Helper macro to define a new cartridge type for a given reagent.
+code/modules/reagents/dispenser/cartridge_presets.dm
Define DetailsDEFINE_CARTRIDGE_FOR_CHEMHelper macro to define a new cartridge type for a given reagent. +REAGENT_TYPE: The reagent decl path to fill the cartridge with. |
---|
Helper macro to define a new cartridge type for a given reagent. CART_TYPE: the type suffix to append to the cartridge type path. -REAGENT_TYPE: The reagent decl path to fill the cartridge with.
/decl/interaction_handler/empty/chems | Empty a container onto the floor |
---|
/decl/interaction_handler/empty/chems | Empty a container onto the floor |
---|
/obj/item/chems/drinks | Drinks. |
---|---|
/obj/item/chems/drinks/golden_cup | Drinks. END |
/obj/item/chems/drinks/milk | Drinks |
/obj/item/chems/drinks/teapot | pitchers, pots, flasks and cups |
/obj/item/chems/drinks | Drinks. |
---|---|
/obj/item/chems/drinks/golden_cup | Drinks. END |
/obj/item/chems/drinks/milk | Drinks |
/obj/item/chems/drinks/teapot | pitchers, pots, flasks and cups |
/obj/item/chems/drinks/bottle | Alchohol bottles! -Agouri |
---|---|
/obj/item/chems/drinks/bottle/premiumvodka | PREMIUM ALCOHOL |
/obj/item/chems/drinks/bottle/orangejuice | JUICES AND STUFF |
/obj/item/chems/drinks/bottle | Alchohol bottles! -Agouri |
---|---|
/obj/item/chems/drinks/bottle/premiumvodka | PREMIUM ALCOHOL |
/obj/item/chems/drinks/bottle/orangejuice | JUICES AND STUFF |
/obj/item/chems/dropper | Droppers. |
---|
/obj/item/chems/dropper | Droppers. |
---|
/obj/item/food | Droppers. END |
---|
/obj/item/food | Droppers. END |
---|
/obj/item/food/slice | A food item slice |
---|
/obj/item/food/slice | A food item slice |
---|
/obj/item/chems/glass | (Mixing)Glass. |
---|
/obj/item/chems/glass | (Mixing)Glass. |
---|
/obj/item/chems/hypospray | HYPOSPRAY |
---|---|
/obj/item/chems/hypospray/vial | VIAL HYPOSPRAY |
/obj/item/chems/hypospray/autoinjector | AUTOINJECTOR |
/obj/item/chems/hypospray | HYPOSPRAY |
---|---|
/obj/item/chems/hypospray/vial | VIAL HYPOSPRAY |
/obj/item/chems/hypospray/autoinjector | AUTOINJECTOR |
/obj/item/chems/pill | Pills. |
---|---|
/obj/item/chems/pill/bromide | Pills. END |
/obj/item/chems/pill | Pills. |
---|---|
/obj/item/chems/pill/bromide | Pills. END |
/decl/interaction_handler/next_spray_amount | Toggle the spray size and transfer amount between the possible options |
---|
/decl/interaction_handler/next_spray_amount | Toggle the spray size and transfer amount between the possible options |
---|
SYRINGE_DRAW | Syringes. |
---|---|
/obj/item/chems/syringe/stabilizer | Syringes. END |
Syringes.
SYRINGE_DRAW | Syringes. |
---|---|
/obj/item/chems/syringe/stabilizer | Syringes. END |
Syringes.
/obj/structure/disposalpipe/up | Z-Level stuff |
---|---|
/obj/structure/disposalpipe/junction/yjunction | Z-Level stuff |
/obj/structure/disposalpipe/up | Z-Level stuff |
---|---|
/obj/structure/disposalpipe/junction/yjunction | Z-Level stuff |
/obj/item/stack/package_wrap/gift | Variant of the wrapping paper that result in gift wrapped items. |
---|---|
/obj/item/c_tube | Basically a trash item left from using paper rolls. |
/obj/item/stack/package_wrap/gift | Variant of the wrapping paper that result in gift wrapped items. |
---|---|
/obj/item/c_tube | Basically a trash item left from using paper rolls. |
/datum/extension/sorting_tag | Sorting tag for the sorting machinery. |
---|
/datum/extension/sorting_tag | Sorting tag for the sorting machinery. |
---|
/obj/item/parcel | A parcel wrapper for items and structures that can be wrapped in wrapping paper. |
---|
/obj/item/parcel | A parcel wrapper for items and structures that can be wrapped in wrapping paper. |
---|
/obj/machinery/shieldwallgen | FIELD GEN START //shameless copypasta from fieldgen, powersink, and grille |
---|---|
/obj/machinery/shieldwall | Containment Field START |
/obj/machinery/shieldwallgen | FIELD GEN START //shameless copypasta from fieldgen, powersink, and grille |
---|---|
/obj/machinery/shieldwall | Containment Field START |
/decl/bodytype/crystalline | This is NOT to be used in place of ORGAN_PROP_CRYSTAL.
+code/modules/species/species_crystalline_bodytypes.dm
|
---|
/obj/item/scrying | Scrying orb |
---|---|
/obj/item/dice/d20/cursed | Cursed Dice |
/obj/item/scrying | Scrying orb |
---|---|
/obj/item/dice/d20/cursed | Cursed Dice |
/proc/findNullRod | Construct Spells |
---|
/proc/findNullRod | Construct Spells |
---|
|
/datum/xenoarch_engraving_flavor | Contains generated xenorach flavor text for engravings. Was moved out of exoplanet gen. |
---|
/datum/xenoarch_engraving_flavor | Contains generated xenorach flavor text for engravings. Was moved out of exoplanet gen. |
---|
/obj/item/fossil | Objects themselves |
---|
/obj/item/fossil | Objects themselves |
---|
/datum/unit_test/food_slices_and_origin_items_should_be_consistent | Each slice origin items should cut into the same slice. |
---|
/datum/unit_test/food_slices_and_origin_items_should_be_consistent | Each slice origin items should cut into the same slice. |
---|
/datum/unit_test/graph_test/simple_merge | Tests |
---|---|
/datum/unit_test/graph_test | Base Test Setup |
/datum/node/test | Helpers |
/datum/unit_test/graph_test/simple_merge | Tests |
---|---|
/datum/unit_test/graph_test | Base Test Setup |
/datum/node/test | Helpers |
/datum/unit_test/zas_supply_shuttle_moved | Here we move a shuttle then test it's area once the shuttle has arrived. |
---|
/datum/unit_test/zas_supply_shuttle_moved | Here we move a shuttle then test it's area once the shuttle has arrived. |
---|
Vars | |
state | Invalid or Valid |
---|
Invalid or Valid
Vars | |
state | Invalid or Valid |
---|
Invalid or Valid
Vars | |||||||||||||||||||||||||||
abstract_type | Used to indicate that this type is abstract and should not itself be instantiated. | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
active_timers | Used by the SStimer subsystem | ||||||||||||||||||||||||||
event_listen_count | Tracks how many event registrations we are listening to. Used in cleanup to prevent dangling references. | ||||||||||||||||||||||||||
event_source_count | Tracks how many event registrations are listening to us. Used in cleanup to prevent dangling references. | ||||||||||||||||||||||||||
gc_destroyed | Time when this object was destroyed. | ||||||||||||||||||||||||||
has_state_machine | Used to avoid unnecessary refstring creation in Destroy(). | ||||||||||||||||||||||||||
is_processing | Indicates if a processing subsystem is currenting queuing this datum | ||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||
CanClone | Returns whether the object supports being cloned.
+datum
Var Detailsabstract_typeUsed to indicate that this type is abstract and should not itself be instantiated. active_timersUsed by the SStimer subsystem event_listen_countTracks how many event registrations we are listening to. Used in cleanup to prevent dangling references. event_source_countTracks how many event registrations are listening to us. Used in cleanup to prevent dangling references. gc_destroyedTime when this object was destroyed. has_state_machineUsed to avoid unnecessary refstring creation in Destroy(). is_processingIndicates if a processing subsystem is currenting queuing this datum Proc DetailsCanCloneReturns whether the object supports being cloned. -This is useful for things that should only ever exist once in the world. CloneThis proc returns a clone of the src datum. +ui_interact is currently defined for /atom/movable |
Used to indicate that this type is abstract and should not itself be instantiated.
Used by the SStimer subsystem
Tracks how many event registrations we are listening to. Used in cleanup to prevent dangling references.
Tracks how many event registrations are listening to us. Used in cleanup to prevent dangling references.
Time when this object was destroyed.
Used to avoid unnecessary refstring creation in Destroy().
Indicates if a processing subsystem is currenting queuing this datum
Returns whether the object supports being cloned. +This is useful for things that should only ever exist once in the world.
This proc returns a clone of the src datum. Clone here implies a copy similar in terms of look and contents, but internally may differ a bit. The clone shall not keep references onto instances owned by the original, in most cases. -Try to avoid overriding this proc directly and instead override GetCloneArgs() and PopulateClone().
Returns a list with the arguments passed to the new() of a cloned instance. -Override this, instead of Clone() itself.
Used to allow sub-classes to do further processing on the cloned instance returned by Clone(). +Try to avoid overriding this proc directly and instead override GetCloneArgs() and PopulateClone().
Returns a list with the arguments passed to the new() of a cloned instance. +Override this, instead of Clone() itself.
Used to allow sub-classes to do further processing on the cloned instance returned by Clone(). Override this, instead of Clone() itself. -** Please avoid running update code in here if possible. You could always override Clone() for this kind of things, so we don't end up with 50 calls to update_icon in the chain. **
Data to be sent to the UI. +** Please avoid running update code in here if possible. You could always override Clone() for this kind of things, so we don't end up with 50 calls to update_icon in the chain. **
Data to be sent to the UI. This must be implemented for a UI to work.
@param user /mob The mob who interacting with the UI @param ui_key string A string key to use for this UI. Allows for multiple unique UIs on one obj/mob (defaut value "main")
-@return data /list Data to be sent to the UI
The ui_interact proc is used to open and update Nano UIs +
@return data /list Data to be sent to the UI
The ui_interact proc is used to open and update Nano UIs If ui_interact is not used then the UI will not update correctly ui_interact is currently defined for /atom/movable
@param user /mob The mob who is interacting with this UI @param ui_key string A string key to use for this UI. Allows for multiple unique UIs on one obj/mob (defaut value "main") @param ui /datum/nanoui This parameter is passed by the nanoui process() proc when updating an open UI @param force_open boolean Force the UI to (re)open, even if it's already open
-@return nothing
@return nothing
\ No newline at end of file diff --git a/datum/ability_handler.html b/datum/ability_handler.html index ce8552219d5..14f778194e2 100644 --- a/datum/ability_handler.html +++ b/datum/ability_handler.html @@ -1 +1 @@ -Procs | |
refresh_login | Individual ability methods/disciplines (psioncs, etc.) so that mobs can have multiple. |
---|
Individual ability methods/disciplines (psioncs, etc.) so that mobs can have multiple.
Procs | |
refresh_login | Individual ability methods/disciplines (psioncs, etc.) so that mobs can have multiple. |
---|
Individual ability methods/disciplines (psioncs, etc.) so that mobs can have multiple.
Vars | |
background_icon | The icon to use for the background icon state. Defaults to button_icon if unset. |
---|
The icon to use for the background icon state. Defaults to button_icon if unset.
Vars | |
background_icon | The icon to use for the background icon state. Defaults to button_icon if unset. |
---|
The icon to use for the background icon state. Defaults to button_icon if unset.
Procs | |
restart | admins2.dm merge |
---|---|
show_player_panel | Panels |
admins2.dm merge
Panels
Procs | |
restart | admins2.dm merge |
---|---|
show_player_panel | Panels |
admins2.dm merge
Panels
Procs | |
clear_zeroth_laws | Clear Laws |
---|---|
delete_law | Remove Laws |
get_state_law | Stating Laws |
set_state_law | Set |
set_zeroth_law | Add Laws |
Clear Laws
Remove Laws
Stating Laws
-Get
Set
Add Laws
Procs | |
clear_zeroth_laws | Clear Laws |
---|---|
delete_law | Remove Laws |
get_state_law | Stating Laws |
set_state_law | Set |
set_zeroth_law | Add Laws |
Clear Laws
Remove Laws
Stating Laws
+Get
Set
Add Laws
Vars | |
alarms | All alarms, to handle cases when an origin has been deleted with one or more active alarms |
---|---|
alarms_assoc | Associative list of alarms, to efficiently acquire them based on origin. |
alarms_by_z | Associative list of alarms based on origin z level |
listeners | A list of all objects interested in alarm changes. |
All alarms, to handle cases when an origin has been deleted with one or more active alarms
Associative list of alarms, to efficiently acquire them based on origin.
Associative list of alarms based on origin z level
A list of all objects interested in alarm changes.
Vars | |
alarms | All alarms, to handle cases when an origin has been deleted with one or more active alarms |
---|---|
alarms_assoc | Associative list of alarms, to efficiently acquire them based on origin. |
alarms_by_z | Associative list of alarms based on origin z level |
listeners | A list of all objects interested in alarm changes. |
All alarms, to handle cases when an origin has been deleted with one or more active alarms
Associative list of alarms, to efficiently acquire them based on origin.
Associative list of alarms based on origin z level
A list of all objects interested in alarm changes.
Procs | |
get_ui_content | Backpack Tweaks |
---|
Backpack Tweaks
Procs | |
get_ui_content | Backpack Tweaks |
---|
Backpack Tweaks
Vars | |
common_stylesheet | this CSS sheet is common to all UIs |
---|---|
window_id | window_id is used as the window name for browse and onclose |
this CSS sheet is common to all UIs
window_id is used as the window name for browse and onclose
Vars | |
common_stylesheet | this CSS sheet is common to all UIs |
---|---|
window_id | window_id is used as the window name for browse and onclose |
this CSS sheet is common to all UIs
window_id is used as the window name for browse and onclose
A datum that holds a proc to be called on another object, used to track proccalls to other objects
+A datum that holds a proc to be called on another object, used to track proccalls to other objects
var/datum/callback/C = new(object|null, PROC_REF(procname), arg1, arg2, ... argn)
var/timerid = addtimer(C, time, timertype)
@@ -21,4 +21,4 @@ global proc
GLOBAL_PROC_REF(procname)
CALLBACK(src, GLOBAL_PROC_REF(some_proc_here))
proc defined on some type
-TYPE_PROC_REF(/some/type/, some_proc_here)
TYPE_PROC_REF(/some/type/, some_proc_here)
Procs | |
sanitize_setup | Category Category Setup |
---|
Category Category Setup
Procs | |
sanitize_setup | Category Category Setup |
---|
Category Category Setup
Category Item Setup
Procs | |
prune_job_prefs | Prune a player's job preferences based on current branch, rank and species |
---|
Prune a player's job preferences based on current branch, rank and species
-This proc goes through all the preferred jobs, and removes the ones incompatible with current rank or branch.
Category Item Setup
Procs | |
prune_job_prefs | Prune a player's job preferences based on current branch, rank and species |
---|
Prune a player's job preferences based on current branch, rank and species
+This proc goes through all the preferred jobs, and removes the ones incompatible with current rank or branch.
Individual comment datum. Tracked by the comment holder datum.
Vars | |
author_char | Author character name for comment/display. |
---|---|
author_ckey | Author ckey for comment/display. |
author_id | Combined ckey/save slot GUID for linking back to the author's comments page. |
body | Actual text body of the comment. |
last_updated | REALTIMEOFDAY value of the last edit, used for hiding old or out of date comments. |
main_mood | Formatting info for displaying comments a la the old shipping manifest. |
serialize_fields | Static list of var keys to serialize. TODO: unit test |
Procs | |
serialize_to_list | Generate a list of fields to values for use in comment holder json serialization. |
Author character name for comment/display.
Author ckey for comment/display.
Combined ckey/save slot GUID for linking back to the author's comments page.
Actual text body of the comment.
REALTIMEOFDAY value of the last edit, used for hiding old or out of date comments.
Formatting info for displaying comments a la the old shipping manifest.
Static list of var keys to serialize. TODO: unit test
Generate a list of fields to values for use in comment holder json serialization.
Individual comment datum. Tracked by the comment holder datum.
Vars | |
author_char | Author character name for comment/display. |
---|---|
author_ckey | Author ckey for comment/display. |
author_id | Combined ckey/save slot GUID for linking back to the author's comments page. |
body | Actual text body of the comment. |
last_updated | REALTIMEOFDAY value of the last edit, used for hiding old or out of date comments. |
main_mood | Formatting info for displaying comments a la the old shipping manifest. |
serialize_fields | Static list of var keys to serialize. TODO: unit test |
Procs | |
serialize_to_list | Generate a list of fields to values for use in comment holder json serialization. |
Author character name for comment/display.
Author ckey for comment/display.
Combined ckey/save slot GUID for linking back to the author's comments page.
Actual text body of the comment.
REALTIMEOFDAY value of the last edit, used for hiding old or out of date comments.
Formatting info for displaying comments a la the old shipping manifest.
Static list of var keys to serialize. TODO: unit test
Generate a list of fields to values for use in comment holder json serialization.
Main holder class for character comments - primarily user-set info, tracking vars, and a list of comment datums.
Vars | |
allow_comments | Whether or not this record is allowing comments currently |
---|---|
char_name | Owning character name (for searches) |
ckey | Owning ckey (for searches). |
comments | Linear list of comment datums for comments left on this character. |
file_location | The location this file was loaded from in the first place. Defaults to subsystem and ID if unset. |
has_new_comments | Boolean to indicate if the owner of this record has read it since it was last update. |
ic_info | Any user-specified in character info, like Teshari pack stuff or faction notes. |
name | A user-descriptive (searchable) name for presenting comment holders. |
ooc_info | Any user-specified out of character info, like content warnings. |
record_id | GUID for this ckey/save slot combo. |
serialize_fields | Static list of var keys to serialize. TODO: unit test |
show_info_on_examine | Boolean to indicate if this character will show IC and OOC info when examined. |
Whether or not this record is allowing comments currently
Owning character name (for searches)
Owning ckey (for searches).
Linear list of comment datums for comments left on this character.
The location this file was loaded from in the first place. Defaults to subsystem and ID if unset.
Boolean to indicate if the owner of this record has read it since it was last update.
Any user-specified in character info, like Teshari pack stuff or faction notes.
A user-descriptive (searchable) name for presenting comment holders.
Any user-specified out of character info, like content warnings.
GUID for this ckey/save slot combo.
Static list of var keys to serialize. TODO: unit test
Boolean to indicate if this character will show IC and OOC info when examined.
Main holder class for character comments - primarily user-set info, tracking vars, and a list of comment datums.
Vars | |
allow_comments | Whether or not this record is allowing comments currently |
---|---|
char_name | Owning character name (for searches) |
ckey | Owning ckey (for searches). |
comments | Linear list of comment datums for comments left on this character. |
file_location | The location this file was loaded from in the first place. Defaults to subsystem and ID if unset. |
has_new_comments | Boolean to indicate if the owner of this record has read it since it was last update. |
ic_info | Any user-specified in character info, like Teshari pack stuff or faction notes. |
name | A user-descriptive (searchable) name for presenting comment holders. |
ooc_info | Any user-specified out of character info, like content warnings. |
record_id | GUID for this ckey/save slot combo. |
serialize_fields | Static list of var keys to serialize. TODO: unit test |
show_info_on_examine | Boolean to indicate if this character will show IC and OOC info when examined. |
Whether or not this record is allowing comments currently
Owning character name (for searches)
Owning ckey (for searches).
Linear list of comment datums for comments left on this character.
The location this file was loaded from in the first place. Defaults to subsystem and ID if unset.
Boolean to indicate if the owner of this record has read it since it was last update.
Any user-specified in character info, like Teshari pack stuff or faction notes.
A user-descriptive (searchable) name for presenting comment holders.
Any user-specified out of character info, like content warnings.
GUID for this ckey/save slot combo.
Static list of var keys to serialize. TODO: unit test
Boolean to indicate if this character will show IC and OOC info when examined.
Vars | |
antag_text | Text shown to antagonists. |
---|---|
associated_paths | A list of typepaths used to populate associated_strings. |
associated_strings | A list of string search terms associated with this entry. |
available_to_map_tech_level | The map tech level this entry will appear for. |
categories | A list of category decls that this codex entry belongs to. |
disambiguator | Value used to disambiguate overlapping codex names. |
guide_html | HTML returned when the entry is used to populate a guide manual. |
include_subtypes | If TRUE, associated_paths is set to include each path's subtypes in New(). |
lore_text | IC text. |
mechanics_text | OOC text. |
skip_hardcoded_generation | If TRUE, don't create this entry in codex init. Where possible, consider using abstract_type or store_codex_entry = FALSE instead. |
store_codex_entry | Whether or not this entry is stored on the subsystem, or is associated with solely the specific atom. |
unsearchable | If TRUE, the entry will be excluded from search results, category listings, or the index. -It will only be accessible from items and entries that directly link to it. |
Text shown to antagonists.
A list of typepaths used to populate associated_strings.
A list of string search terms associated with this entry.
The map tech level this entry will appear for.
A list of category decls that this codex entry belongs to.
Value used to disambiguate overlapping codex names.
HTML returned when the entry is used to populate a guide manual.
If TRUE, associated_paths is set to include each path's subtypes in New().
IC text.
OOC text.
If TRUE, don't create this entry in codex init. Where possible, consider using abstract_type or store_codex_entry = FALSE instead.
Whether or not this entry is stored on the subsystem, or is associated with solely the specific atom.
If TRUE, the entry will be excluded from search results, category listings, or the index. -It will only be accessible from items and entries that directly link to it.
Vars | |
antag_text | Text shown to antagonists. |
---|---|
associated_paths | A list of typepaths used to populate associated_strings. |
associated_strings | A list of string search terms associated with this entry. |
available_to_map_tech_level | The map tech level this entry will appear for. |
categories | A list of category decls that this codex entry belongs to. |
disambiguator | Value used to disambiguate overlapping codex names. |
guide_html | HTML returned when the entry is used to populate a guide manual. |
include_subtypes | If TRUE, associated_paths is set to include each path's subtypes in New(). |
lore_text | IC text. |
mechanics_text | OOC text. |
skip_hardcoded_generation | If TRUE, don't create this entry in codex init. Where possible, consider using abstract_type or store_codex_entry = FALSE instead. |
store_codex_entry | Whether or not this entry is stored on the subsystem, or is associated with solely the specific atom. |
unsearchable | If TRUE, the entry will be excluded from search results, category listings, or the index. +It will only be accessible from items and entries that directly link to it. |
Text shown to antagonists.
A list of typepaths used to populate associated_strings.
A list of string search terms associated with this entry.
The map tech level this entry will appear for.
A list of category decls that this codex entry belongs to.
Value used to disambiguate overlapping codex names.
HTML returned when the entry is used to populate a guide manual.
If TRUE, associated_paths is set to include each path's subtypes in New().
IC text.
OOC text.
If TRUE, don't create this entry in codex init. Where possible, consider using abstract_type or store_codex_entry = FALSE instead.
Whether or not this entry is stored on the subsystem, or is associated with solely the specific atom.
If TRUE, the entry will be excluded from search results, category listings, or the index. +It will only be accessible from items and entries that directly link to it.
Procs | |
Clone | Returns independent copy of this file. -rename: Whether the clone shold be auto-renamed. |
---|
Returns independent copy of this file. -rename: Whether the clone shold be auto-renamed.
Procs | |
Clone | Returns independent copy of this file. +rename: Whether the clone shold be auto-renamed. |
---|
Returns independent copy of this file. +rename: Whether the clone shold be auto-renamed.
Procs | |||||||
format_color_cpu | Colors cpu number before output. | ||||||
---|---|---|---|---|---|---|---|
format_color_cpu_map | Colors map cpu number before output.
+master
Proc Detailsformat_color_cpuColors cpu number before output. format_color_cpu_mapColors map cpu number before output. +It uses same colors, but need different number range. |
Colors cpu number before output.
Colors map cpu number before output. Same as before, but specially for map cpu. -It uses same colors, but need different number range.
Vars | |
_internal_name | A stringified version of the variable name for this subsystem. Used by the processing subsystem to make sure is_processing is unset properly. |
---|---|
Procs | |
PreInit | datum/controller/subsystem/New() |
A stringified version of the variable name for this subsystem. Used by the processing subsystem to make sure is_processing is unset properly.
datum/controller/subsystem/New()
Vars | |
_internal_name | A stringified version of the variable name for this subsystem. Used by the processing subsystem to make sure is_processing is unset properly. |
---|---|
Procs | |
PreInit | datum/controller/subsystem/New() |
A stringified version of the variable name for this subsystem. Used by the processing subsystem to make sure is_processing is unset properly.
datum/controller/subsystem/New()
Procs | |
CheckHeadPositions | This proc is called at the start of the level loop of divide_occupations() and will cause head jobs to be checked before any other jobs of the same level |
---|---|
divide_occupations | |
fill_head_position | This proc is called before the level loop of divide_occupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check |
This proc is called at the start of the level loop of divide_occupations() and will cause head jobs to be checked before any other jobs of the same level
Procs | |
CheckHeadPositions | This proc is called at the start of the level loop of divide_occupations() and will cause head jobs to be checked before any other jobs of the same level |
---|---|
divide_occupations | |
fill_head_position | This proc is called before the level loop of divide_occupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check |
This proc is called at the start of the level loop of divide_occupations() and will cause head jobs to be checked before any other jobs of the same level
This proc is called before the level loop of divide_occupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check
This proc is called before the level loop of divide_occupations() and will try to select a head, ignoring ALL non-head preferences for every level until it locates a head or runs out of levels to check
Vars | |
accessible_z_levels | This list contains the z-level numbers which can be accessed via space travel and the percentile chances to get there. |
---|---|
admin_levels | List of z-levels for admin functionality (Centcom, shuttle transit, etc) |
base_floor_area | Replacement area, if a base_floor_type is generated. Leave blank to skip. |
base_floor_type | The turf type used when generating floors between Z-levels at startup. |
base_turf_by_z | Custom base turf by Z-level. Defaults to world.turf for unlisted Z-levels |
connected_z_cache | A list of connected z-levels to avoid repeatedly rebuilding connections |
contact_levels | List of z-levels that can be contacted from the station, for eg announcements |
levels_by_id | Associative list of levels by string ID |
levels_by_z | Associative list of levels by strict z-level |
map_levels | Z-levels available to various consoles, such as the crew monitor. Defaults to station_levels if unset. |
planetoid_data_by_id | Associative list of planetoid/exoplanet data currently registered. The key is the planetoid id, the value is the planetoid_data datum. |
planetoid_data_by_z | List of all z-levels in the world where the index corresponds to a z-level, and the key at that index is the planetoid_data datum for the associated planet |
player_levels | List of z-levels a character can typically reach |
queued_markers | A list of queued markers to initialize during SSmapping init. |
sealed_levels | List of z-levels that don't allow random transit at edge |
station_levels | List of z-levels containing the 'main map' |
turbolifts_to_initialize | A list of turbolift holders to initialize. |
Procs | |
get_connected_levels_data | Returns a list of all the level data of all the connected z levels to the given z.DBColumn |
register_level_data | Registers all the needed infos from a level_data into the mapping subsystem |
register_planetoid | Adds a planetoid/exoplanet's data to the lookup tables. Optionally if the topmost_level_id var is set on P, will automatically assign all linked levels to P. |
register_planetoid_levels | Set the specified planetoid data for the specified level, and its connected levels. |
start_processing_all_planets | Called by the roundstart hook once we toggle to in-game state |
unregister_planetoid | Removes a planetoid/exoplanet's data from the lookup tables. |
This list contains the z-level numbers which can be accessed via space travel and the percentile chances to get there.
List of z-levels for admin functionality (Centcom, shuttle transit, etc)
Replacement area, if a base_floor_type is generated. Leave blank to skip.
The turf type used when generating floors between Z-levels at startup.
Custom base turf by Z-level. Defaults to world.turf for unlisted Z-levels
A list of connected z-levels to avoid repeatedly rebuilding connections
List of z-levels that can be contacted from the station, for eg announcements
Associative list of levels by string ID
Associative list of levels by strict z-level
Z-levels available to various consoles, such as the crew monitor. Defaults to station_levels if unset.
Associative list of planetoid/exoplanet data currently registered. The key is the planetoid id, the value is the planetoid_data datum.
List of all z-levels in the world where the index corresponds to a z-level, and the key at that index is the planetoid_data datum for the associated planet
List of z-levels a character can typically reach
A list of queued markers to initialize during SSmapping init.
List of z-levels that don't allow random transit at edge
List of z-levels containing the 'main map'
A list of turbolift holders to initialize.
Returns a list of all the level data of all the connected z levels to the given z.DBColumn
Registers all the needed infos from a level_data into the mapping subsystem
Adds a planetoid/exoplanet's data to the lookup tables. Optionally if the topmost_level_id var is set on P, will automatically assign all linked levels to P.
Set the specified planetoid data for the specified level, and its connected levels.
Called by the roundstart hook once we toggle to in-game state
Removes a planetoid/exoplanet's data from the lookup tables.
Vars | |
accessible_z_levels | This list contains the z-level numbers which can be accessed via space travel and the percentile chances to get there. |
---|---|
admin_levels | List of z-levels for admin functionality (Centcom, shuttle transit, etc) |
base_floor_area | Replacement area, if a base_floor_type is generated. Leave blank to skip. |
base_floor_type | The turf type used when generating floors between Z-levels at startup. |
base_turf_by_z | Custom base turf by Z-level. Defaults to world.turf for unlisted Z-levels |
connected_z_cache | A list of connected z-levels to avoid repeatedly rebuilding connections |
contact_levels | List of z-levels that can be contacted from the station, for eg announcements |
levels_by_id | Associative list of levels by string ID |
levels_by_z | Associative list of levels by strict z-level |
map_levels | Z-levels available to various consoles, such as the crew monitor. Defaults to station_levels if unset. |
planetoid_data_by_id | Associative list of planetoid/exoplanet data currently registered. The key is the planetoid id, the value is the planetoid_data datum. |
planetoid_data_by_z | List of all z-levels in the world where the index corresponds to a z-level, and the key at that index is the planetoid_data datum for the associated planet |
player_levels | List of z-levels a character can typically reach |
queued_markers | A list of queued markers to initialize during SSmapping init. |
sealed_levels | List of z-levels that don't allow random transit at edge |
station_levels | List of z-levels containing the 'main map' |
turbolifts_to_initialize | A list of turbolift holders to initialize. |
Procs | |
get_connected_levels_data | Returns a list of all the level data of all the connected z levels to the given z.DBColumn |
register_level_data | Registers all the needed infos from a level_data into the mapping subsystem |
register_planetoid | Adds a planetoid/exoplanet's data to the lookup tables. Optionally if the topmost_level_id var is set on P, will automatically assign all linked levels to P. |
register_planetoid_levels | Set the specified planetoid data for the specified level, and its connected levels. |
start_processing_all_planets | Called by the roundstart hook once we toggle to in-game state |
unregister_planetoid | Removes a planetoid/exoplanet's data from the lookup tables. |
This list contains the z-level numbers which can be accessed via space travel and the percentile chances to get there.
List of z-levels for admin functionality (Centcom, shuttle transit, etc)
Replacement area, if a base_floor_type is generated. Leave blank to skip.
The turf type used when generating floors between Z-levels at startup.
Custom base turf by Z-level. Defaults to world.turf for unlisted Z-levels
A list of connected z-levels to avoid repeatedly rebuilding connections
List of z-levels that can be contacted from the station, for eg announcements
Associative list of levels by string ID
Associative list of levels by strict z-level
Z-levels available to various consoles, such as the crew monitor. Defaults to station_levels if unset.
Associative list of planetoid/exoplanet data currently registered. The key is the planetoid id, the value is the planetoid_data datum.
List of all z-levels in the world where the index corresponds to a z-level, and the key at that index is the planetoid_data datum for the associated planet
List of z-levels a character can typically reach
A list of queued markers to initialize during SSmapping init.
List of z-levels that don't allow random transit at edge
List of z-levels containing the 'main map'
A list of turbolift holders to initialize.
Returns a list of all the level data of all the connected z levels to the given z.DBColumn
Registers all the needed infos from a level_data into the mapping subsystem
Adds a planetoid/exoplanet's data to the lookup tables. Optionally if the topmost_level_id var is set on P, will automatically assign all linked levels to P.
Set the specified planetoid data for the specified level, and its connected levels.
Called by the roundstart hook once we toggle to in-game state
Removes a planetoid/exoplanet's data from the lookup tables.
Procs | |
get_rock_color | Returns the rock color for a given exterior wall |
---|
Returns the rock color for a given exterior wall
Procs | |
get_rock_color | Returns the rock color for a given exterior wall |
---|
Returns the rock color for a given exterior wall
Vars | |
reconnect_queues | Assoc list of network_id -> queue of devices that need to reconnect. This is checked when a new network is made. |
---|
Assoc list of network_id -> queue of devices that need to reconnect. This is checked when a new network is made.
Vars | |
reconnect_queues | Assoc list of network_id -> queue of devices that need to reconnect. This is checked when a new network is made. |
---|
Assoc list of network_id -> queue of devices that need to reconnect. This is checked when a new network is made.
Procs | |||||||||||||||||||||||
close_uis | Close all /nanoui uis attached to src_object | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
close_user_uis | Close /nanoui uis belonging to user | ||||||||||||||||||||||
get_open_ui | Get an open /nanoui ui for the current user, src_object and ui_key | ||||||||||||||||||||||
try_update_ui | Get an open /nanoui ui for the current user, src_object and ui_key and try to update it with data | ||||||||||||||||||||||
ui_closed | Remove a /nanoui ui from the list of open uis
+nano
Proc Detailsclose_uisClose all /nanoui uis attached to src_object +Transfers all open UIs to the new mob |
Close all /nanoui uis attached to src_object
@param src_object /obj|/mob The obj or mob which the uis are attached to
-@return int The number of uis close
Close /nanoui uis belonging to user
+@return int The number of uis close
Close /nanoui uis belonging to user
@param user /mob The mob who owns the uis @param src_object /obj|/mob If src_object is provided, only close uis which are attached to src_object (optional) @param ui_key string If ui_key is provided, only close uis with a matching ui_key (optional)
-@return int The number of uis closed
Get an open /nanoui ui for the current user, src_object and ui_key
+@return int The number of uis closed
Get an open /nanoui ui for the current user, src_object and ui_key
@param user /mob The mob who opened/owns the ui @param src_object /obj|/mob The obj or mob which the ui belongs to @param ui_key string A string key used for the ui
-@return /nanoui Returns the found ui, or null if none exists
Get an open /nanoui ui for the current user, src_object and ui_key and try to update it with data
+@return /nanoui Returns the found ui, or null if none exists
Get an open /nanoui ui for the current user, src_object and ui_key and try to update it with data
@param user /mob The mob who opened/owns the ui @param src_object /obj|/mob The obj or mob which the ui belongs to @param ui_key string A string key used for the ui @param ui /datum/nanoui An existing instance of the ui (can be null) @param data list The data to be passed to the ui, if it exists @param force_open boolean The ui is being forced to (re)open, so close ui if it exists (instead of updating)
-@return /nanoui Returns the found ui, for null if none exists
Remove a /nanoui ui from the list of open uis +
@return /nanoui Returns the found ui, for null if none exists
Remove a /nanoui ui from the list of open uis This is called by the /nanoui close() proc
@param ui /nanoui The ui to remove
-@return int 0 if no ui was removed, 1 if removed successfully
Add a /nanoui ui to the list of open uis +
@return int 0 if no ui was removed, 1 if removed successfully
Add a /nanoui ui to the list of open uis This is called by the /nanoui open() proc
@param ui /nanoui The ui to add
-@return nothing
Update all /nanoui uis attached to src_object
+@return nothing
Update all /nanoui uis attached to src_object
@param src_object /obj|/mob The obj or mob which the uis are attached to
-@return int The number of uis updated
Update /nanoui uis belonging to user
+@return int The number of uis updated
Update /nanoui uis belonging to user
@param user /mob The mob who owns the uis @param src_object /obj|/mob If src_object is provided, only update uis which are attached to src_object (optional) @param ui_key string If ui_key is provided, only update uis with a matching ui_key (optional)
-@return int The number of uis updated
This is called on user logout +
@return int The number of uis updated
This is called on user logout Closes/clears all uis attached to the user's /mob
@param user /mob The user's mob
-@return nothing
This is called when a player transfers from one mob to another +
@return nothing
This is called when a player transfers from one mob to another Transfers all open UIs to the new mob
@param oldMob /mob The user's old mob @param newMob /mob The user's new mob
-@return nothing
@return nothing
\ No newline at end of file diff --git a/datum/controller/subsystem/processing/plants.html b/datum/controller/subsystem/processing/plants.html index c8cf971a46e..158d1dfe239 100644 --- a/datum/controller/subsystem/processing/plants.html +++ b/datum/controller/subsystem/processing/plants.html @@ -1 +1 @@ -Vars | |
gene_masked_list | Precalculated gene decl/mask list for use in botany machine UI. |
---|---|
plant_icon_cache | Stores images of growth, fruits and seeds. |
plant_product_sprites | List of all growth sprites plus number of growth stages. |
plant_sprites | List of all harvested product sprites. |
product_descs | Stores generated fruit descs. |
seeds | All seed data stored here. |
Precalculated gene decl/mask list for use in botany machine UI.
Stores images of growth, fruits and seeds.
List of all growth sprites plus number of growth stages.
List of all harvested product sprites.
Stores generated fruit descs.
All seed data stored here.
Vars | |
gene_masked_list | Precalculated gene decl/mask list for use in botany machine UI. |
---|---|
plant_icon_cache | Stores images of growth, fruits and seeds. |
plant_product_sprites | List of all growth sprites plus number of growth stages. |
plant_sprites | List of all harvested product sprites. |
product_descs | Stores generated fruit descs. |
seeds | All seed data stored here. |
Precalculated gene decl/mask list for use in botany machine UI.
Stores images of growth, fruits and seeds.
List of all growth sprites plus number of growth stages.
List of all harvested product sprites.
Stores generated fruit descs.
All seed data stored here.
Vars | |
file_cache | Cache for files retrieved (such as icons) |
---|---|
forbidden_paths | Defines a list of paths that secrets are not allowed to create. Anything loaded that is of a type or subtype in this list will throw an error. |
load_directories | Root locations of content to load; terminating / is important for example dir check. Maps and mods inject their own directories into this list pre-init. |
permitted_paths | Defines a list of paths that secrets are allowed to create. Anything loaded that isn't of a type or subtype in this list will throw an error. |
protected_lists | List of vars to hide from View Variables as this system is supposed to be full of secrets. |
secrets_by_key | Secrets indexed by key for specific retrieval. |
Cache for files retrieved (such as icons)
Defines a list of paths that secrets are not allowed to create. Anything loaded that is of a type or subtype in this list will throw an error.
Root locations of content to load; terminating / is important for example dir check. Maps and mods inject their own directories into this list pre-init.
Defines a list of paths that secrets are allowed to create. Anything loaded that isn't of a type or subtype in this list will throw an error.
List of vars to hide from View Variables as this system is supposed to be full of secrets.
Secrets indexed by key for specific retrieval.
Vars | |
file_cache | Cache for files retrieved (such as icons) |
---|---|
forbidden_paths | Defines a list of paths that secrets are not allowed to create. Anything loaded that is of a type or subtype in this list will throw an error. |
load_directories | Root locations of content to load; terminating / is important for example dir check. Maps and mods inject their own directories into this list pre-init. |
permitted_paths | Defines a list of paths that secrets are allowed to create. Anything loaded that isn't of a type or subtype in this list will throw an error. |
protected_lists | List of vars to hide from View Variables as this system is supposed to be full of secrets. |
secrets_by_key | Secrets indexed by key for specific retrieval. |
Cache for files retrieved (such as icons)
Defines a list of paths that secrets are not allowed to create. Anything loaded that is of a type or subtype in this list will throw an error.
Root locations of content to load; terminating / is important for example dir check. Maps and mods inject their own directories into this list pre-init.
Defines a list of paths that secrets are allowed to create. Anything loaded that isn't of a type or subtype in this list will throw an error.
List of vars to hide from View Variables as this system is supposed to be full of secrets.
Secrets indexed by key for specific retrieval.
Procs | |
initialize_shuttle | Shuttle Added Handling |
---|
Shuttle Added Handling
Procs | |
initialize_shuttle | Shuttle Added Handling |
---|
Shuttle Added Handling
Vars | |
bucket_auto_reset | Boolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time |
---|---|
bucket_count | How many timers are in the buckets |
bucket_list | List of buckets, each bucket holds every timer that has to run that byond tick |
bucket_reset_count | How many times bucket was reset |
bucket_resolution | world.tick_lag the bucket was designed for |
clienttime_timers | Special timers that run in real-time, not BYOND time; these are more expensive to run and maintain |
hashes | A hashlist dictionary used for storing unique timers |
head_offset | world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets |
last_invoke_tick | Contains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed |
last_invoke_warning | Contains the last time that a warning was issued for not invoking callbacks |
next_clienttime_timer_index | Keeps track of the next index to work on for client timers |
practical_offset | Index of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list. |
second_queue | Queue used for storing timers that do not fit into the current buckets |
timer_id_dict | List of all active timers associated to their timer ID (for easy lookup) |
Procs | |
get_timer_debug_string | Generates a string with details about the timed event for debugging purposes |
reset_buckets | Destroys the existing buckets and creates new buckets from the existing timed events |
Boolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time
How many timers are in the buckets
List of buckets, each bucket holds every timer that has to run that byond tick
How many times bucket was reset
world.tick_lag the bucket was designed for
Special timers that run in real-time, not BYOND time; these are more expensive to run and maintain
A hashlist dictionary used for storing unique timers
world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets
Contains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed
Contains the last time that a warning was issued for not invoking callbacks
Keeps track of the next index to work on for client timers
Index of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list.
Queue used for storing timers that do not fit into the current buckets
List of all active timers associated to their timer ID (for easy lookup)
Generates a string with details about the timed event for debugging purposes
Destroys the existing buckets and creates new buckets from the existing timed events
Vars | |
bucket_auto_reset | Boolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time |
---|---|
bucket_count | How many timers are in the buckets |
bucket_list | List of buckets, each bucket holds every timer that has to run that byond tick |
bucket_reset_count | How many times bucket was reset |
bucket_resolution | world.tick_lag the bucket was designed for |
clienttime_timers | Special timers that run in real-time, not BYOND time; these are more expensive to run and maintain |
hashes | A hashlist dictionary used for storing unique timers |
head_offset | world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets |
last_invoke_tick | Contains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed |
last_invoke_warning | Contains the last time that a warning was issued for not invoking callbacks |
next_clienttime_timer_index | Keeps track of the next index to work on for client timers |
practical_offset | Index of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list. |
second_queue | Queue used for storing timers that do not fit into the current buckets |
timer_id_dict | List of all active timers associated to their timer ID (for easy lookup) |
Procs | |
get_timer_debug_string | Generates a string with details about the timed event for debugging purposes |
reset_buckets | Destroys the existing buckets and creates new buckets from the existing timed events |
Boolean operator controlling if the timer SS will automatically reset buckets if it fails to invoke callbacks for an extended period of time
How many timers are in the buckets
List of buckets, each bucket holds every timer that has to run that byond tick
How many times bucket was reset
world.tick_lag the bucket was designed for
Special timers that run in real-time, not BYOND time; these are more expensive to run and maintain
A hashlist dictionary used for storing unique timers
world.time of the first entry in the bucket list, effectively the 'start time' of the current buckets
Contains the last time that a timer's callback was invoked, or the last tick the SS fired if no timers are being processed
Contains the last time that a warning was issued for not invoking callbacks
Keeps track of the next index to work on for client timers
Index of the wrap around pivot for buckets. buckets before this are later running buckets wrapped around from the end of the bucket list.
Queue used for storing timers that do not fit into the current buckets
List of all active timers associated to their timer ID (for easy lookup)
Generates a string with details about the timed event for debugging purposes
Destroys the existing buckets and creates new buckets from the existing timed events
Vars | |
INDEX_INFLIGHT | The status entry index of the inflight state. |
---|---|
INDEX_INPUT_STATE | The status entry index of the input bar typing state. |
INDEX_PREFERENCE | The status entry index of the related client's typing indicator visibility preference. |
INDEX_TIMEOUT | The status entry index of the timeout threshold. |
INDEX_VERB_STATE | The status entry index of the verb input typing state. |
INPUT_HANDLE | The skin control to poll for TYPING_STATE_INPUT status. |
MAX_INDEX | The highest index in a status entry. |
match_verbs | Matches input bar verbs that should set TYPING_STATE_INPUT. |
queue | A list of clients waiting to be polled for input state. |
status | A list of ckey to list, containing current state data. See get_entry() for details. |
Procs | |
get_client_record | Return, generating if necessary, a ckey-indexed list holding typing status. |
set_indicator_state | Updates client|ckey's verb typing state to new_state. |
update_indicator | Attempt to update the mob's typing state and indicator according to new state. |
update_indicator_state_from_winget | Request client's input bar state using winget and updating entry accordingly. |
update_preference | Updates client's preference bool for whether typing indicators should be shown. |
The status entry index of the inflight state.
The status entry index of the input bar typing state.
The status entry index of the related client's typing indicator visibility preference.
The status entry index of the timeout threshold.
The status entry index of the verb input typing state.
The skin control to poll for TYPING_STATE_INPUT status.
The highest index in a status entry.
Matches input bar verbs that should set TYPING_STATE_INPUT.
A list of clients waiting to be polled for input state.
A list of ckey to list, containing current state data. See get_entry() for details.
Return, generating if necessary, a ckey-indexed list holding typing status.
Updates client|ckey's verb typing state to new_state.
Attempt to update the mob's typing state and indicator according to new state.
Request client's input bar state using winget and updating entry accordingly.
Updates client's preference bool for whether typing indicators should be shown.
Vars | |
INDEX_INFLIGHT | The status entry index of the inflight state. |
---|---|
INDEX_INPUT_STATE | The status entry index of the input bar typing state. |
INDEX_PREFERENCE | The status entry index of the related client's typing indicator visibility preference. |
INDEX_TIMEOUT | The status entry index of the timeout threshold. |
INDEX_VERB_STATE | The status entry index of the verb input typing state. |
INPUT_HANDLE | The skin control to poll for TYPING_STATE_INPUT status. |
MAX_INDEX | The highest index in a status entry. |
match_verbs | Matches input bar verbs that should set TYPING_STATE_INPUT. |
queue | A list of clients waiting to be polled for input state. |
status | A list of ckey to list, containing current state data. See get_entry() for details. |
Procs | |
get_client_record | Return, generating if necessary, a ckey-indexed list holding typing status. |
set_indicator_state | Updates client|ckey's verb typing state to new_state. |
update_indicator | Attempt to update the mob's typing state and indicator according to new state. |
update_indicator_state_from_winget | Request client's input bar state using winget and updating entry accordingly. |
update_preference | Updates client's preference bool for whether typing indicators should be shown. |
The status entry index of the inflight state.
The status entry index of the input bar typing state.
The status entry index of the related client's typing indicator visibility preference.
The status entry index of the timeout threshold.
The status entry index of the verb input typing state.
The skin control to poll for TYPING_STATE_INPUT status.
The highest index in a status entry.
Matches input bar verbs that should set TYPING_STATE_INPUT.
A list of clients waiting to be polled for input state.
A list of ckey to list, containing current state data. See get_entry() for details.
Return, generating if necessary, a ckey-indexed list holding typing status.
Updates client|ckey's verb typing state to new_state.
Attempt to update the mob's typing state and indicator according to new state.
Request client's input bar state using winget and updating entry accordingly.
Updates client's preference bool for whether typing indicators should be shown.
Procs | |
register_weather_system | Registers a given weather system obj for getting updates by SSweather. |
---|---|
setup_weather_system | Sets a weather state to use for a given z level/z level stack. topmost_level may be a level_id or a level_data instance. |
unregister_weather_system | Remove a weather systeam from the processing lists. |
Registers a given weather system obj for getting updates by SSweather.
Sets a weather state to use for a given z level/z level stack. topmost_level may be a level_id or a level_data instance.
Remove a weather systeam from the processing lists.
Procs | |
register_weather_system | Registers a given weather system obj for getting updates by SSweather. |
---|---|
setup_weather_system | Sets a weather state to use for a given z level/z level stack. topmost_level may be a level_id or a level_data instance. |
unregister_weather_system | Remove a weather systeam from the processing lists. |
Registers a given weather system obj for getting updates by SSweather.
Sets a weather state to use for a given z level/z level stack. topmost_level may be a level_id or a level_data instance.
Remove a weather systeam from the processing lists.
Procs | |
RebuildZState | Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive. |
---|---|
fixup_appearance_planes | Generate a new appearance from appearance with planes mangled to work with Z-Mimic. Do not pass a depth. |
Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive.
Generate a new appearance from appearance
with planes mangled to work with Z-Mimic. Do not pass a depth.
Procs | |
RebuildZState | Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive. |
---|---|
fixup_appearance_planes | Generate a new appearance from appearance with planes mangled to work with Z-Mimic. Do not pass a depth. |
Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive.
Generate a new appearance from appearance
with planes mangled to work with Z-Mimic. Do not pass a depth.
Vars | |||||||||||||||||
current_period | What period of day are we sitting in as of our last update? | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cycle_duration | How long is a full day and night cycle? | ||||||||||||||||
cycle_periods | Mappings of colour and power to % progression points throughout the cycle.
+daycycle
Var Detailscurrent_periodWhat period of day are we sitting in as of our last update? cycle_durationHow long is a full day and night cycle? cycle_periodsMappings of colour and power to % progression points throughout the cycle. +Null values on periods use the general level ambience instead. | ||||||||||||||||
daycycle_id | Unique string ID used to register a level with a daycycle. | ||||||||||||||||
last_update | What world.time did we last update? Used to calculate time progression between ticks. | ||||||||||||||||
levels_affected | What z-levels are affected by this daycycle? Used for mass updating ambience. | ||||||||||||||||
time_in_cycle | How far are we into the current cycle? |
What period of day are we sitting in as of our last update?
How long is a full day and night cycle?
Mappings of colour and power to % progression points throughout the cycle. Each entry must be arranged in order of earliest to latest. -Null values on periods use the general level ambience instead.
Unique string ID used to register a level with a daycycle.
What world.time did we last update? Used to calculate time progression between ticks.
What z-levels are affected by this daycycle? Used for mass updating ambience.
How far are we into the current cycle?
Unique string ID used to register a level with a daycycle.
What world.time did we last update? Used to calculate time progression between ticks.
What z-levels are affected by this daycycle? Used for mass updating ambience.
How far are we into the current cycle?
\ No newline at end of file diff --git a/datum/daycycle_period.html b/datum/daycycle_period.html index 7594fbcd56d..c717bbf9700 100644 --- a/datum/daycycle_period.html +++ b/datum/daycycle_period.html @@ -1 +1 @@ -Vars | |
announcement | Message shown to outdoors players when the daycycle moves to this period. |
---|---|
color | Ambient light colour during this time of day. |
name | In-character descriptor (ie. 'sunrise') |
period | 0-1 value to indicate where in the total day/night progression this falls. |
power | Ambient light power during this time of day. |
temperature | Ambient temperature modifier during this time of day. |
Message shown to outdoors players when the daycycle moves to this period.
Ambient light colour during this time of day.
In-character descriptor (ie. 'sunrise')
0-1 value to indicate where in the total day/night progression this falls.
Ambient light power during this time of day.
Ambient temperature modifier during this time of day.
Vars | |
announcement | Message shown to outdoors players when the daycycle moves to this period. |
---|---|
color | Ambient light colour during this time of day. |
name | In-character descriptor (ie. 'sunrise') |
period | 0-1 value to indicate where in the total day/night progression this falls. |
power | Ambient light power during this time of day. |
temperature | Ambient temperature modifier during this time of day. |
Message shown to outdoors players when the daycycle moves to this period.
Ambient light colour during this time of day.
In-character descriptor (ie. 'sunrise')
0-1 value to indicate where in the total day/night progression this falls.
Ambient light power during this time of day.
Ambient temperature modifier during this time of day.
Details used by the diploma plaques for display.
Vars | |
claimant | Name of the diploma holder |
---|---|
degree | The degree's name |
degree_short | The abbreviation of the degree |
establishment | Establishment that emitted this diploma |
signature | Signature of the diploma holder |
title | The title this degree grants |
title_short | The abbreviation of the title granted by the degree |
Procs | |
get_description_string | Returns a string decribing what's on the diploma. |
get_examine_string | Returns a string describing what is seen on closer inspection of the diploma. |
Name of the diploma holder
The degree's name
The abbreviation of the degree
Establishment that emitted this diploma
Signature of the diploma holder
The title this degree grants
The abbreviation of the title granted by the degree
Returns a string decribing what's on the diploma.
Returns a string describing what is seen on closer inspection of the diploma.
Details used by the diploma plaques for display.
Vars | |
claimant | Name of the diploma holder |
---|---|
degree | The degree's name |
degree_short | The abbreviation of the degree |
establishment | Establishment that emitted this diploma |
signature | Signature of the diploma holder |
title | The title this degree grants |
title_short | The abbreviation of the title granted by the degree |
Procs | |
get_description_string | Returns a string decribing what's on the diploma. |
get_examine_string | Returns a string describing what is seen on closer inspection of the diploma. |
Name of the diploma holder
The degree's name
The abbreviation of the degree
Establishment that emitted this diploma
Signature of the diploma holder
The title this degree grants
The abbreviation of the title granted by the degree
Returns a string decribing what's on the diploma.
Returns a string describing what is seen on closer inspection of the diploma.
Procs | |
CanClone | Extensions can't be cloned from a Clone() call, because they need a holder on New, and cannot be cloned onto the same object. -Use copy_from instead! |
---|---|
copy_from | Workaround for extensions not supporting Clone(). Copy data from another extension, so we're essentially a clone of that other extension. |
Extensions can't be cloned from a Clone() call, because they need a holder on New, and cannot be cloned onto the same object. -Use copy_from instead!
Workaround for extensions not supporting Clone(). Copy data from another extension, so we're essentially a clone of that other extension.
Procs | |
CanClone | Extensions can't be cloned from a Clone() call, because they need a holder on New, and cannot be cloned onto the same object. +Use copy_from instead! |
---|---|
copy_from | Workaround for extensions not supporting Clone(). Copy data from another extension, so we're essentially a clone of that other extension. |
Extensions can't be cloned from a Clone() call, because they need a holder on New, and cannot be cloned onto the same object. +Use copy_from instead!
Workaround for extensions not supporting Clone(). Copy data from another extension, so we're essentially a clone of that other extension.
Procs | |
do_grabbed_invocation | Clicking a grab on the currently grabbed mob. |
---|---|
do_melee_invocation | Clicking an adjacent target (UnarmedAttack()) |
do_ranged_invocation | Clicking a distant target (RangedAttack()) |
do_self_invocation | Using an empty hand on itelf (attack_empty_hand()) |
refresh_login | Updates UI etc. on login |
Clicking a grab on the currently grabbed mob.
Clicking an adjacent target (UnarmedAttack())
Clicking a distant target (RangedAttack())
Using an empty hand on itelf (attack_empty_hand())
Updates UI etc. on login
Procs | |
do_grabbed_invocation | Clicking a grab on the currently grabbed mob. |
---|---|
do_melee_invocation | Clicking an adjacent target (UnarmedAttack()) |
do_ranged_invocation | Clicking a distant target (RangedAttack()) |
do_self_invocation | Using an empty hand on itelf (attack_empty_hand()) |
refresh_login | Updates UI etc. on login |
Clicking a grab on the currently grabbed mob.
Clicking an adjacent target (UnarmedAttack())
Clicking a distant target (RangedAttack())
Using an empty hand on itelf (attack_empty_hand())
Updates UI etc. on login
Extension for giving an object a code lock, with it's own ui.
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code | The passcode currently inputed so far and what is displayed on the UI. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
emagged | Whether or not the lock is emagged. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
error | Error text currently displayed to the user. Temporary. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
is_digital_lock | Whether or not the lock is digital, and its ability to be brute forced. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
l_code | The code to unlock the lock | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
l_hacking | Whether or not the lock is being hacked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
l_set | Whether or not the lock has been set. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
l_setshort | Whether or not the ability to set the lock is broken. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
locked | Whether the lock is locked. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_code_length | Max length of the password. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
open | Whether or not the lock service panel is open. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
opening_panel | Whether we're currently opening the panel or not. (Unskilled people can take a long time to open it) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sound_range | The absolute range in turfs the lockable's sounds can be heard at from the holder's position. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attackby | Item attack handler for interactions with the host. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
bad_access_attempt | Called after the user enters the wrong keycode, or fails a hacking attempt. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
can_interact | Whether the user can actually issue commands to the ui. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clear_button | Clears the currently entered code and the current error text, and lock the lockable if it's not already. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clear_current_code | Clear the currently entered code on the ui. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clear_error | Clear the currently displayed error text on the ui. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
confirm_code | Called when the user press the enter key on the lockable keypad, or when the last key of the code is entered.
+lockableExtension for giving an object a code lock, with it's own ui.
Var DetailscodeThe passcode currently inputed so far and what is displayed on the UI. emaggedWhether or not the lock is emagged. errorError text currently displayed to the user. Temporary. is_digital_lockWhether or not the lock is digital, and its ability to be brute forced. l_codeThe code to unlock the lock l_hackingWhether or not the lock is being hacked. l_setWhether or not the lock has been set. l_setshortWhether or not the ability to set the lock is broken. lockedWhether the lock is locked. max_code_lengthMax length of the password. openWhether or not the lock service panel is open. opening_panelWhether we're currently opening the panel or not. (Unskilled people can take a long time to open it) sound_rangeThe absolute range in turfs the lockable's sounds can be heard at from the holder's position. Proc DetailsattackbyItem attack handler for interactions with the host. bad_access_attemptCalled after the user enters the wrong keycode, or fails a hacking attempt. can_interactWhether the user can actually issue commands to the ui. clear_buttonClears the currently entered code and the current error text, and lock the lockable if it's not already. clear_current_codeClear the currently entered code on the ui. clear_errorClear the currently displayed error text on the ui. confirm_codeCalled when the user press the enter key on the lockable keypad, or when the last key of the code is entered. +Called by the hacking proc via timer after a short delay. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_error_message | Sets the error message to be displayed currently. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_keycode | Sets the keycode that unlocks this lockable. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set_locked | Locks or unlocks the lockable. And play a sound. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
toggle_panel | Opens the "service panel" for nefarious purposes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
try_hack | Called when a multitool is used on the holder to hack the device. |
The passcode currently inputed so far and what is displayed on the UI.
Whether or not the lock is emagged.
Error text currently displayed to the user. Temporary.
Whether or not the lock is digital, and its ability to be brute forced.
The code to unlock the lock
Whether or not the lock is being hacked.
Whether or not the lock has been set.
Whether or not the ability to set the lock is broken.
Whether the lock is locked.
Max length of the password.
Whether or not the lock service panel is open.
Whether we're currently opening the panel or not. (Unskilled people can take a long time to open it)
The absolute range in turfs the lockable's sounds can be heard at from the holder's position.
Item attack handler for interactions with the host.
Called after the user enters the wrong keycode, or fails a hacking attempt.
Whether the user can actually issue commands to the ui.
Clears the currently entered code and the current error text, and lock the lockable if it's not already.
Clear the currently entered code on the ui.
Clear the currently displayed error text on the ui.
Called when the user press the enter key on the lockable keypad, or when the last key of the code is entered. Either sets the keycode for unlocking this lockable, or checks if the current keycode entered is the correct one, and unlocks the lockable. -Returns TRUE if the code entered was appropriate.
Called when an emag is used on the holder.
Called whenever the user input a number key. -Adds the value of the key to the currently entered keycode.
Returns a percent chance of the given user failing at hacking this lock.
Whether the lockable is currently locked or not.
Whether we're currently awaiting a keycode input to set the keycode to unlock this lockable.
Checks the given code for any issues with using it as this lockable's keycode. -Returns null if there are no problems. Or a text string describing the problem otherwise.
Whether the incoming keycode matches the keycode we have set to unlock this lockable.
Makes the holder play the sound after a new keycode has been set.
Makes the holder play the failure sound, when an invalid operation has been done.
Makes the holder play a sound when a keypad key has been pressed.
+Returns TRUE if the code entered was appropriate.Called when an emag is used on the holder.
Called whenever the user input a number key. +Adds the value of the key to the currently entered keycode.
Returns a percent chance of the given user failing at hacking this lock.
Whether the lockable is currently locked or not.
Whether we're currently awaiting a keycode input to set the keycode to unlock this lockable.
Checks the given code for any issues with using it as this lockable's keycode. +Returns null if there are no problems. Or a text string describing the problem otherwise.
Whether the incoming keycode matches the keycode we have set to unlock this lockable.
Makes the holder play the sound after a new keycode has been set.
Makes the holder play the failure sound, when an invalid operation has been done.
Makes the holder play a sound when a keypad key has been pressed.
Makes the holder play the lock's locking sound.
Makes the holder play the success sound, when an operation was successful.
Makes the holder play the lock's unlock sound.
Process keypresses coming from the nanoUI.
Clears the currently set keycode, hacked state, and shorted state. -Called by the hacking proc via timer after a short delay.
Sets the error message to be displayed currently.
Sets the keycode that unlocks this lockable.
Locks or unlocks the lockable. And play a sound.
Opens the "service panel" for nefarious purposes.
Called when a multitool is used on the holder to hack the device.
Makes the holder play the lock's locking sound.
Makes the holder play the success sound, when an operation was successful.
Makes the holder play the lock's unlock sound.
Process keypresses coming from the nanoUI.
Clears the currently set keycode, hacked state, and shorted state. +Called by the hacking proc via timer after a short delay.
Sets the error message to be displayed currently.
Sets the keycode that unlocks this lockable.
Locks or unlocks the lockable. And play a sound.
Opens the "service panel" for nefarious purposes.
Called when a multitool is used on the holder to hack the device.
\ No newline at end of file diff --git a/datum/extension/network_device.html b/datum/extension/network_device.html index 217b072f67b..8815bf8f611 100644 --- a/datum/extension/network_device.html +++ b/datum/extension/network_device.html @@ -1 +1 @@ -Vars | |
_autojoin | Tracking var for autojoin, to resolve an ordering issue in device creation/connection. |
---|---|
Procs | |
get_network_URI | Returns the outward facing URI for this network device. |
get_top_holder | Returns the object that should be handling access and command checks. |
Tracking var for autojoin, to resolve an ordering issue in device creation/connection.
Returns the outward facing URI for this network device.
Returns the object that should be handling access and command checks.
Vars | |
_autojoin | Tracking var for autojoin, to resolve an ordering issue in device creation/connection. |
---|---|
Procs | |
get_network_URI | Returns the outward facing URI for this network device. |
get_top_holder | Returns the object that should be handling access and command checks. |
Tracking var for autojoin, to resolve an ordering issue in device creation/connection.
Returns the outward facing URI for this network device.
Returns the object that should be handling access and command checks.
Procs | |||||
New | Custom subtype
+custom
Proc DetailsNewCustom subtype +This will let you set an extension without needing to define it beforehand. Note that all vars are required if generating. |
---|
Custom subtype set_extension(atom, /datum/extension/scent/custom, scent = "scent", intensity = SCENT_INTENSITY_, ... etc) -This will let you set an extension without needing to define it beforehand. Note that all vars are required if generating.
Sorting tag for the sorting machinery.
Procs | |
apply_tag_overlay | Applies the destination tag overlay on the holder. |
---|---|
tag_description | Returns a human readable description of the destination tag. |
Applies the destination tag overlay on the holder.
Returns a human readable description of the destination tag.
Sorting tag for the sorting machinery.
Procs | |
apply_tag_overlay | Applies the destination tag overlay on the holder. |
---|---|
tag_description | Returns a human readable description of the destination tag. |
Applies the destination tag overlay on the holder.
Returns a human readable description of the destination tag.
Procs | |
get_tool_property | Return the value of the property specified for the given tool archetype. |
---|---|
set_tool_property | Set the given tool property for the given tool archetype |
Return the value of the property specified for the given tool archetype.
Set the given tool property for the given tool archetype
Procs | |
get_tool_property | Return the value of the property specified for the given tool archetype. |
---|---|
set_tool_property | Set the given tool property for the given tool archetype |
Return the value of the property specified for the given tool archetype.
Set the given tool property for the given tool archetype
Vars | |
pass_multiplier_to_product_new | Set to explicit FALSE to cause n stacks to be created instead of 1 stack of n amount. -Does not work for non-stacks being created as stacks, do not set to explicit TRUE for non-stacks. |
---|
Set to explicit FALSE to cause n stacks to be created instead of 1 stack of n amount. -Does not work for non-stacks being created as stacks, do not set to explicit TRUE for non-stacks.
Vars | |
pass_multiplier_to_product_new | Set to explicit FALSE to cause n stacks to be created instead of 1 stack of n amount. +Does not work for non-stacks being created as stacks, do not set to explicit TRUE for non-stacks. |
---|
Set to explicit FALSE to cause n stacks to be created instead of 1 stack of n amount. +Does not work for non-stacks being created as stacks, do not set to explicit TRUE for non-stacks.
Vars | |
fauna_templates | Spawn info cached for each fauna types. Basically a cached entry for each critter that tells us what to change on them after spawn. |
---|---|
fauna_types | Weighted list of fauna that can possibly spawn. |
level_data_id | Id of the level we operate on |
live_fauna | List of fauna refs to those that are alive currently and tied to this generator. |
live_megafauna | List of megafauna refs to those that are alive currently and tied to this generator. |
max_fauna_alive | Maximum amount of live fauna at one time |
max_megafauna_alive | Maximum amount of mega fauna at one time |
megafauna_templates | Spawn info cached for each megafauna types. Basically a cached entry for each critter that tells us what to change on them after spawn. |
megafauna_types | Weighted list of megafauna that can possibly spawn. |
repopulate_fauna_threshold | Amount of animal alive below which we'll try to respawn animals. This value starts at max_alive, and goes down each times we empty the respawn queue by half |
repopulate_megafauna_threshold | Amount of live megafauna below which respawning will occur |
repopulation_interval | Realtime interval between checks for repopulation |
respawn_queue | List of fauna/megafauna types to respawn after they died. |
species_names | List of named species for this planet. Handles custom species names that can be attributed to animal via xenobio stuff. |
time_last_repop | Realtime of day when we last repopulated |
Spawn info cached for each fauna types. Basically a cached entry for each critter that tells us what to change on them after spawn.
Weighted list of fauna that can possibly spawn.
Id of the level we operate on
List of fauna refs to those that are alive currently and tied to this generator.
List of megafauna refs to those that are alive currently and tied to this generator.
Maximum amount of live fauna at one time
Maximum amount of mega fauna at one time
Spawn info cached for each megafauna types. Basically a cached entry for each critter that tells us what to change on them after spawn.
Weighted list of megafauna that can possibly spawn.
Amount of animal alive below which we'll try to respawn animals. This value starts at max_alive, and goes down each times we empty the respawn queue by half
Amount of live megafauna below which respawning will occur
Realtime interval between checks for repopulation
List of fauna/megafauna types to respawn after they died.
List of named species for this planet. Handles custom species names that can be attributed to animal via xenobio stuff.
Realtime of day when we last repopulated
Vars | |
fauna_templates | Spawn info cached for each fauna types. Basically a cached entry for each critter that tells us what to change on them after spawn. |
---|---|
fauna_types | Weighted list of fauna that can possibly spawn. |
level_data_id | Id of the level we operate on |
live_fauna | List of fauna refs to those that are alive currently and tied to this generator. |
live_megafauna | List of megafauna refs to those that are alive currently and tied to this generator. |
max_fauna_alive | Maximum amount of live fauna at one time |
max_megafauna_alive | Maximum amount of mega fauna at one time |
megafauna_templates | Spawn info cached for each megafauna types. Basically a cached entry for each critter that tells us what to change on them after spawn. |
megafauna_types | Weighted list of megafauna that can possibly spawn. |
repopulate_fauna_threshold | Amount of animal alive below which we'll try to respawn animals. This value starts at max_alive, and goes down each times we empty the respawn queue by half |
repopulate_megafauna_threshold | Amount of live megafauna below which respawning will occur |
repopulation_interval | Realtime interval between checks for repopulation |
respawn_queue | List of fauna/megafauna types to respawn after they died. |
species_names | List of named species for this planet. Handles custom species names that can be attributed to animal via xenobio stuff. |
time_last_repop | Realtime of day when we last repopulated |
Spawn info cached for each fauna types. Basically a cached entry for each critter that tells us what to change on them after spawn.
Weighted list of fauna that can possibly spawn.
Id of the level we operate on
List of fauna refs to those that are alive currently and tied to this generator.
List of megafauna refs to those that are alive currently and tied to this generator.
Maximum amount of live fauna at one time
Maximum amount of mega fauna at one time
Spawn info cached for each megafauna types. Basically a cached entry for each critter that tells us what to change on them after spawn.
Weighted list of megafauna that can possibly spawn.
Amount of animal alive below which we'll try to respawn animals. This value starts at max_alive, and goes down each times we empty the respawn queue by half
Amount of live megafauna below which respawning will occur
Realtime interval between checks for repopulation
List of fauna/megafauna types to respawn after they died.
List of named species for this planet. Handles custom species names that can be attributed to animal via xenobio stuff.
Realtime of day when we last repopulated
Vars | |
cached_mix_color | The last cached color of the gas mixture |
---|---|
Procs | |
get_overall_color | Returns a color blended from all materials the gas mixture contains |
merge | Merges all the gas from another mixture into this one. Respects group_multipliers and adjusts temperature correctly. -Does not modify giver in any way. |
The last cached color of the gas mixture
Returns a color blended from all materials the gas mixture contains
Merges all the gas from another mixture into this one. Respects group_multipliers and adjusts temperature correctly. -Does not modify giver in any way.
Vars | |
cached_mix_color | The last cached color of the gas mixture |
---|---|
Procs | |
get_overall_color | Returns a color blended from all materials the gas mixture contains |
merge | Merges all the gas from another mixture into this one. Respects group_multipliers and adjusts temperature correctly. +Does not modify giver in any way. |
The last cached color of the gas mixture
Returns a color blended from all materials the gas mixture contains
Merges all the gas from another mixture into this one. Respects group_multipliers and adjusts temperature correctly. +Does not modify giver in any way.
An internal template to generate randomized planet fauna that's adapted to where it was generated to spawn on.
Vars | |
spawn_type | The type of mob to spawn |
---|
The type of mob to spawn
An internal template to generate randomized planet fauna that's adapted to where it was generated to spawn on.
Vars | |
spawn_type | The type of mob to spawn |
---|
The type of mob to spawn
Fill a given tile with its area/turf/objects/mobs +
Fill a given tile with its area/turf/objects/mobs Variable model is one full map line (e.g /turf/unsimulated/wall{icon_state = "rock"}, /area/mine/explored)
WORKING :
Instanciates the atom with its variables
Vars | |
hand_overlay | If set, use this icon_state for the hand slot overlay; otherwise, use slot_id. |
---|
If set, use this icon_state for the hand slot overlay; otherwise, use slot_id.
Vars | |
hand_overlay | If set, use this icon_state for the hand slot overlay; otherwise, use slot_id. |
---|
If set, use this icon_state for the hand slot overlay; otherwise, use slot_id.
Procs | |
shortened_type_name | Returns a shortened version of the test name for displaying in the logs |
---|
Returns a shortened version of the test name for displaying in the logs
Procs | |
shortened_type_name | Returns a shortened version of the test name for displaying in the logs |
---|
Returns a shortened version of the test name for displaying in the logs
Vars | |
suppress_no_roundstart_warning | If TRUE, 'Not available at roundstart.' won't be shown for this job if available_by_default is FALSE. |
---|---|
Procs | |
get_spawnpoint | Return appropriate /decl/spawnpoint for given client |
is_branch_allowed | Check if members of the given branch are allowed in the job |
is_rank_allowed | Check if people with given rank are allowed in this job |
If TRUE, 'Not available at roundstart.' won't be shown for this job if available_by_default is FALSE.
Return appropriate /decl/spawnpoint for given client
+Vars | |
suppress_no_roundstart_warning | If TRUE, 'Not available at roundstart.' won't be shown for this job if available_by_default is FALSE. |
---|---|
Procs | |
get_spawnpoint | Return appropriate /decl/spawnpoint for given client |
is_branch_allowed | Check if members of the given branch are allowed in the job |
is_rank_allowed | Check if people with given rank are allowed in this job |
If TRUE, 'Not available at roundstart.' won't be shown for this job if available_by_default is FALSE.
Return appropriate /decl/spawnpoint for given client
Spawnpoint will be the one set in preferences for the client, unless the preference is not set, or the preference is not appropriate for the rank, in -which case a fallback will be selected.
Check if members of the given branch are allowed in the job
+which case a fallback will be selected.Check if members of the given branch are allowed in the job
This proc should only be used after the global branch list has been initialized.
-branch_name - String key for the branch to check
Check if people with given rank are allowed in this job
+branch_name - String key for the branch to check
Check if people with given rank are allowed in this job
This proc should only be used after the global branch list has been initialized.
branch_name - String key for the branch to which the rank belongs -rank_name - String key for the rank itself
Vars | |
category | A keybind category for sorting in preference menu. |
---|---|
classic_keys | A classic hotkey keys when client don't use hotkey mode. Uses hotkey_keys if not defined. |
description | A bit informative description what this keybind does. |
full_name | A full keybind name for displaying. |
hotkey_keys | A default hotkey keys. |
name | A unique keybind id for preference storing. |
A keybind category for sorting in preference menu.
A classic hotkey keys when client don't use hotkey mode. Uses hotkey_keys
if not defined.
A bit informative description what this keybind does.
A full keybind name for displaying.
A default hotkey keys.
A unique keybind id for preference storing.
Vars | |
category | A keybind category for sorting in preference menu. |
---|---|
classic_keys | A classic hotkey keys when client don't use hotkey mode. Uses hotkey_keys if not defined. |
description | A bit informative description what this keybind does. |
full_name | A full keybind name for displaying. |
hotkey_keys | A default hotkey keys. |
name | A unique keybind id for preference storing. |
A keybind category for sorting in preference menu.
A classic hotkey keys when client don't use hotkey mode. Uses hotkey_keys
if not defined.
A bit informative description what this keybind does.
A full keybind name for displaying.
A default hotkey keys.
A unique keybind id for preference storing.
Keeps details on how to generate, maintain and access a zlevel.
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_has_warned_uninitialized_strata | This is set to prevent spamming the log when a turf has tried to grab our strata before we've been initialized | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_level_setup_completed | Whether the level data was setup already. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ambient_light_color | Colour of ambient light for turfs on this level. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ambient_light_level | Ambient lighting light intensity turfs on this level should have. Value from 0 to 1. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
base_area | The default area type for the whole level. It will be applied to all turfs in the level on creation, unless loaded by map. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
base_turf | The default base turf type for the whole level. It will be the base turf type for the z level, unless loaded by map.
+level_dataKeeps details on how to generate, maintain and access a zlevel.
Var Details_has_warned_uninitialized_strataThis is set to prevent spamming the log when a turf has tried to grab our strata before we've been initialized _level_setup_completedWhether the level data was setup already. ambient_light_colorColour of ambient light for turfs on this level. ambient_light_levelAmbient lighting light intensity turfs on this level should have. Value from 0 to 1. base_areaThe default area type for the whole level. It will be applied to all turfs in the level on creation, unless loaded by map. base_turfThe default base turf type for the whole level. It will be the base turf type for the z level, unless loaded by map. -filler_turf overrides what turfs the level will be created with. border_fillerThe turf to fill the border area beyond the bounds of the level with. -If null, nothing will be placed in the border area. (This is also placed when a border cannot be looped if loop_unconnected_borders is TRUE) cached_connectionsA cached list of connected directions to their connected level id. Filled up at runtime. connected_levelsA associative list of all level_ids to a direction bitflag. Indicates what direction of the map connects to what level daycycle_idIf not null, this level will register with a daycycle id/type on New(). daycycle_typeType provided to the above. exterior_atmos_tempTemperature of standard exterior atmosphere. exterior_atmosphereGas mixture datum returned to exterior return_air. Set to assoc list of material to moles to initialize the gas datum. fall_depthMultiplier applied to damage when falling through this level. filler_turfWhen the level is created dynamically, all turfs on the map will be changed to this one type. If null, will use the base_turf instead. forbid_strataStrata types to forbid from generating on this level. level_flagsVarious flags indicating what this level functions as. level_generatorsA list of /datum/random_map types to apply to this level if we're running level generation. -May run before or after parent level gen level_idA unique string identifier for this particular z-level. Used to fetch a level without knowing its z-level. level_inner_heightFilled by map gen on init. Indicates the height of the accessible area within the transition edges. level_inner_max_xFilled by map gen on init. Indicates where the accessible level area starts past the transition edge. level_inner_max_yFilled by map gen on init. Indicates where the accessible level area starts past the transition edge. level_inner_min_xFilled by map gen on init. Indicates where the accessible level area starts past the transition edge. level_inner_min_yFilled by map gen on init. Indicates where the accessible level area starts past the transition edge. level_inner_widthFilled by map gen on init. Indicates the width of the accessible area within the transition edges. level_max_heightThe desired height of the level, including the TRANSITIONEDGE. -If world.maxy is bigger, the exceeding area will be filled with turfs of "border_filler" type if defined, or base_turf otherwise. level_max_widthThe desired width of the level, including the TRANSITIONEDGE. -If world.maxx is bigger, the exceeding area will be filled with turfs of "border_filler" type if defined, or base_turf otherwise. level_zThe z-level that was assigned to this level_data loop_turf_typeIf set we will put a looping edge on every unconnected edge of the map. If null, will not loop unconnected edges. -If an unconnected edge is facing a connected edge, it will be instead filled with "border_filler" instead, if defined. nameName displayed to the player to refer to this level in user interfaces and etc. If null, one will be generated. origin_is_world_centerDetermines if edge turfs should be centered on the map dimensions. strataThe mineral strata assigned to this level if any. Set to a path at definition, then to a decl/strata instance at runtime. strata_base_materialThe base material randomly chosen from the strata for this level. template_edge_paddingExtra spacing needed between any random level templates and the transition edge of a level. -Note that this is more or less unnecessary if you are using a mapped area that doesn't stretch to the edge of the level. transition_turf_typeThe turf type to use for zlevel lateral connections use_global_exterior_ambienceSet to false to override with our own. z_volume_level_xUsed to apply x offsets to distance checking in this volume. z_volume_level_yUsed to apply y offsets to distance checking in this volume. z_volume_level_zUsed to apply z offsets to distance checking in this volume. Proc Detailsadapt_location_nameChanges anything named we may need to rename accordingly to the parent location name. For instance, exoplanets levels. after_generate_levelCalled during level setup. Run anything that should happen only after the map is fully generated. after_template_loadCalled after a map_template has been loaded on our z-level. Only apply to templates loaded onto new z-levels. apply_map_generatorsApply the parent entity's map generators. (Planets generally) -This proc is to give a chance to level_data subtypes to individually chose to ignore the parent generators. before_template_generationCalled before a runtime generated template is generated on our z-level. Only applies to templates generated onto new z-levels. -Is never called by templates which are loaded from file! build_borderBuilds the map's transition edge if applicable build_border_cornersHandle preparing the level's border's corners after we've stup the edges. build_border_edgeApply the specified edge type to the specified edge's turfs compute_level_edges_statesLoop through the edges of the level and determine if they're connected, looping, filled, or untouched. copy_fromHandle copying data from a previous level_data we're replacing. generate_levelCalled when setting up the level. Apply generators and anything that modifies the turfs of the level. get_all_connected_level_dataReturns recursively a list of level_data for each connected levels. get_all_connected_level_idsReturns recursively a list of level_ids for each connected levels. get_all_connected_level_zReturns recursively a list of z-level indices for each connected levels. Parameter is to keep trakc get_base_area_instanceReturns the instance of the base area for this level get_subtemplate_blacklistHelper proc for subtemplate generation. Returns a bitflag of template flags that must not be present for a subtemplate to be considered available. get_subtemplate_budgetHelper proc for subtemplate generation. Returns a point budget to spend on subtemplates. get_subtemplate_categoryHelper proc for subtemplate generation. Returns a string identifier for a general category of template. get_subtemplate_whitelistHelper proc for subtemplate generation. Returns a bitflag of template flags that must be present for a subtemplate to be considered available. initialize_level_idGenerates a level_id if none were specified in the datum definition. initialize_new_levelInitialize the turfs on the z-level. load_subtemplateActually handles loading a template template at the given turf. replace_withHandle a new level_data datum overwriting us. setup_ambientSetup ambient lighting for the level setup_exterior_atmosphereSetup/generate atmosphere for exterior turfs on the level. setup_level_boundsCalculate the bounds of the level, the border area, and the inner accessible area. +so that's useful to know and have control over! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setup_level_data | Prepare level for being used. Setup borders, lateral z connections, ambient lighting, atmosphere, etc.. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
setup_strata | Pick a strata for the given level if applicable. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
spawn_subtemplates | Try to allocate the given amount of POIs onto our level. Returns the template types that were spawned | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
try_place_subtemplate | Attempts several times to find turfs where a subtemplate can be placed. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
warn_bad_strata | Warns exactly once about a turf trying to initialize it's strata from us when we haven't completed setup. |
This is set to prevent spamming the log when a turf has tried to grab our strata before we've been initialized
Whether the level data was setup already.
Colour of ambient light for turfs on this level.
Ambient lighting light intensity turfs on this level should have. Value from 0 to 1.
The default area type for the whole level. It will be applied to all turfs in the level on creation, unless loaded by map.
The default base turf type for the whole level. It will be the base turf type for the z level, unless loaded by map. +filler_turf overrides what turfs the level will be created with.
The turf to fill the border area beyond the bounds of the level with. +If null, nothing will be placed in the border area. (This is also placed when a border cannot be looped if loop_unconnected_borders is TRUE)
A cached list of connected directions to their connected level id. Filled up at runtime.
A associative list of all level_ids to a direction bitflag. Indicates what direction of the map connects to what level
If not null, this level will register with a daycycle id/type on New().
Type provided to the above.
Temperature of standard exterior atmosphere.
Gas mixture datum returned to exterior return_air. Set to assoc list of material to moles to initialize the gas datum.
Multiplier applied to damage when falling through this level.
When the level is created dynamically, all turfs on the map will be changed to this one type. If null, will use the base_turf instead.
Strata types to forbid from generating on this level.
Various flags indicating what this level functions as.
A list of /datum/random_map types to apply to this level if we're running level generation. +May run before or after parent level gen
A unique string identifier for this particular z-level. Used to fetch a level without knowing its z-level.
Filled by map gen on init. Indicates the height of the accessible area within the transition edges.
Filled by map gen on init. Indicates where the accessible level area starts past the transition edge.
Filled by map gen on init. Indicates where the accessible level area starts past the transition edge.
Filled by map gen on init. Indicates where the accessible level area starts past the transition edge.
Filled by map gen on init. Indicates where the accessible level area starts past the transition edge.
Filled by map gen on init. Indicates the width of the accessible area within the transition edges.
The desired height of the level, including the TRANSITIONEDGE. +If world.maxy is bigger, the exceeding area will be filled with turfs of "border_filler" type if defined, or base_turf otherwise.
The desired width of the level, including the TRANSITIONEDGE. +If world.maxx is bigger, the exceeding area will be filled with turfs of "border_filler" type if defined, or base_turf otherwise.
The z-level that was assigned to this level_data
If set we will put a looping edge on every unconnected edge of the map. If null, will not loop unconnected edges. +If an unconnected edge is facing a connected edge, it will be instead filled with "border_filler" instead, if defined.
Name displayed to the player to refer to this level in user interfaces and etc. If null, one will be generated.
Determines if edge turfs should be centered on the map dimensions.
The mineral strata assigned to this level if any. Set to a path at definition, then to a decl/strata instance at runtime.
The base material randomly chosen from the strata for this level.
Extra spacing needed between any random level templates and the transition edge of a level. +Note that this is more or less unnecessary if you are using a mapped area that doesn't stretch to the edge of the level.
The turf type to use for zlevel lateral connections
Set to false to override with our own.
Used to apply x offsets to distance checking in this volume.
Used to apply y offsets to distance checking in this volume.
Used to apply z offsets to distance checking in this volume.
Changes anything named we may need to rename accordingly to the parent location name. For instance, exoplanets levels.
Called during level setup. Run anything that should happen only after the map is fully generated.
Called after a map_template has been loaded on our z-level. Only apply to templates loaded onto new z-levels.
Apply the parent entity's map generators. (Planets generally) +This proc is to give a chance to level_data subtypes to individually chose to ignore the parent generators.
Called before a runtime generated template is generated on our z-level. Only applies to templates generated onto new z-levels. +Is never called by templates which are loaded from file!
Builds the map's transition edge if applicable
Handle preparing the level's border's corners after we've stup the edges.
Apply the specified edge type to the specified edge's turfs
Loop through the edges of the level and determine if they're connected, looping, filled, or untouched.
Handle copying data from a previous level_data we're replacing.
Called when setting up the level. Apply generators and anything that modifies the turfs of the level.
Returns recursively a list of level_data for each connected levels.
Returns recursively a list of level_ids for each connected levels.
Returns recursively a list of z-level indices for each connected levels. Parameter is to keep trakc
Returns the instance of the base area for this level
Helper proc for subtemplate generation. Returns a bitflag of template flags that must not be present for a subtemplate to be considered available.
Helper proc for subtemplate generation. Returns a point budget to spend on subtemplates.
Helper proc for subtemplate generation. Returns a string identifier for a general category of template.
Helper proc for subtemplate generation. Returns a bitflag of template flags that must be present for a subtemplate to be considered available.
Generates a level_id if none were specified in the datum definition.
Initialize the turfs on the z-level.
Actually handles loading a template template at the given turf.
Handle a new level_data datum overwriting us.
Setup ambient lighting for the level
Setup/generate atmosphere for exterior turfs on the level.
Calculate the bounds of the level, the border area, and the inner accessible area. Basically, by default levels are assumed to be loaded relative to the world center, so if they're smaller than the world they get their origin offset so they're in the middle of the world. By default templates are always loaded at origin 1,1. -so that's useful to know and have control over!
Prepare level for being used. Setup borders, lateral z connections, ambient lighting, atmosphere, etc..
Pick a strata for the given level if applicable.
Try to allocate the given amount of POIs onto our level. Returns the template types that were spawned
Attempts several times to find turfs where a subtemplate can be placed.
Warns exactly once about a turf trying to initialize it's strata from us when we haven't completed setup.
Prepare level for being used. Setup borders, lateral z connections, ambient lighting, atmosphere, etc..
Pick a strata for the given level if applicable.
Try to allocate the given amount of POIs onto our level. Returns the template types that were spawned
Attempts several times to find turfs where a subtemplate can be placed.
Warns exactly once about a turf trying to initialize it's strata from us when we haven't completed setup.
\ No newline at end of file diff --git a/datum/level_data/planetoid.html b/datum/level_data/planetoid.html index 4380c1174b9..8ffdc151059 100644 --- a/datum/level_data/planetoid.html +++ b/datum/level_data/planetoid.html @@ -1,7 +1,7 @@ -Base level data for levels that are subordinated to a /datum/planetoid_data entry. +
Base level data for levels that are subordinated to a /datum/planetoid_data entry. A bunch of things are fetched from planet gen to stay in sync.
Vars | |
parent_planetoid | The planetoid_data datum owning this level. At definition can be set to the planetoid_id of the planetoid to link up with on creation. -Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it. |
---|---|
Procs | |
apply_planet_ambient_lighting | Apply our parent planet's ambient lighting settings if we want to. |
apply_planet_atmosphere | If we're getting atmos from our parent planet, apply it. |
set_planetoid | Make sure the planetoid we belong to knows about us and that we know about them. |
The planetoid_data datum owning this level. At definition can be set to the planetoid_id of the planetoid to link up with on creation. -Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it.
Apply our parent planet's ambient lighting settings if we want to.
If we're getting atmos from our parent planet, apply it.
Make sure the planetoid we belong to knows about us and that we know about them.
+Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it.The planetoid_data datum owning this level. At definition can be set to the planetoid_id of the planetoid to link up with on creation. +Ideally this will eventually be the main reference for the z-level to the planet level contents are located on. So we don't need to link every single turfs to it.
Apply our parent planet's ambient lighting settings if we want to.
If we're getting atmos from our parent planet, apply it.
Make sure the planetoid we belong to knows about us and that we know about them.
Vars | |
_available_backpacks | Decl list of backpacks available to outfits and in character generation. |
---|---|
default_job_title | Default job title which will be set in some cases. |
default_job_type | Default job type which will be used if map lack of any jobs or for respawn. |
default_liquid_fuel_type | A reagent used to prefill lanterns. |
disconnected_disposals_tags | A list of disposals tags (sort_type var) that aren't expected to have outputs. |
disconnected_wires_test_exempt_turfs | A list of lists, of the format ((x, y, z, dir),). |
loadout_categories | A list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null. |
map_admin_faxes | Associative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. -EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown)))) |
planet_depth | The amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive. |
shuttle_atmos_expectation | Defines the expected result of the atmospherics shuttle unit test for atmosphere. |
survival_box_choices | A list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl. |
Procs | |
generate_planet_spawn_lists | Fill up the list of planet_spawn_weight and guaranteed_planets |
get_all_planet_templates | Returns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance. |
preferences_key | Must be a filename-safe string. In future if map paths get funky, do some sanitization here. |
setup_admin_faxes | Generates the default admin faxes addresses |
spawn_planet_templates | Spawns all the templates in the given list, one after the other |
Decl list of backpacks available to outfits and in character generation.
Default job title which will be set in some cases.
Default job type which will be used if map lack of any jobs or for respawn.
A reagent used to prefill lanterns.
A list of disposals tags (sort_type var) that aren't expected to have outputs.
A list of lists, of the format ((x, y, z, dir),).
A list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null.
Associative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. -EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown))))
The amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive.
Defines the expected result of the atmospherics shuttle unit test for atmosphere.
A list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl.
Fill up the list of planet_spawn_weight and guaranteed_planets
Returns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance.
Must be a filename-safe string. In future if map paths get funky, do some sanitization here.
Generates the default admin faxes addresses
Spawns all the templates in the given list, one after the other
Vars | |
_available_backpacks | Decl list of backpacks available to outfits and in character generation. |
---|---|
default_job_title | Default job title which will be set in some cases. |
default_job_type | Default job type which will be used if map lack of any jobs or for respawn. |
default_liquid_fuel_type | A reagent used to prefill lanterns. |
disconnected_disposals_tags | A list of disposals tags (sort_type var) that aren't expected to have outputs. |
disconnected_wires_test_exempt_turfs | A list of lists, of the format ((x, y, z, dir),). |
loadout_categories | A list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null. |
map_admin_faxes | Associative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. +EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown)))) |
planet_depth | The amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive. |
shuttle_atmos_expectation | Defines the expected result of the atmospherics shuttle unit test for atmosphere. |
survival_box_choices | A list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl. |
Procs | |
generate_planet_spawn_lists | Fill up the list of planet_spawn_weight and guaranteed_planets |
get_all_planet_templates | Returns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance. |
preferences_key | Must be a filename-safe string. In future if map paths get funky, do some sanitization here. |
setup_admin_faxes | Generates the default admin faxes addresses |
spawn_planet_templates | Spawns all the templates in the given list, one after the other |
Decl list of backpacks available to outfits and in character generation.
Default job title which will be set in some cases.
Default job type which will be used if map lack of any jobs or for respawn.
A reagent used to prefill lanterns.
A list of disposals tags (sort_type var) that aren't expected to have outputs.
A list of lists, of the format ((x, y, z, dir),).
A list of /decl/loadout_category types which will be available for characters made on this map. Uses all categories if null.
Associative list of network URIs to a list with their display name, color, and "req_access formated" needed access list. +EX: list("BIG_BOSS.COM" = list("name" = "Big boss", "color" = "#00ff00", "access" = list(list(access_heads, access_clown))))
The amount of z-levels generated for exoplanets. Default is 1. Be careful with this, since exoplanets are already pretty expensive.
Defines the expected result of the atmospherics shuttle unit test for atmosphere.
A list of survival box types selectable for this map. If null, defaults to all defined decls. At runtime, this is an associative list of decl type -> decl.
Fill up the list of planet_spawn_weight and guaranteed_planets
Returns an associative list of all the planet templates we get to pick from. The key is the template name, and the value is the template instance.
Must be a filename-safe string. In future if map paths get funky, do some sanitization here.
Generates the default admin faxes addresses
Spawns all the templates in the given list, one after the other
Vars | |||||||||||||||||||||||||||||||||||||||||
accessibility_weight | Percent of chances to end up onto a level from this template by spacewalking between space z-levels. | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
height | The height of the template's levels. Size is preloaded from template during template registration. | ||||||||||||||||||||||||||||||||||||||||
level_data_type | The initial type of level_data to instantiate new z-level with initially. (Is replaced by whatever is in the map file.) If null, will use default. | ||||||||||||||||||||||||||||||||||||||||
loaded | Amount of times this template was loaded at runtime. | ||||||||||||||||||||||||||||||||||||||||
mappaths | Path to the map files to load for this template. | ||||||||||||||||||||||||||||||||||||||||
modify_tag_vars | Will modify tag vars so that duplicate templates are handled properly. May have compatibility issues with legacy maps (esp. with ferry shuttles). | ||||||||||||||||||||||||||||||||||||||||
name | Name for differentiating templates | ||||||||||||||||||||||||||||||||||||||||
shuttles_to_initialise | Shuttles in this template's levels that need to be initialized with SSshuttle. | ||||||||||||||||||||||||||||||||||||||||
subtemplates_to_spawn | Sub-templates to spawn on this template if any. Ruins and sites and etc.. | ||||||||||||||||||||||||||||||||||||||||
tallness | The amount of template levels. Size is preloaded from template during template registration. | ||||||||||||||||||||||||||||||||||||||||
template_categories | List of strings to store the templates under for mass retrieval. | ||||||||||||||||||||||||||||||||||||||||
template_flags | Flags for defining special properties of this template. | ||||||||||||||||||||||||||||||||||||||||
template_parent_type | If this is equal to current type, the datum is abstract and should not be created. | ||||||||||||||||||||||||||||||||||||||||
template_tags | Various tags used for selecting templates for placement on a map. | ||||||||||||||||||||||||||||||||||||||||
width | The width of the template's levels. Size is preloaded from template during template registration. | ||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||
is_runtime_generated | Returns whether a given map template is generated at runtime. Mainly used by unit tests. | ||||||||||||||||||||||||||||||||||||||||
load_new_z | Load the template onto a freshly created z-level. | ||||||||||||||||||||||||||||||||||||||||
load_single_path | Handle loading a single map path its bottom left corner starting at x,y,z.
+map_template
Var Detailsaccessibility_weightPercent of chances to end up onto a level from this template by spacewalking between space z-levels. heightThe height of the template's levels. Size is preloaded from template during template registration. level_data_typeThe initial type of level_data to instantiate new z-level with initially. (Is replaced by whatever is in the map file.) If null, will use default. loadedAmount of times this template was loaded at runtime. mappathsPath to the map files to load for this template. modify_tag_varsWill modify tag vars so that duplicate templates are handled properly. May have compatibility issues with legacy maps (esp. with ferry shuttles). nameName for differentiating templates shuttles_to_initialiseShuttles in this template's levels that need to be initialized with SSshuttle. subtemplates_to_spawnSub-templates to spawn on this template if any. Ruins and sites and etc.. tallnessThe amount of template levels. Size is preloaded from template during template registration. template_categoriesList of strings to store the templates under for mass retrieval. template_flagsFlags for defining special properties of this template. template_parent_typeIf this is equal to current type, the datum is abstract and should not be created. template_tagsVarious tags used for selecting templates for placement on a map. widthThe width of the template's levels. Size is preloaded from template during template registration. Proc Detailsis_runtime_generatedReturns whether a given map template is generated at runtime. Mainly used by unit tests. load_new_zLoad the template onto a freshly created z-level. +Meant to be overridden for handling extra per-map file processing. |
Percent of chances to end up onto a level from this template by spacewalking between space z-levels.
The height of the template's levels. Size is preloaded from template during template registration.
The initial type of level_data to instantiate new z-level with initially. (Is replaced by whatever is in the map file.) If null, will use default.
Amount of times this template was loaded at runtime.
Path to the map files to load for this template.
Will modify tag vars so that duplicate templates are handled properly. May have compatibility issues with legacy maps (esp. with ferry shuttles).
Name for differentiating templates
Shuttles in this template's levels that need to be initialized with SSshuttle.
Sub-templates to spawn on this template if any. Ruins and sites and etc..
The amount of template levels. Size is preloaded from template during template registration.
List of strings to store the templates under for mass retrieval.
Flags for defining special properties of this template.
If this is equal to current type, the datum is abstract and should not be created.
Various tags used for selecting templates for placement on a map.
The width of the template's levels. Size is preloaded from template during template registration.
Returns whether a given map template is generated at runtime. Mainly used by unit tests.
Load the template onto a freshly created z-level.
Handle loading a single map path its bottom left corner starting at x,y,z. +
Handle loading a single map path its bottom left corner starting at x,y,z. Returns a /datum/map_load_metadata if loading was successful. -Meant to be overridden for handling extra per-map file processing.
Base map template for planetoids, which need to instantiate a planetoid data object early during template spawn. -Can be used to load a planetoid from a map file.
Vars | |
planetoid_data_type | The type of planetoid data to instantiate for this planetoid. We'll use it as blueprint for the planet. |
---|---|
Procs | |
create_planetoid_instance | Returns a new instance of a datum used for containing runtime info on the planet generated by this template. |
setup_planet_overmap | Call after map is fully generated. Setup the overmap obj to match the planet we just generated. |
The type of planetoid data to instantiate for this planetoid. We'll use it as blueprint for the planet.
Returns a new instance of a datum used for containing runtime info on the planet generated by this template.
Call after map is fully generated. Setup the overmap obj to match the planet we just generated.
Base map template for planetoids, which need to instantiate a planetoid data object early during template spawn. +Can be used to load a planetoid from a map file.
Vars | |
planetoid_data_type | The type of planetoid data to instantiate for this planetoid. We'll use it as blueprint for the planet. |
---|---|
Procs | |
create_planetoid_instance | Returns a new instance of a datum used for containing runtime info on the planet generated by this template. |
setup_planet_overmap | Call after map is fully generated. Setup the overmap obj to match the planet we just generated. |
The type of planetoid data to instantiate for this planetoid. We'll use it as blueprint for the planet.
Returns a new instance of a datum used for containing runtime info on the planet generated by this template.
Call after map is fully generated. Setup the overmap obj to match the planet we just generated.
A randomly generated "tempate" for an planet-like objects. Meant to standardize how random planets are generated so it behave like all other map templates.
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||
adjacent_levels_east | Amount of adjacent stacked z-levels to generate east of the root z-level stack. Tallness is same as root. | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjacent_levels_north | Amount of adjacent stacked z-levels to generate north of the root z-level stack.
+randomA randomly generated "tempate" for an planet-like objects. Meant to standardize how random planets are generated so it behave like all other map templates.
Var Detailsadjacent_levels_eastAmount of adjacent stacked z-levels to generate east of the root z-level stack. Tallness is same as root. adjacent_levels_northAmount of adjacent stacked z-levels to generate north of the root z-level stack. -Setting this to 1 for instance will generate a stack of zlevels connecting to the north of all z-levels below the root level. Tallness is same as root. adjacent_levels_southAmount of adjacent stacked z-levels to generate south of the root z-level stack. Tallness is same as root. adjacent_levels_westAmount of adjacent stacked z-levels to generate west of the root z-level stack. Tallness is same as root. amount_shuttle_landing_pointsAmount of shuttle landing points to generate on the surface level of the planet. If null, none will be generated. max_shuttle_radiusThe maximum shuttle "radius" for the shuttle landing points that will be generated. max_themesMaximum amount of themes that can be picked for the same planet. overmap_marker_typeThe type of overmap marker object to use for this planet possible_themesList of theme types that can be picked by this planet when generating. prefered_level_data_per_zA list of the same length as there are zlevels on this map(index is z level count in order). -Each entry is a level_data type, or null. If defined, will override the level_data_type var for the specified z-level. subtemplate_budgetMaximume amount of subtemplates/ruins/sites that may be picked and spawned on the planet. surface_level_indexThe index of the generated level that will be considered the planet's surface for this generated planet counting from top to bottom. -The surface here implies the first "solid ground" z-level from the top. template_categoryRuin sites map template category to use for creating ruins on this planet. template_tags_blacklistBit flag of the ruin tags that may never be picked for this planet. template_tags_whitelistBit flag of the only ruin tags that may be picked by this planet. Proc Detailsbuild_adjacent_z_stacksBuild a stack that's adjacent to the specified stack. build_z_stackCreate a new z-level stack that's connected to an existing z stack, on the given direction. generate_featuresPicks all ruins and tries to spawn them on the levels that make up the planet. generate_landingTries to place landing areas for shuttles on the surface level of the planet. Run after generation is complete to avoid bad surprises! generate_levelsCreate individual levels linked to this planet. Must be called after basic planet stuff has been generated(atmosphere, habitability, etc..) generate_weatherMake sure all levels of this planet have the weather system setup. setup_planet_overmapCall after map is fully generated. Setup the overmap obj to match the planet we just generated. | ||||||||||||||||||||||||||||||||||||||||||||||||
template_category | Ruin sites map template category to use for creating ruins on this planet. | ||||||||||||||||||||||||||||||||||||||||||||||||
template_tags_blacklist | Bit flag of the ruin tags that may never be picked for this planet. | ||||||||||||||||||||||||||||||||||||||||||||||||
template_tags_whitelist | Bit flag of the only ruin tags that may be picked by this planet. | ||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||
build_adjacent_z_stacks | Build a stack that's adjacent to the specified stack. | ||||||||||||||||||||||||||||||||||||||||||||||||
build_z_stack | Create a new z-level stack that's connected to an existing z stack, on the given direction. | ||||||||||||||||||||||||||||||||||||||||||||||||
generate_features | Picks all ruins and tries to spawn them on the levels that make up the planet. | ||||||||||||||||||||||||||||||||||||||||||||||||
generate_landing | Tries to place landing areas for shuttles on the surface level of the planet. Run after generation is complete to avoid bad surprises! | ||||||||||||||||||||||||||||||||||||||||||||||||
generate_levels | Create individual levels linked to this planet. Must be called after basic planet stuff has been generated(atmosphere, habitability, etc..) | ||||||||||||||||||||||||||||||||||||||||||||||||
generate_weather | Make sure all levels of this planet have the weather system setup. | ||||||||||||||||||||||||||||||||||||||||||||||||
setup_planet_overmap | Call after map is fully generated. Setup the overmap obj to match the planet we just generated. |
Amount of adjacent stacked z-levels to generate east of the root z-level stack. Tallness is same as root.
Amount of adjacent stacked z-levels to generate north of the root z-level stack. +Setting this to 1 for instance will generate a stack of zlevels connecting to the north of all z-levels below the root level. Tallness is same as root.
Amount of adjacent stacked z-levels to generate south of the root z-level stack. Tallness is same as root.
Amount of adjacent stacked z-levels to generate west of the root z-level stack. Tallness is same as root.
Amount of shuttle landing points to generate on the surface level of the planet. If null, none will be generated.
The maximum shuttle "radius" for the shuttle landing points that will be generated.
Maximum amount of themes that can be picked for the same planet.
The type of overmap marker object to use for this planet
List of theme types that can be picked by this planet when generating.
A list of the same length as there are zlevels on this map(index is z level count in order). +Each entry is a level_data type, or null. If defined, will override the level_data_type var for the specified z-level.
Maximume amount of subtemplates/ruins/sites that may be picked and spawned on the planet.
The index of the generated level that will be considered the planet's surface for this generated planet counting from top to bottom. +The surface here implies the first "solid ground" z-level from the top.
Ruin sites map template category to use for creating ruins on this planet.
Bit flag of the ruin tags that may never be picked for this planet.
Bit flag of the only ruin tags that may be picked by this planet.
Build a stack that's adjacent to the specified stack.
Create a new z-level stack that's connected to an existing z stack, on the given direction.
Picks all ruins and tries to spawn them on the levels that make up the planet.
Tries to place landing areas for shuttles on the surface level of the planet. Run after generation is complete to avoid bad surprises!
Create individual levels linked to this planet. Must be called after basic planet stuff has been generated(atmosphere, habitability, etc..)
Make sure all levels of this planet have the weather system setup.
Call after map is fully generated. Setup the overmap obj to match the planet we just generated.
Global object for handling branches
Vars | |
branches | All branches that exist |
---|---|
spawn_branches_ | Branches that a player can choose for spawning, not including species restrictions. |
spawn_branches_by_species_ | Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis |
Procs | |
get_branch | Retrieve branch object by branch name |
get_branch_by_type | Retrieve branch object by branch type |
get_rank | Retrieve a rank object from given branch by name |
is_spawn_branch | Return a true value if branch_name is a valid spawn branch key |
is_spawn_rank | Return a true value if rank_name is a valid spawn rank in branch under branch_name |
spawn_branches | Return all spawn branches for the given input |
spawn_ranks | Return all spawn ranks for the given input |
All branches that exist
Branches that a player can choose for spawning, not including species restrictions.
Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis
Retrieve branch object by branch name
Retrieve branch object by branch type
Retrieve a rank object from given branch by name
Return a true value if branch_name is a valid spawn branch key
Return a true value if rank_name is a valid spawn rank in branch under branch_name
Return all spawn branches for the given input
Return all spawn ranks for the given input
Global object for handling branches
Vars | |
branches | All branches that exist |
---|---|
spawn_branches_ | Branches that a player can choose for spawning, not including species restrictions. |
spawn_branches_by_species_ | Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis |
Procs | |
get_branch | Retrieve branch object by branch name |
get_branch_by_type | Retrieve branch object by branch type |
get_rank | Retrieve a rank object from given branch by name |
is_spawn_branch | Return a true value if branch_name is a valid spawn branch key |
is_spawn_rank | Return a true value if rank_name is a valid spawn rank in branch under branch_name |
spawn_branches | Return all spawn branches for the given input |
spawn_ranks | Return all spawn ranks for the given input |
All branches that exist
Branches that a player can choose for spawning, not including species restrictions.
Branches that a player can choose for spawning, with species restrictions. Populated on a needed basis
Retrieve branch object by branch name
Retrieve branch object by branch type
Retrieve a rank object from given branch by name
Return a true value if branch_name is a valid spawn branch key
Return a true value if rank_name is a valid spawn rank in branch under branch_name
Return all spawn branches for the given input
Return all spawn ranks for the given input
A military rank
+A military rank
Note that in various places "rank" is used to refer to a character's job, and -so this is "mil_rank" to distinguish it.
Vars | |
_enemies | Who are our sworn enemies? Lazylist of weakrefs. |
---|---|
_friends | Who are we friends with? Lazylist of weakrefs. |
body | The parent mob we control. |
can_escape_buckles | Can we automatically escape from buckling? |
current_activity | What are we busy with currently? |
do_wander | Does the mob wander around when idle? |
emote_hear | Hearable emotes that this mob can randomly perform. |
emote_see | Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps |
emote_speech | Strings shown when this mob speaks and is not understood. |
expected_type | Type of mob this AI applies to. |
speak_chance | A prob chance of speaking. |
stance | What is our current general attitude and demeanor? |
stop_wander | Use this to temporarely stop random movement or to if you write special movement code for animals. |
stop_wander_when_pulled | When set to 1 this stops the animal from moving when someone is grabbing it. |
try_destroy_surroundings | Aggressive AI var; defined here for reference without casting. |
turns_per_wander | How many life ticks should pass before we wander? |
turns_since_wander | How many life ticks have passed since our last wander? |
wander_directions | What directions can we wander in? Uses global.cardinal if unset. |
Procs | |
scooped_by | General-purpose scooping reaction proc, used by /passive. -Returns TRUE if the scoop should proceed, FALSE if it should be canceled. |
Who are our sworn enemies? Lazylist of weakrefs.
Who are we friends with? Lazylist of weakrefs.
The parent mob we control.
Can we automatically escape from buckling?
What are we busy with currently?
Does the mob wander around when idle?
Hearable emotes that this mob can randomly perform.
Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps
Strings shown when this mob speaks and is not understood.
Type of mob this AI applies to.
A prob chance of speaking.
What is our current general attitude and demeanor?
Use this to temporarely stop random movement or to if you write special movement code for animals.
When set to 1 this stops the animal from moving when someone is grabbing it.
Aggressive AI var; defined here for reference without casting.
How many life ticks should pass before we wander?
How many life ticks have passed since our last wander?
What directions can we wander in? Uses global.cardinal if unset.
General-purpose scooping reaction proc, used by /passive. -Returns TRUE if the scoop should proceed, FALSE if it should be canceled.
Vars | |
_enemies | Who are our sworn enemies? Lazylist of weakrefs. |
---|---|
_friends | Who are we friends with? Lazylist of weakrefs. |
body | The parent mob we control. |
can_escape_buckles | Can we automatically escape from buckling? |
current_activity | What are we busy with currently? |
do_wander | Does the mob wander around when idle? |
emote_hear | Hearable emotes that this mob can randomly perform. |
emote_see | Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps |
emote_speech | Strings shown when this mob speaks and is not understood. |
expected_type | Type of mob this AI applies to. |
speak_chance | A prob chance of speaking. |
stance | What is our current general attitude and demeanor? |
stop_wander | Use this to temporarely stop random movement or to if you write special movement code for animals. |
stop_wander_when_pulled | When set to 1 this stops the animal from moving when someone is grabbing it. |
try_destroy_surroundings | Aggressive AI var; defined here for reference without casting. |
turns_per_wander | How many life ticks should pass before we wander? |
turns_since_wander | How many life ticks have passed since our last wander? |
wander_directions | What directions can we wander in? Uses global.cardinal if unset. |
Procs | |
scooped_by | General-purpose scooping reaction proc, used by /passive. +Returns TRUE if the scoop should proceed, FALSE if it should be canceled. |
Who are our sworn enemies? Lazylist of weakrefs.
Who are we friends with? Lazylist of weakrefs.
The parent mob we control.
Can we automatically escape from buckling?
What are we busy with currently?
Does the mob wander around when idle?
Hearable emotes that this mob can randomly perform.
Unlike speak_emote, the list of things in this variable only show by themselves with no spoken text. IE: Ian barks, Ian yaps
Strings shown when this mob speaks and is not understood.
Type of mob this AI applies to.
A prob chance of speaking.
What is our current general attitude and demeanor?
Use this to temporarely stop random movement or to if you write special movement code for animals.
When set to 1 this stops the animal from moving when someone is grabbing it.
Aggressive AI var; defined here for reference without casting.
How many life ticks should pass before we wander?
How many life ticks have passed since our last wander?
What directions can we wander in? Uses global.cardinal if unset.
General-purpose scooping reaction proc, used by /passive. +Returns TRUE if the scoop should proceed, FALSE if it should be canceled.
Vars | |
_allowed_targets | Lazylist of acceptable target weakrefs as designated by our master (or 'everyone'). |
---|---|
master | undisputed master. Their commands hold ultimate sway and ultimate power. |
retribution | whether or not they will attack us if we attack them like some kinda dick. |
Lazylist of acceptable target weakrefs as designated by our master (or 'everyone').
undisputed master. Their commands hold ultimate sway and ultimate power.
whether or not they will attack us if we attack them like some kinda dick.
Vars | |
_allowed_targets | Lazylist of acceptable target weakrefs as designated by our master (or 'everyone'). |
---|---|
master | undisputed master. Their commands hold ultimate sway and ultimate power. |
retribution | whether or not they will attack us if we attack them like some kinda dick. |
Lazylist of acceptable target weakrefs as designated by our master (or 'everyone').
undisputed master. Their commands hold ultimate sway and ultimate power.
whether or not they will attack us if we attack them like some kinda dick.
NANO UI FRAMEWORK
+NANO UI FRAMEWORK
nanoui class (or whatever Byond calls classes)
nanoui is used to open and update nano browser uis
Procs | |
New | Create a new nanoui instance. |
---|---|
Process | This Process proc is called by SSnano. Use try_update() to make manual updates. |
Topic | This Topic() proc is called whenever a user clicks on a link within a Nano UI @@ -12,7 +12,7 @@ The layout key is the basic layout key for the page Two files are loaded on the client based on the layout key varable: -> a template in /nano/templates with the filename "layout_<layout_key>.tmpl --> a CSS stylesheet in /nano/css with the filename "layout_<layout_key>.css |
set_map_z_level | Toggle showing the map ui |
set_show_map | Toggle showing the map ui |
set_state_key | Set the state key for use in the frontend Javascript |
set_status | Set the current status (also known as visibility) of this ui. |
set_window_options | Set the browser window options for this ui |
try_update | Process this UI, updating the entire UI or just the status (aka visibility) |
update | Update the UI |
update_status | Update the status (visibility) of this ui based on the user's status |
use_on_close_logic | Set whether or not to use the "old" on close logic (mainly unset_machine()) |
Create a new nanoui instance.
+-> a CSS stylesheet in /nano/css with the filename "layout_<layout_key>.cssCreate a new nanoui instance.
@param nuser /mob The mob who has opened/owns this ui @param nsrc_object /obj|/mob The obj or mob which this ui belongs to @param nui_key string A string key to use for this ui. Allows for multiple unique uis on one src_oject @@ -21,62 +21,62 @@ @param nwidth int the width of the ui window @param nheight int the height of the ui window @param nref /atom A custom ref to use if "on_close_logic" is set to 1
-@return /nanoui new nanoui object
This Process proc is called by SSnano. -Use try_update() to make manual updates.
This Topic() proc is called whenever a user clicks on a link within a Nano UI +
@return /nanoui new nanoui object
This Process proc is called by SSnano. +Use try_update() to make manual updates.
This Topic() proc is called whenever a user clicks on a link within a Nano UI If the UI status is currently STATUS_INTERACTIVE then call the src_object Topic() If the src_object Topic() returns 1 (true) then update all UIs attached to src_object
-@return nothing
Use this proc to add assets which are common to (and required by) all nano uis
-@return nothing
Add a JavaScript script to this UI +
@return nothing
Use this proc to add assets which are common to (and required by) all nano uis
+@return nothing
Add a JavaScript script to this UI These must be added before the UI has been opened, adding after that will have no effect
@param file string The name of the JavaScript file from /nano/js (e.g. "my_script.js")
-@return nothing
Add a CSS stylesheet to this UI +
@return nothing
Add a CSS stylesheet to this UI These must be added before the UI has been opened, adding after that will have no effect
@param file string The name of the CSS file from /nano/css (e.g. "my_style.css")
-@return nothing
Add a template for this UI +
@return nothing
Add a template for this UI Templates are combined with the data sent to the UI to create the rendered view These must be added before the UI has been opened, adding after that will have no effect
@param key string The key which is used to reference this template in the frontend @param filename string The name of the template file from /nano/templates (e.g. "my_template.tmpl")
-@return nothing
Close this UI
-@return nothing
Get config data to sent to the ui.
-@return /list config data
Return the HTML for this UI
-@return string HTML for the UI
Get data to sent to the ui.
+@return nothing
Close this UI
+@return nothing
Get config data to sent to the ui.
+@return /list config data
Return the HTML for this UI
+@return string HTML for the UI
Get data to sent to the ui.
@param data /list The list of general data for this ui (can be null to use previous data sent)
-@return /list data to send to the ui
Set the UI window to call the nanoclose verb when the window is closed +
@return /list data to send to the ui
Set the UI window to call the nanoclose verb when the window is closed This allows Nano to handle closed windows
-@return nothing
Open this UI
-@return nothing
Push data to an already open UI window
-@return nothing
Reinitialise this UI, potentially with a different template and/or initial data
-@return nothing
Set the ui to auto update (every master_controller tick)
+@return nothing
Open this UI
+@return nothing
Push data to an already open UI window
+@return nothing
Reinitialise this UI, potentially with a different template and/or initial data
+@return nothing
Set the ui to auto update (every master_controller tick)
@param state int (bool) Set auto update to 1 or 0 (true/false)
-@return nothing
Set the ui to update the main content (re-render it) on each update
+@return nothing
Set the ui to update the main content (re-render it) on each update
@param state int (bool) Set update to 1 or 0 (true/false) (default 1)
-@return nothing
Set the ui to update the layout (re-render it) on each update, turning this on will break the map ui (if it's being used)
+@return nothing
Set the ui to update the layout (re-render it) on each update, turning this on will break the map ui (if it's being used)
@param state int (bool) Set update to 1 or 0 (true/false) (default 0)
-@return nothing
Set the initial data for the ui. This is vital as the data structure set here cannot be changed when pushing new updates.
+@return nothing
Set the initial data for the ui. This is vital as the data structure set here cannot be changed when pushing new updates.
@param data /list The list of data for this ui
-@return nothing
Set the layout key for use in the frontend Javascript +
@return nothing
Set the layout key for use in the frontend Javascript The layout key is the basic layout key for the page Two files are loaded on the client based on the layout key varable: -> a template in /nano/templates with the filename "layout_<layout_key>.tmpl -> a CSS stylesheet in /nano/css with the filename "layout_<layout_key>.css
@param nlayout string The layout key to use
-@return nothing
Toggle showing the map ui
+@return nothing
Toggle showing the map ui
@param nstate_key boolean 1 to show map, 0 to hide (default is 0)
-@return nothing
Toggle showing the map ui
+@return nothing
Toggle showing the map ui
@param nstate_key boolean 1 to show map, 0 to hide (default is 0)
-@return nothing
Set the state key for use in the frontend Javascript
+@return nothing
Set the state key for use in the frontend Javascript
@param nstate_key string The key of the state to use
-@return nothing
Set the current status (also known as visibility) of this ui.
+@return nothing
Set the current status (also known as visibility) of this ui.
@param state int The status to set, see the defines at the top of this file @param push_update int (bool) Push an update to the ui to update it's status (an update is always sent if the status has changed to red (0))
-@return nothing
Set the browser window options for this ui
+@return nothing
Set the browser window options for this ui
@param nwindow_options string The new window options
-@return nothing
Process this UI, updating the entire UI or just the status (aka visibility)
+@return nothing
Process this UI, updating the entire UI or just the status (aka visibility)
@param update string For this UI to update
-@return nothing
Update the UI
-@return nothing
Update the status (visibility) of this ui based on the user's status
+@return nothing
Update the UI
+@return nothing
Update the status (visibility) of this ui based on the user's status
@param push_update int (bool) Push an update to the ui to update it's status. This is set to 0/false if an update is going to be pushed anyway (to avoid unnessary updates)
-@return 1 if closed, null otherwise.
Set whether or not to use the "old" on close logic (mainly unset_machine())
+@return 1 if closed, null otherwise.
Set whether or not to use the "old" on close logic (mainly unset_machine())
@param state int (bool) Set on_close_logic to 1 or 0 (true/false)
-@return nothing
@return nothing
Vars | |
cached_temporary_sectors | list used to cache empty zlevels to avoid needless z-stack bloat |
---|
list used to cache empty zlevels to avoid needless z-stack bloat
Vars | |
cached_temporary_sectors | list used to cache empty zlevels to avoid needless z-stack bloat |
---|
list used to cache empty zlevels to avoid needless z-stack bloat
Contains data about the flora found on a planetoid, and facilities to pick and spawn them randomly. +
Contains data about the flora found on a planetoid, and facilities to pick and spawn them randomly. This base type is meant to be used on its own only for fixed flora lists defined at compile time.
Vars | |
big_flora_types | Seeds of tree-tier flora at runtime. At definition is a list of /datum/seed types or plant names. |
---|---|
exuded_gases_exclusions | Gases that plants should never produce during their lives. |
grass_color | Color used for grass floors. |
plant_colors | Colors allowed for generated flora. |
small_flora_types | Seeds of 'small' flora at runtime. At definition is a list of /datum/seed types or plant names. |
Procs | |
setup_flora | Make sure our flora seed lists actually contains valid seeds! -Call this after creating the datum to ensure everything is ready! |
setup_flora_list | Go through a flora list and ensure any seed names and seed datum types are properly turned into a seed instance, and carry over any existing seed instances. |
spawn_random_big_flora | Spawns a randomly chosen big flora from our big flora seed list. |
spawn_random_small_flora | Spawns a randomly chosen small flora from our small flora seed list. |
Seeds of tree-tier flora at runtime. At definition is a list of /datum/seed types or plant names.
Gases that plants should never produce during their lives.
Color used for grass floors.
Colors allowed for generated flora.
Seeds of 'small' flora at runtime. At definition is a list of /datum/seed types or plant names.
Make sure our flora seed lists actually contains valid seeds! -Call this after creating the datum to ensure everything is ready!
Go through a flora list and ensure any seed names and seed datum types are properly turned into a seed instance, and carry over any existing seed instances.
Spawns a randomly chosen big flora from our big flora seed list.
Spawns a randomly chosen small flora from our small flora seed list.
Seeds of tree-tier flora at runtime. At definition is a list of /datum/seed types or plant names.
Gases that plants should never produce during their lives.
Color used for grass floors.
Colors allowed for generated flora.
Seeds of 'small' flora at runtime. At definition is a list of /datum/seed types or plant names.
Make sure our flora seed lists actually contains valid seeds! +Call this after creating the datum to ensure everything is ready!
Go through a flora list and ensure any seed names and seed datum types are properly turned into a seed instance, and carry over any existing seed instances.
Spawns a randomly chosen big flora from our big flora seed list.
Spawns a randomly chosen small flora from our small flora seed list.
A randomly generating planet_flora data datum
Vars | |
flora_diversity | Max number of different seeds growing here |
---|---|
has_trees | If large flora should be generated |
Procs | |
generate_flora | Generates a bunch of seeds adapted to the specified climate |
Max number of different seeds growing here
If large flora should be generated
Generates a bunch of seeds adapted to the specified climate
A randomly generating planet_flora data datum
Vars | |
flora_diversity | Max number of different seeds growing here |
---|---|
has_trees | If large flora should be generated |
Procs | |
generate_flora | Generates a bunch of seeds adapted to the specified climate |
Max number of different seeds growing here
If large flora should be generated
Generates a bunch of seeds adapted to the specified climate
Data for a planetoid. Used by SSmapping for keeping track of a lot of details about specific planetoids.
Vars | |
_budget_override | Subtemplate budget override. If something overrode the map_template's base budget, this will be set. Otherwise, it'll stay null. (Used in manual exoplanet generation verb) |
---|---|
_theme_forced | Enforces a single theme. If something overrode the map template's base random themes list, this will be set. Otherwise it'll stay null. (Used in manual exoplanet generation verb) |
atmosphere | The cached planet's atmosphere that sub-levels of this planet should use. Can be a type path at definition, and an instance at runtime. |
daycycle_id | ID used for registering/deregistering with a daycycle. |
daycycle_type | Type of daycycle to use. |
engraving_generator | A xenoarch flavor text generator instance for this planet. Used for unique engravings and weird visions stuff. |
fauna | The instance of the fauna generator currently managing our fauna if any. May be set to a path to instantiate. |
flora | The flora generator instance that generates and keep track of the flora types for this planet. May be set to a path to instantiate. |
habitability_class | The habitability rating for this planetoid |
has_rings | Whether this planetoid has rings, used by the overmap marker to draw rings in the skybox and etc.. |
height | Preferred height for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the height of the levels under this planet. |
id | Unique internal Id string for looking up this planetoid in SSmapping |
initial_weather_state | What weather state to use for this planet initially. If null, will not initialize any weather system. Must be a typepath rather than an instance. |
overmap_marker | A weak reference to the overmap marker for this template instance if any exists. Or at definition the type path of the marker to use |
ring_color | If we have rings, this is the color they'll have on the overmap |
ring_type_name | If we have rings, this is the sprite we picked for it |
rock_color | The color for rocks on this planet. Null is the rock wall's material's default. |
strata | The overall strata of the planet. May be a type path at definition, or instance at runtime. |
subtemplates | List of subtemplates types we picked and spawned on this planet. |
surface_area | A reference to the surface area of the planet. |
surface_color | Color of the primary layer of the skybox image. Used by the overmap marker. |
surface_level_id | Level data id for the level that's considered to be the planet's surface. In other words, the topmost firm ground level of the root z stack. |
surface_light_color | Lighjting color used for the entire surface. |
surface_light_level | Ambient lighting level across the surface. All surface height levels will be set to this. |
tallness | Preferred amount of vertically connected z-levels for this planets. Null means it's up to each z-levels. |
temperature_max | The maximum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever) |
temperature_min | The minimum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever) |
themes | List of theme types that were randomly picked from the possible list at runtime. Also used by the overmap marker. |
topmost_level_id | Topmost level data datum id of the root z stack (ID only, because this datum has an uncontrolled lifetime, and we don't want dangling refs) |
water_color | Color of the secondary layer of the skybox image. Is usually water-like features. Used by the overmap marker. |
width | Preferred width for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the width of the levels under this planet. |
Procs | |
SetName | Sets the name of the planetoid, and causes updates to happen to anything linked to us. |
begin_processing | Registers to neccessary processors and begin running all processing needed by the planet |
end_processing | Stop running any processing needed by the planet, and unregister from processors. |
generate_life | Make our fauna and flora gen setup. |
generate_planetoid_id | Generate and sets the planetary id for this planetoid if it doesn't have one yet. Called on instantiation. |
generate_weather | Setup the initial weather state for the planet. Doesn't apply it to our z levels however. |
get_grass_color | Returns the color of grass picked for this planet or null. |
get_linked_level_ids | Returns a list of all the level id of the levels associated to this planet |
get_rock_color | Returns the color of rock walls on this planet, or null. |
get_strata | Returns the strata picked for the planet, if there is one. |
has_fauna | Is there any currently live fauna on this planetoid? |
has_flora | Is there any flora species on this planetoid? |
is_native_animal | If the animal is native of this planet returns TRUE. |
is_native_plant | If the plant is native of this planet it will return TRUE. |
reset_weather | Resets the given weather state to our planet replacing the old one, and trigger updates. Can be a type path or instance. |
set_atmosphere | Sets the atmosphere of the planet to the given gas_mixture instance or type path. Will Clone() the mixture in the arguments for itself. |
set_engraving_generator | Sets the xenoarch engraving generator for the planet. The argument can be either an instance, or a type path. |
set_habitability | Sets the habitability of the planetoid for generation and display. Causes the overmap marker to be updated to reflect the changes. |
set_overmap_marker | Associate an overmap marker with this planetoid data so we can synchronize the information displayed on the overmap with the actual state of the planet. |
set_strata | Sets the planet's strata to the given one. The argument may be a type path or instance. Shouldn't be used outside of setup after the world was generated. |
set_surface_level | Sets the id of the surface level of the planetoid. Argument can be a level_data, or level_id string(make sure the level_data is reachable from SSmapping's level_data by id list). -Should be set only once during setup. Also updates our base surface area var. |
set_topmost_level | Set the id of the topmost level of the planetoid. Argument can be a level_data, or level_id string. Should only be set once during setup ideally. |
setup_fauna_generator | Create the specified type of fauna manager type for this planetoid |
setup_flora_data | Create the specified type of flora data type for this planetoid |
setup_planetoid | Initializes the internal state of the planetoid, so its data can be used. Should be called no earlier than when SSmapping is running. |
try_update_overmap_marker | Force any overmap markers linked to us to update to match our state |
Subtemplate budget override. If something overrode the map_template's base budget, this will be set. Otherwise, it'll stay null. (Used in manual exoplanet generation verb)
Enforces a single theme. If something overrode the map template's base random themes list, this will be set. Otherwise it'll stay null. (Used in manual exoplanet generation verb)
The cached planet's atmosphere that sub-levels of this planet should use. Can be a type path at definition, and an instance at runtime.
ID used for registering/deregistering with a daycycle.
Type of daycycle to use.
A xenoarch flavor text generator instance for this planet. Used for unique engravings and weird visions stuff.
The instance of the fauna generator currently managing our fauna if any. May be set to a path to instantiate.
The flora generator instance that generates and keep track of the flora types for this planet. May be set to a path to instantiate.
The habitability rating for this planetoid
Whether this planetoid has rings, used by the overmap marker to draw rings in the skybox and etc..
Preferred height for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the height of the levels under this planet.
Unique internal Id string for looking up this planetoid in SSmapping
What weather state to use for this planet initially. If null, will not initialize any weather system. Must be a typepath rather than an instance.
A weak reference to the overmap marker for this template instance if any exists. Or at definition the type path of the marker to use
If we have rings, this is the color they'll have on the overmap
If we have rings, this is the sprite we picked for it
The color for rocks on this planet. Null is the rock wall's material's default.
The overall strata of the planet. May be a type path at definition, or instance at runtime.
List of subtemplates types we picked and spawned on this planet.
A reference to the surface area of the planet.
Color of the primary layer of the skybox image. Used by the overmap marker.
Level data id for the level that's considered to be the planet's surface. In other words, the topmost firm ground level of the root z stack.
Lighjting color used for the entire surface.
Ambient lighting level across the surface. All surface height levels will be set to this.
Preferred amount of vertically connected z-levels for this planets. Null means it's up to each z-levels.
The maximum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever)
The minimum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever)
List of theme types that were randomly picked from the possible list at runtime. Also used by the overmap marker.
Topmost level data datum id of the root z stack (ID only, because this datum has an uncontrolled lifetime, and we don't want dangling refs)
Color of the secondary layer of the skybox image. Is usually water-like features. Used by the overmap marker.
Preferred width for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the width of the levels under this planet.
Sets the name of the planetoid, and causes updates to happen to anything linked to us.
Registers to neccessary processors and begin running all processing needed by the planet
Stop running any processing needed by the planet, and unregister from processors.
Make our fauna and flora gen setup.
Generate and sets the planetary id for this planetoid if it doesn't have one yet. Called on instantiation.
Setup the initial weather state for the planet. Doesn't apply it to our z levels however.
Returns the color of grass picked for this planet or null.
Returns a list of all the level id of the levels associated to this planet
Returns the color of rock walls on this planet, or null.
Returns the strata picked for the planet, if there is one.
Is there any currently live fauna on this planetoid?
Is there any flora species on this planetoid?
If the animal is native of this planet returns TRUE.
If the plant is native of this planet it will return TRUE.
Resets the given weather state to our planet replacing the old one, and trigger updates. Can be a type path or instance.
Sets the atmosphere of the planet to the given gas_mixture instance or type path. Will Clone() the mixture in the arguments for itself.
Sets the xenoarch engraving generator for the planet. The argument can be either an instance, or a type path.
Sets the habitability of the planetoid for generation and display. Causes the overmap marker to be updated to reflect the changes.
Associate an overmap marker with this planetoid data so we can synchronize the information displayed on the overmap with the actual state of the planet.
Sets the planet's strata to the given one. The argument may be a type path or instance. Shouldn't be used outside of setup after the world was generated.
Sets the id of the surface level of the planetoid. Argument can be a level_data, or level_id string(make sure the level_data is reachable from SSmapping's level_data by id list). -Should be set only once during setup. Also updates our base surface area var.
Set the id of the topmost level of the planetoid. Argument can be a level_data, or level_id string. Should only be set once during setup ideally.
Create the specified type of fauna manager type for this planetoid
Create the specified type of flora data type for this planetoid
Initializes the internal state of the planetoid, so its data can be used. Should be called no earlier than when SSmapping is running.
Force any overmap markers linked to us to update to match our state
Data for a planetoid. Used by SSmapping for keeping track of a lot of details about specific planetoids.
Vars | |
_budget_override | Subtemplate budget override. If something overrode the map_template's base budget, this will be set. Otherwise, it'll stay null. (Used in manual exoplanet generation verb) |
---|---|
_theme_forced | Enforces a single theme. If something overrode the map template's base random themes list, this will be set. Otherwise it'll stay null. (Used in manual exoplanet generation verb) |
atmosphere | The cached planet's atmosphere that sub-levels of this planet should use. Can be a type path at definition, and an instance at runtime. |
daycycle_id | ID used for registering/deregistering with a daycycle. |
daycycle_type | Type of daycycle to use. |
engraving_generator | A xenoarch flavor text generator instance for this planet. Used for unique engravings and weird visions stuff. |
fauna | The instance of the fauna generator currently managing our fauna if any. May be set to a path to instantiate. |
flora | The flora generator instance that generates and keep track of the flora types for this planet. May be set to a path to instantiate. |
habitability_class | The habitability rating for this planetoid |
has_rings | Whether this planetoid has rings, used by the overmap marker to draw rings in the skybox and etc.. |
height | Preferred height for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the height of the levels under this planet. |
id | Unique internal Id string for looking up this planetoid in SSmapping |
initial_weather_state | What weather state to use for this planet initially. If null, will not initialize any weather system. Must be a typepath rather than an instance. |
overmap_marker | A weak reference to the overmap marker for this template instance if any exists. Or at definition the type path of the marker to use |
ring_color | If we have rings, this is the color they'll have on the overmap |
ring_type_name | If we have rings, this is the sprite we picked for it |
rock_color | The color for rocks on this planet. Null is the rock wall's material's default. |
strata | The overall strata of the planet. May be a type path at definition, or instance at runtime. |
subtemplates | List of subtemplates types we picked and spawned on this planet. |
surface_area | A reference to the surface area of the planet. |
surface_color | Color of the primary layer of the skybox image. Used by the overmap marker. |
surface_level_id | Level data id for the level that's considered to be the planet's surface. In other words, the topmost firm ground level of the root z stack. |
surface_light_color | Lighjting color used for the entire surface. |
surface_light_level | Ambient lighting level across the surface. All surface height levels will be set to this. |
tallness | Preferred amount of vertically connected z-levels for this planets. Null means it's up to each z-levels. |
temperature_max | The maximum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever) |
temperature_min | The minimum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever) |
themes | List of theme types that were randomly picked from the possible list at runtime. Also used by the overmap marker. |
topmost_level_id | Topmost level data datum id of the root z stack (ID only, because this datum has an uncontrolled lifetime, and we don't want dangling refs) |
water_color | Color of the secondary layer of the skybox image. Is usually water-like features. Used by the overmap marker. |
width | Preferred width for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the width of the levels under this planet. |
Procs | |
SetName | Sets the name of the planetoid, and causes updates to happen to anything linked to us. |
begin_processing | Registers to neccessary processors and begin running all processing needed by the planet |
end_processing | Stop running any processing needed by the planet, and unregister from processors. |
generate_life | Make our fauna and flora gen setup. |
generate_planetoid_id | Generate and sets the planetary id for this planetoid if it doesn't have one yet. Called on instantiation. |
generate_weather | Setup the initial weather state for the planet. Doesn't apply it to our z levels however. |
get_grass_color | Returns the color of grass picked for this planet or null. |
get_linked_level_ids | Returns a list of all the level id of the levels associated to this planet |
get_rock_color | Returns the color of rock walls on this planet, or null. |
get_strata | Returns the strata picked for the planet, if there is one. |
has_fauna | Is there any currently live fauna on this planetoid? |
has_flora | Is there any flora species on this planetoid? |
is_native_animal | If the animal is native of this planet returns TRUE. |
is_native_plant | If the plant is native of this planet it will return TRUE. |
reset_weather | Resets the given weather state to our planet replacing the old one, and trigger updates. Can be a type path or instance. |
set_atmosphere | Sets the atmosphere of the planet to the given gas_mixture instance or type path. Will Clone() the mixture in the arguments for itself. |
set_engraving_generator | Sets the xenoarch engraving generator for the planet. The argument can be either an instance, or a type path. |
set_habitability | Sets the habitability of the planetoid for generation and display. Causes the overmap marker to be updated to reflect the changes. |
set_overmap_marker | Associate an overmap marker with this planetoid data so we can synchronize the information displayed on the overmap with the actual state of the planet. |
set_strata | Sets the planet's strata to the given one. The argument may be a type path or instance. Shouldn't be used outside of setup after the world was generated. |
set_surface_level | Sets the id of the surface level of the planetoid. Argument can be a level_data, or level_id string(make sure the level_data is reachable from SSmapping's level_data by id list). +Should be set only once during setup. Also updates our base surface area var. |
set_topmost_level | Set the id of the topmost level of the planetoid. Argument can be a level_data, or level_id string. Should only be set once during setup ideally. |
setup_fauna_generator | Create the specified type of fauna manager type for this planetoid |
setup_flora_data | Create the specified type of flora data type for this planetoid |
setup_planetoid | Initializes the internal state of the planetoid, so its data can be used. Should be called no earlier than when SSmapping is running. |
try_update_overmap_marker | Force any overmap markers linked to us to update to match our state |
Subtemplate budget override. If something overrode the map_template's base budget, this will be set. Otherwise, it'll stay null. (Used in manual exoplanet generation verb)
Enforces a single theme. If something overrode the map template's base random themes list, this will be set. Otherwise it'll stay null. (Used in manual exoplanet generation verb)
The cached planet's atmosphere that sub-levels of this planet should use. Can be a type path at definition, and an instance at runtime.
ID used for registering/deregistering with a daycycle.
Type of daycycle to use.
A xenoarch flavor text generator instance for this planet. Used for unique engravings and weird visions stuff.
The instance of the fauna generator currently managing our fauna if any. May be set to a path to instantiate.
The flora generator instance that generates and keep track of the flora types for this planet. May be set to a path to instantiate.
The habitability rating for this planetoid
Whether this planetoid has rings, used by the overmap marker to draw rings in the skybox and etc..
Preferred height for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the height of the levels under this planet.
Unique internal Id string for looking up this planetoid in SSmapping
What weather state to use for this planet initially. If null, will not initialize any weather system. Must be a typepath rather than an instance.
A weak reference to the overmap marker for this template instance if any exists. Or at definition the type path of the marker to use
If we have rings, this is the color they'll have on the overmap
If we have rings, this is the sprite we picked for it
The color for rocks on this planet. Null is the rock wall's material's default.
The overall strata of the planet. May be a type path at definition, or instance at runtime.
List of subtemplates types we picked and spawned on this planet.
A reference to the surface area of the planet.
Color of the primary layer of the skybox image. Used by the overmap marker.
Level data id for the level that's considered to be the planet's surface. In other words, the topmost firm ground level of the root z stack.
Lighjting color used for the entire surface.
Ambient lighting level across the surface. All surface height levels will be set to this.
Preferred amount of vertically connected z-levels for this planets. Null means it's up to each z-levels.
The maximum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever)
The minimum temperature that can be reached on the planet.(For instance via meteo or sunlight/shade or whatever)
List of theme types that were randomly picked from the possible list at runtime. Also used by the overmap marker.
Topmost level data datum id of the root z stack (ID only, because this datum has an uncontrolled lifetime, and we don't want dangling refs)
Color of the secondary layer of the skybox image. Is usually water-like features. Used by the overmap marker.
Preferred width for all the planet z-levels. Null means it's up to each z-levels. Not reliable for telling the width of the levels under this planet.
Sets the name of the planetoid, and causes updates to happen to anything linked to us.
Registers to neccessary processors and begin running all processing needed by the planet
Stop running any processing needed by the planet, and unregister from processors.
Make our fauna and flora gen setup.
Generate and sets the planetary id for this planetoid if it doesn't have one yet. Called on instantiation.
Setup the initial weather state for the planet. Doesn't apply it to our z levels however.
Returns the color of grass picked for this planet or null.
Returns a list of all the level id of the levels associated to this planet
Returns the color of rock walls on this planet, or null.
Returns the strata picked for the planet, if there is one.
Is there any currently live fauna on this planetoid?
Is there any flora species on this planetoid?
If the animal is native of this planet returns TRUE.
If the plant is native of this planet it will return TRUE.
Resets the given weather state to our planet replacing the old one, and trigger updates. Can be a type path or instance.
Sets the atmosphere of the planet to the given gas_mixture instance or type path. Will Clone() the mixture in the arguments for itself.
Sets the xenoarch engraving generator for the planet. The argument can be either an instance, or a type path.
Sets the habitability of the planetoid for generation and display. Causes the overmap marker to be updated to reflect the changes.
Associate an overmap marker with this planetoid data so we can synchronize the information displayed on the overmap with the actual state of the planet.
Sets the planet's strata to the given one. The argument may be a type path or instance. Shouldn't be used outside of setup after the world was generated.
Sets the id of the surface level of the planetoid. Argument can be a level_data, or level_id string(make sure the level_data is reachable from SSmapping's level_data by id list). +Should be set only once during setup. Also updates our base surface area var.
Set the id of the topmost level of the planetoid. Argument can be a level_data, or level_id string. Should only be set once during setup ideally.
Create the specified type of fauna manager type for this planetoid
Create the specified type of flora data type for this planetoid
Initializes the internal state of the planetoid, so its data can be used. Should be called no earlier than when SSmapping is running.
Force any overmap markers linked to us to update to match our state
A randomly generating planetoid_data, used by random planet map_templates
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
atmosphere_gen_pressure_max | Maximum atmospheric pressure in the range to pick from for this planet template. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
atmosphere_gen_pressure_min | Minimum atmospheric pressure in the range to pick from for this planet template. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
atmosphere_gen_temperature_max | Maximum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
atmosphere_gen_temperature_min | Minimum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
atmospheric_gen_gases_max | Maximum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
atmospheric_gen_gases_min | Minimum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
forced_atmosphere_gen_gases | A list of gas and their proportion to enforce on this planet when generating the atmosphere.
+randomA randomly generating planetoid_data, used by random planet map_templates
Var Detailsatmosphere_gen_pressure_maxMaximum atmospheric pressure in the range to pick from for this planet template. atmosphere_gen_pressure_minMinimum atmospheric pressure in the range to pick from for this planet template. atmosphere_gen_temperature_maxMaximum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet. atmosphere_gen_temperature_minMinimum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet. atmospheric_gen_gases_maxMaximum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases atmospheric_gen_gases_minMinimum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases forced_atmosphere_gen_gasesA list of gas and their proportion to enforce on this planet when generating the atmosphere. -If a level's get_mandatory_gases() returns gases, they will be added to this. If null is randomly generated. possible_ring_colorPossible ring colors possible_ring_type_namePossible ring sprites that can be used for a possible ring possible_rock_colorsPossible colors for rock walls and rocks in general on this planet (Honestly, should be handled via materal system maybe?) possible_surface_light_gen_colorsPossible list of colors to pick for the ambient lighting color. Null means a random color will be generated. -This value may be overridden by individual /datum/level_data. ring_gen_probabilityThe chance that this planetoid template creates a planetoid with a ring. surface_light_gen_level_maxPlanet ambient lighting maximum possible value from 0 to 1. This value may be overridden in individual /datum/level_data. surface_light_gen_level_minPlanet ambient lighting minimum possible value from 0 to 1. This value may be overridden in individual /datum/level_data. Proc Detailsgenerate_ambient_lightingCalculate the color and intensity of the ambient starlight that this planet receives. generate_atmosphereCreates the atmosphere for the planet randomly or not. generate_habitabilityPick an hability class for this planet. Should be done as early as possible during generation. generate_planet_materialsGenerate the planet's minable resources, material for rocks and etc. generate_surface_light_levelCalculate the ambient lighting intensity for the planet. generate_surface_pressureGenerates a valid surface pressure for the planet's atmosphere matching it's habitability class generate_surface_temperatureGenerates a valid surface temperature for the planet's atmosphere matching its habitability class make_planet_nameIf the planet doesn't have a name defined, a name will be randomly generated for it. (Named this way because a global proc generate_planet_name already exists) pick_atmospheric_gases_candidatesGo through all materials and pick those that we could pick from on this planet pregeneratePre-generate the random planetoid's data before it has any actual level or overmap marker tied to it. select_strataSelects the base strata for the whole planet. The levels have the final say however in what to do with that. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
ring_gen_probability | The chance that this planetoid template creates a planetoid with a ring. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
surface_light_gen_level_max | Planet ambient lighting maximum possible value from 0 to 1. This value may be overridden in individual /datum/level_data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
surface_light_gen_level_min | Planet ambient lighting minimum possible value from 0 to 1. This value may be overridden in individual /datum/level_data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_ambient_lighting | Calculate the color and intensity of the ambient starlight that this planet receives. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_atmosphere | Creates the atmosphere for the planet randomly or not. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_habitability | Pick an hability class for this planet. Should be done as early as possible during generation. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_planet_materials | Generate the planet's minable resources, material for rocks and etc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_surface_light_level | Calculate the ambient lighting intensity for the planet. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_surface_pressure | Generates a valid surface pressure for the planet's atmosphere matching it's habitability class | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
generate_surface_temperature | Generates a valid surface temperature for the planet's atmosphere matching its habitability class | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
make_planet_name | If the planet doesn't have a name defined, a name will be randomly generated for it. (Named this way because a global proc generate_planet_name already exists) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
pick_atmospheric_gases_candidates | Go through all materials and pick those that we could pick from on this planet | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
pregenerate | Pre-generate the random planetoid's data before it has any actual level or overmap marker tied to it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
select_strata | Selects the base strata for the whole planet. The levels have the final say however in what to do with that. |
Maximum atmospheric pressure in the range to pick from for this planet template.
Minimum atmospheric pressure in the range to pick from for this planet template.
Maximum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet.
Minimum possible base temperature range to pick from, in kelvins, when generating the atmosphere on this planet.
Maximum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases
Minimum amount of different atmospheric gases that may be generated for this planet, not counting the forced gases
A list of gas and their proportion to enforce on this planet when generating the atmosphere. +If a level's get_mandatory_gases() returns gases, they will be added to this. If null is randomly generated.
Possible ring colors
Possible ring sprites that can be used for a possible ring
Possible colors for rock walls and rocks in general on this planet (Honestly, should be handled via materal system maybe?)
Possible list of colors to pick for the ambient lighting color. Null means a random color will be generated. +This value may be overridden by individual /datum/level_data.
The chance that this planetoid template creates a planetoid with a ring.
Planet ambient lighting maximum possible value from 0 to 1. This value may be overridden in individual /datum/level_data.
Planet ambient lighting minimum possible value from 0 to 1. This value may be overridden in individual /datum/level_data.
Calculate the color and intensity of the ambient starlight that this planet receives.
Creates the atmosphere for the planet randomly or not.
Pick an hability class for this planet. Should be done as early as possible during generation.
Generate the planet's minable resources, material for rocks and etc.
Calculate the ambient lighting intensity for the planet.
Generates a valid surface pressure for the planet's atmosphere matching it's habitability class
Generates a valid surface temperature for the planet's atmosphere matching its habitability class
If the planet doesn't have a name defined, a name will be randomly generated for it. (Named this way because a global proc generate_planet_name already exists)
Go through all materials and pick those that we could pick from on this planet
Pre-generate the random planetoid's data before it has any actual level or overmap marker tied to it.
Selects the base strata for the whole planet. The levels have the final say however in what to do with that.
Vars | |
genetype | Reference back to our master |
---|---|
values | Values to copy into the target seed datum. |
Reference back to our master
Values to copy into the target seed datum.
Vars | |
genetype | Reference back to our master |
---|---|
values | Values to copy into the target seed datum. |
Reference back to our master
Values to copy into the target seed datum.
Procs | |
add_cable | ... delete it |
---|---|
add_machine | ... delete it - qdel |
... delete it
... delete it - qdel
Procs | |
add_cable | ... delete it |
---|---|
add_machine | ... delete it - qdel |
... delete it
... delete it - qdel
Vars | |
default_slot | Holder so it doesn't default to slot 1, rather the last one used |
---|---|
hotkeys | Whether or not this client has standard hotkeys enabled |
is_byond_member | Cached varialbe for checking byond membership. Also handles days of membership left. |
is_guest | doohickeys for savefiles |
key_bindings | Custom Keybindings |
Procs | |
check_keybindings | checks through keybindings for outdated unbound keys and updates them |
Holder so it doesn't default to slot 1, rather the last one used
Whether or not this client has standard hotkeys enabled
Cached varialbe for checking byond membership. Also handles days of membership left.
doohickeys for savefiles
Custom Keybindings
checks through keybindings for outdated unbound keys and updates them
Vars | |
default_slot | Holder so it doesn't default to slot 1, rather the last one used |
---|---|
hotkeys | Whether or not this client has standard hotkeys enabled |
is_byond_member | Cached varialbe for checking byond membership. Also handles days of membership left. |
is_guest | doohickeys for savefiles |
key_bindings | Custom Keybindings |
Procs | |
check_keybindings | checks through keybindings for outdated unbound keys and updates them |
Holder so it doesn't default to slot 1, rather the last one used
Whether or not this client has standard hotkeys enabled
Cached varialbe for checking byond membership. Also handles days of membership left.
doohickeys for savefiles
Custom Keybindings
checks through keybindings for outdated unbound keys and updates them
An automatically ordered list, using the cmp proc to weight the list items
Vars | |
L | The actual queue |
---|---|
cmp | The weight function used to order the queue |
Procs | |
Dequeue | Removes and returns the first item in the queue |
Enqueue | Add an item to the list, immediatly ordering it to its position using dichotomic search |
Get | Gets the item at the positon index |
IsEmpty | |
Length | |
List | |
New | Takes a proc comparer that will be used to compare the items inserted |
ReSort | Resorts the item to its correct position in the queue. |
Remove | Removes an item from the list |
Seek | Finds an item in the list |
The actual queue
The weight function used to order the queue
Removes and returns the first item in the queue
+An automatically ordered list, using the cmp proc to weight the list items
Vars | |
L | The actual queue |
---|---|
cmp | The weight function used to order the queue |
Procs | |
Dequeue | Removes and returns the first item in the queue |
Enqueue | Add an item to the list, immediatly ordering it to its position using dichotomic search |
Get | Gets the item at the positon index |
IsEmpty | |
Length | |
List | |
New | Takes a proc comparer that will be used to compare the items inserted |
ReSort | Resorts the item to its correct position in the queue. |
Remove | Removes an item from the list |
Seek | Finds an item in the list |
The actual queue
The weight function used to order the queue
Removes and returns the first item in the queue
item
in the queue, otherwise FALSE
Add an item
to the list, immediatly ordering it to its position using dichotomic search
Gets the item at the positon index
Add an item
to the list, immediatly ordering it to its position using dichotomic search
Gets the item at the positon index
item
at the index, or 0
if outside the range of the queueTRUE
if the queue is empty, otherwise FALSE
Takes a proc comparer
that will be used to compare the items inserted
Takes a proc comparer
that will be used to compare the items inserted
comparer
take two arguments and return the difference in their weightResorts the item
to its correct position in the queue.
Resorts the item
to its correct position in the queue.
Removes an item
from the list
Removes an item
from the list
TRUE
if succesfully removed, otherwise FALSE
Finds an item
in the list
Finds an item
in the list
item
, or 0
if not foundVars | |
destroy_time | Total amount of milliseconds spent processing this type's Destroy(). |
---|---|
early_destroy | Number of times it was destroyed before Initialize(). |
failures | Times it was queued for soft deletion but failed to soft delete. |
hard_delete_time | Total amount of milliseconds spent hard deleting this type. |
hard_deletes | Different from failures because it also includes QDEL_HINT_HARDDEL deletions. |
no_hint | Number of times it hasn't bothered to give a qdel hint. |
no_respect_force | Number of times its not respected force=TRUE. |
qdels | Total number of times its passed thru qdel. |
slept_destroy | Number of times slept in its destroy. |
Total amount of milliseconds spent processing this type's Destroy().
Number of times it was destroyed before Initialize().
Times it was queued for soft deletion but failed to soft delete.
Total amount of milliseconds spent hard deleting this type.
Different from failures because it also includes QDEL_HINT_HARDDEL deletions.
Number of times it hasn't bothered to give a qdel hint.
Number of times its not respected force=TRUE.
Total number of times its passed thru qdel.
Number of times slept in its destroy.
Vars | |
destroy_time | Total amount of milliseconds spent processing this type's Destroy(). |
---|---|
early_destroy | Number of times it was destroyed before Initialize(). |
failures | Times it was queued for soft deletion but failed to soft delete. |
hard_delete_time | Total amount of milliseconds spent hard deleting this type. |
hard_deletes | Different from failures because it also includes QDEL_HINT_HARDDEL deletions. |
no_hint | Number of times it hasn't bothered to give a qdel hint. |
no_respect_force | Number of times its not respected force=TRUE. |
qdels | Total number of times its passed thru qdel. |
slept_destroy | Number of times slept in its destroy. |
Total amount of milliseconds spent processing this type's Destroy().
Number of times it was destroyed before Initialize().
Times it was queued for soft deletion but failed to soft delete.
Total amount of milliseconds spent hard deleting this type.
Different from failures because it also includes QDEL_HINT_HARDDEL deletions.
Number of times it hasn't bothered to give a qdel hint.
Number of times its not respected force=TRUE.
Total number of times its passed thru qdel.
Number of times slept in its destroy.
Procs | |||||||
get_neighbors | Gets the neighbors of the cell at x, y, optionally including diagonals.
+noise
Proc Detailsget_neighborsGets the neighbors of the cell at x, y, optionally including diagonals. -(x,y) and its neighbors can safely be invalid/not validated before calling. has_neighbor_with_pathChecks if the cell at x,y has a neighbor with the given path. -Faster than looping over get_neighbors for the same purpose because it doesn't use list ops. |
---|
Gets the neighbors of the cell at x, y, optionally including diagonals. +(x,y) and its neighbors can safely be invalid/not validated before calling.
Checks if the cell at x,y has a neighbor with the given path. +Faster than looping over get_neighbors for the same purpose because it doesn't use list ops.
Procs | |
remove_any | Removes up to [amount] of reagents from [src]. Returns actual amount removed. |
---|---|
set_holder | Set and call updates on the target holder. |
Removes up to [amount] of reagents from [src]. Returns actual amount removed.
Set and call updates on the target holder.
Procs | |
remove_any | Removes up to [amount] of reagents from [src]. Returns actual amount removed. |
---|---|
set_holder | Set and call updates on the target holder. |
Removes up to [amount] of reagents from [src]. Returns actual amount removed.
Set and call updates on the target holder.
Vars | |
current_port_tag | The landmark_tag of the landmark being used to match rotation and placement when docking. |
---|---|
docking_ports | A list of all available docking ports to use for rotation/placement when landing and docking. |
Procs | |
attempt_move | Shuttle Moved Handling * (Observer Pattern Implementation: Shuttle Moved) -Shuttle Pre Move Handling * (Observer Pattern Implementation: Shuttle Pre Move) |
The landmark_tag of the landmark being used to match rotation and placement when docking.
A list of all available docking ports to use for rotation/placement when landing and docking.
Shuttle Moved Handling * (Observer Pattern Implementation: Shuttle Moved) -Shuttle Pre Move Handling * (Observer Pattern Implementation: Shuttle Pre Move)
Vars | |
current_port_tag | The landmark_tag of the landmark being used to match rotation and placement when docking. |
---|---|
docking_ports | A list of all available docking ports to use for rotation/placement when landing and docking. |
Procs | |
attempt_move | Shuttle Moved Handling * (Observer Pattern Implementation: Shuttle Moved) +Shuttle Pre Move Handling * (Observer Pattern Implementation: Shuttle Pre Move) |
The landmark_tag of the landmark being used to match rotation and placement when docking.
A list of all available docking ports to use for rotation/placement when landing and docking.
Shuttle Moved Handling * (Observer Pattern Implementation: Shuttle Moved) +Shuttle Pre Move Handling * (Observer Pattern Implementation: Shuttle Pre Move)
Procs | |
can_cancel | datum/shuttle/autodock/ferry/specops/can_force() |
---|
datum/shuttle/autodock/ferry/specops/can_force()
Procs | |
can_cancel | datum/shuttle/autodock/ferry/specops/can_force() |
---|
datum/shuttle/autodock/ferry/specops/can_force()
Procs | |
gallopRight | Like gallopLeft, except that if the range contains an element equal to -key, gallopRight returns the index after the rightmost equal element. |
---|
Like gallopLeft, except that if the range contains an element equal to +
Procs | |
gallopRight | Like gallopLeft, except that if the range contains an element equal to +key, gallopRight returns the index after the rightmost equal element. |
---|
Like gallopLeft, except that if the range contains an element equal to key, gallopRight returns the index after the rightmost equal element.
@param key the key whose insertion point to search for @param a the array in which to search @@ -8,4 +8,4 @@ @param hint the index at which to begin the search, 0 <= hint < n. The closer hint is to the result, the faster this method will run. @param c the comparator used to order the range, and to search -@return the int k, 0 <= k <= n such that a[b + k - 1] <= key < a[b + k]
Vars | |
allow_quick_empty | Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor. |
---|---|
allow_quick_gather | Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile. |
can_hold | List of objects which this item can store (if set, it can't store anything else) |
cant_hold | List of objects which this item can't store (in effect only if can_hold isn't set) |
close_sound | Sound played when the storage ui is closed. |
collection_mode | FALSE = pick one at a time, TRUE = pick all on tile |
max_storage_space | Total storage cost of items this can hold. Will be autoset based on storage_slots if left null. |
max_w_class | Max size of objects that this object can store (in effect only if can_hold isn't set) |
open_sound | What sound do we make when opened? |
opened | Has the storage been opened? |
storage_slots | The number of storage slots in this container. |
storage_ui | What storage UI do we use? |
use_sound | sound played when used. null for no sound. |
use_to_pickup | Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up. |
Procs | |
play_close_sound | Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
play_open_sound | Overridable sound playback parameters. Since not all sounds are created equal. |
play_use_sound | Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor.
Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile.
List of objects which this item can store (if set, it can't store anything else)
List of objects which this item can't store (in effect only if can_hold isn't set)
Sound played when the storage ui is closed.
FALSE = pick one at a time, TRUE = pick all on tile
Total storage cost of items this can hold. Will be autoset based on storage_slots if left null.
Max size of objects that this object can store (in effect only if can_hold isn't set)
What sound do we make when opened?
Has the storage been opened?
The number of storage slots in this container.
What storage UI do we use?
sound played when used. null for no sound.
Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up.
Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.
Overridable sound playback parameters. Since not all sounds are created equal.
Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.
Vars | |
allow_quick_empty | Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor. |
---|---|
allow_quick_gather | Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile. |
can_hold | List of objects which this item can store (if set, it can't store anything else) |
cant_hold | List of objects which this item can't store (in effect only if can_hold isn't set) |
close_sound | Sound played when the storage ui is closed. |
collection_mode | FALSE = pick one at a time, TRUE = pick all on tile |
max_storage_space | Total storage cost of items this can hold. Will be autoset based on storage_slots if left null. |
max_w_class | Max size of objects that this object can store (in effect only if can_hold isn't set) |
open_sound | What sound do we make when opened? |
opened | Has the storage been opened? |
storage_slots | The number of storage slots in this container. |
storage_ui | What storage UI do we use? |
use_sound | sound played when used. null for no sound. |
use_to_pickup | Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up. |
Procs | |
play_close_sound | Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
play_open_sound | Overridable sound playback parameters. Since not all sounds are created equal. |
play_use_sound | Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal. |
Set this boolean variable to allow the object to have the 'empty' verb, which dumps all the contents on the floor.
Set this boolean variable to allow the object to have the 'toggle mode' verb, which quickly collects all items from a tile.
List of objects which this item can store (if set, it can't store anything else)
List of objects which this item can't store (in effect only if can_hold isn't set)
Sound played when the storage ui is closed.
FALSE = pick one at a time, TRUE = pick all on tile
Total storage cost of items this can hold. Will be autoset based on storage_slots if left null.
Max size of objects that this object can store (in effect only if can_hold isn't set)
What sound do we make when opened?
Has the storage been opened?
The number of storage slots in this container.
What storage UI do we use?
sound played when used. null for no sound.
Set this boolean variable to make it possible to use this item in an inverse way, so you can have the item in your hand and click items on the floor to pick them up.
Plays the close sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.
Overridable sound playback parameters. Since not all sounds are created equal.
Plays the use sound for this storage. volume as arg so it can be overriden. Since not all sounds are created equal.
Procs | |
is_locked | Helper proc for getting the locked state of the secure storage |
---|
Helper proc for getting the locked state of the secure storage
Procs | |
is_locked | Helper proc for getting the locked state of the secure storage |
---|
Helper proc for getting the locked state of the secure storage
Vars | |
capacity | the number of sheets it can carry. |
---|
the number of sheets it can carry.
Vars | |
capacity | the number of sheets it can carry. |
---|
the number of sheets it can carry.
Procs | |
get_key_for_object | Returns a key (not necessarily a string) to group objects by. |
---|
Returns a key (not necessarily a string) to group objects by.
Procs | |
get_key_for_object | Returns a key (not necessarily a string) to group objects by. |
---|
Returns a key (not necessarily a string) to group objects by.
Datum used to hold information about a product in a vending machine
Vars | |
display_color | Display color for vending machine listing |
---|---|
item_name | Display name for the product |
price | Price to buy one |
Display color for vending machine listing
Display name for the product
Price to buy one
Datum used to hold information about a product in a vending machine
Vars | |
display_color | Display color for vending machine listing |
---|---|
item_name | Display name for the product |
price | Price to buy one |
Display color for vending machine listing
Display name for the product
Price to buy one
Vars | |
desc | A short string shown in Check Stressors. |
---|---|
incompatible_with_stressors | A list of stressor IDs that will prevent this stressor being added if present. |
name | A name string, used solely for input(). |
on_addition_message | A message shown when the stressor begins. |
on_removal_message | A message shown when the stressor expires. |
stress_value | Amount that this stressor will contribute to stress. |
suppress_stressors | A list of stressor IDs that will be hidden/not counted while this stressor is present. |
A short string shown in Check Stressors.
A list of stressor IDs that will prevent this stressor being added if present.
A name string, used solely for input().
A message shown when the stressor begins.
A message shown when the stressor expires.
Amount that this stressor will contribute to stress.
A list of stressor IDs that will be hidden/not counted while this stressor is present.
Vars | |
desc | A short string shown in Check Stressors. |
---|---|
incompatible_with_stressors | A list of stressor IDs that will prevent this stressor being added if present. |
name | A name string, used solely for input(). |
on_addition_message | A message shown when the stressor begins. |
on_removal_message | A message shown when the stressor expires. |
stress_value | Amount that this stressor will contribute to stress. |
suppress_stressors | A list of stressor IDs that will be hidden/not counted while this stressor is present. |
A short string shown in Check Stressors.
A list of stressor IDs that will prevent this stressor being added if present.
A name string, used solely for input().
A message shown when the stressor begins.
A message shown when the stressor expires.
Amount that this stressor will contribute to stress.
A list of stressor IDs that will be hidden/not counted while this stressor is present.
This is the actual timer, it contains the callback and necessary data to maintain +
This is the actual timer, it contains the callback and necessary data to maintain the timer.
See the documentation for the timer subsystem for an explanation of the buckets referenced below in next and prev
Vars | |
bucket_joined | Boolean indicating if timer joined into bucket |
---|---|
bucket_pos | Initial bucket position |
callBack | The callback to invoke after the timer completes |
flags | Flags associated with the timer, see _DEFINES/subsystems.dm |
hash | Unique hash generated when TIMER_UNIQUE flag is present |
id | ID used for timers when the TIMER_STOPPABLE flag is present |
name | An informative name generated for the timer as its representation in strings, useful for debugging |
next | Next timed event in the bucket |
prev | Previous timed event in the bucket |
source | The source of the timedevent, whatever called addtimer |
spent | Time at which the timer was invoked or destroyed |
timeToRun | The time at which the callback should be invoked at |
timer_subsystem | The timer subsystem this event is associated with |
wait | The length of the timer |
Procs | |
bucketEject | Removes this timed event from any relevant buckets, or the secondary queue |
bucketJoin | Attempts to add this timed event to a bucket, will enter the secondary queue -if there are no appropriate buckets at this time. |
getcallingtype | Returns a string of the type of the callback for this timer |
Boolean indicating if timer joined into bucket
Initial bucket position
The callback to invoke after the timer completes
Flags associated with the timer, see _DEFINES/subsystems.dm
Unique hash generated when TIMER_UNIQUE flag is present
ID used for timers when the TIMER_STOPPABLE flag is present
An informative name generated for the timer as its representation in strings, useful for debugging
Next timed event in the bucket
Previous timed event in the bucket
The source of the timedevent, whatever called addtimer
Time at which the timer was invoked or destroyed
The time at which the callback should be invoked at
The timer subsystem this event is associated with
The length of the timer
Removes this timed event from any relevant buckets, or the secondary queue
Attempts to add this timed event to a bucket, will enter the secondary queue +if there are no appropriate buckets at this time.
Boolean indicating if timer joined into bucket
Initial bucket position
The callback to invoke after the timer completes
Flags associated with the timer, see _DEFINES/subsystems.dm
Unique hash generated when TIMER_UNIQUE flag is present
ID used for timers when the TIMER_STOPPABLE flag is present
An informative name generated for the timer as its representation in strings, useful for debugging
Next timed event in the bucket
Previous timed event in the bucket
The source of the timedevent, whatever called addtimer
Time at which the timer was invoked or destroyed
The time at which the callback should be invoked at
The timer subsystem this event is associated with
The length of the timer
Removes this timed event from any relevant buckets, or the secondary queue
Attempts to add this timed event to a bucket, will enter the secondary queue if there are no appropriate buckets at this time.
Secondary queueing of timed events will occur when the timespan covered by the existing buckets is exceeded by the time at which this timed event is scheduled to be invoked. -If the timed event is tracking client time, it will be added to a special bucket.
Returns a string of the type of the callback for this timer
Returns a string of the type of the callback for this timer
Each slice origin items should cut into the same slice.
+Each slice origin items should cut into the same slice.
Each slice type defines an item from which it originates. Each sliceable item defines what item it cuts into. This test checks if the two defnitions -are consistent between the two items.
Procs | |
report_failure | Logs a failure entry for the given test and item type. |
---|
Logs a failure entry for the given test and item type.
Procs | |
report_failure | Logs a failure entry for the given test and item type. |
---|
Logs a failure entry for the given test and item type.
Here we move a shuttle then test it's area once the shuttle has arrived.
Vars | |
initial_movetime | The shuttle movetime initially set for the cargo shuttle, so we can restore it |
---|---|
shuttle | The shuttle datum of the supply shuttle |
shuttle_destination | The destination waypoint of the shuttle |
shuttle_start | The starting waypoint of the shuttle |
The shuttle movetime initially set for the cargo shuttle, so we can restore it
The shuttle datum of the supply shuttle
The destination waypoint of the shuttle
The starting waypoint of the shuttle
Here we move a shuttle then test it's area once the shuttle has arrived.
Vars | |
initial_movetime | The shuttle movetime initially set for the cargo shuttle, so we can restore it |
---|---|
shuttle | The shuttle datum of the supply shuttle |
shuttle_destination | The destination waypoint of the shuttle |
shuttle_start | The starting waypoint of the shuttle |
The shuttle movetime initially set for the cargo shuttle, so we can restore it
The shuttle datum of the supply shuttle
The destination waypoint of the shuttle
The starting waypoint of the shuttle
Vars | |
antag_roles | Antag roles this item is displayed to. If empty, display to all. If it includes 'Exclude", anybody except this role can view it -Examples: list(/decl/special_role/someone); list("Exclude", /decl/special_role/whoever); etc |
---|
Antag roles this item is displayed to. If empty, display to all. If it includes 'Exclude", anybody except this role can view it -Examples: list(/decl/special_role/someone); list("Exclude", /decl/special_role/whoever); etc
Vars | |
antag_roles | Antag roles this item is displayed to. If empty, display to all. If it includes 'Exclude", anybody except this role can view it +Examples: list(/decl/special_role/someone); list("Exclude", /decl/special_role/whoever); etc |
---|
Antag roles this item is displayed to. If empty, display to all. If it includes 'Exclude", anybody except this role can view it +Examples: list(/decl/special_role/someone); list("Exclude", /decl/special_role/whoever); etc
Procs | |
buy | Physical Uplink Entries |
---|
Physical Uplink Entries
Procs | |
buy | Physical Uplink Entries |
---|
Physical Uplink Entries
Contains generated xenorach flavor text for engravings. Was moved out of exoplanet gen.
Vars | |
picked_actors | Actors this instance will use when generating engravings flavor text. |
---|---|
possible_activities | Possible verbs the plural actors are performing on the singular actor |
possible_actors_plural | Possible actors acting upon the other actor |
possible_actors_singular | Possible actor being acted upon. |
possible_observations | Possible observations made by the narrator |
possible_vision_activities | Possible activities an actor can do during a violent vision. |
Procs | |
generate_engraving_text | attempt at more consistent history generation for xenoarch finds. |
generate_violent_vision_text | Generate the text for a violent vision event when touching a monolith. |
setup_actors | Decides the possible singular and plural actors that this instance of engraving generator may use. |
Actors this instance will use when generating engravings flavor text.
Possible verbs the plural actors are performing on the singular actor
Possible actors acting upon the other actor
Possible actor being acted upon.
Possible observations made by the narrator
Possible activities an actor can do during a violent vision.
attempt at more consistent history generation for xenoarch finds.
Generate the text for a violent vision event when touching a monolith.
Decides the possible singular and plural actors that this instance of engraving generator may use.
Contains generated xenorach flavor text for engravings. Was moved out of exoplanet gen.
Vars | |
picked_actors | Actors this instance will use when generating engravings flavor text. |
---|---|
possible_activities | Possible verbs the plural actors are performing on the singular actor |
possible_actors_plural | Possible actors acting upon the other actor |
possible_actors_singular | Possible actor being acted upon. |
possible_observations | Possible observations made by the narrator |
possible_vision_activities | Possible activities an actor can do during a violent vision. |
Procs | |
generate_engraving_text | attempt at more consistent history generation for xenoarch finds. |
generate_violent_vision_text | Generate the text for a violent vision event when touching a monolith. |
setup_actors | Decides the possible singular and plural actors that this instance of engraving generator may use. |
Actors this instance will use when generating engravings flavor text.
Possible verbs the plural actors are performing on the singular actor
Possible actors acting upon the other actor
Possible actor being acted upon.
Possible observations made by the narrator
Possible activities an actor can do during a violent vision.
attempt at more consistent history generation for xenoarch finds.
Generate the text for a violent vision event when touching a monolith.
Decides the possible singular and plural actors that this instance of engraving generator may use.
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
additional_emotes | Add emotes to this list to add them to the defaults (ie. a humanoid species that also has a purr) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apply_encased | Associative list of organ_tag = "encased value". If set, sets the organ's encased var to the corresponding value; used in surgery.
+bodytype
Var Detailsadditional_emotesAdd emotes to this list to add them to the defaults (ie. a humanoid species that also has a purr) apply_encasedAssociative list of organ_tag = "encased value". If set, sets the organ's encased var to the corresponding value; used in surgery. -If the list is set, organ tags not present in the list will get encased set to null. arterial_bleed_multiplierUsed to modify the arterial_bleed_severity of organs. body_flagsA bitfield representing various bodytype-specific features. breathing_organIf set, an organ with this tag is required for breathing cold_discomfort_stringsAesthetic messages about feeling chilly. default_emotesGeneralized emote list available to mobs with this bodytype. descSeen when examining a prosthetic limb, if non-null. edible_reagentThe reagent organs are filled with, which currently affects what mobs that eat the organ will receive. -TODO: Remove this in a later matter edibility refactor. eye_base_low_light_visionFractional multiplier (0 to 1) for the base alpha of the darkness overlay. A value of 1 means darkness is completely invisible. eye_flash_modStun from blindness modifier. eye_low_light_vision_adjustment_speedThe rate at which low light vision adjusts towards the final value, as a fractional multiplier of the difference between the current and target alphas. ie. set to 0.15 for a 15% shift towards the target value each tick. eye_low_light_vision_effectivenessFractional multiplier for the overall effectiveness of low light vision for this species. Caps the final alpha value of the darkness plane. eye_low_light_vision_thresholdThe lumcount (turf luminosity) threshold under which adaptive low light vision will begin processing. hardinessModifies min and max broken damage for the limb. has_eyesDetermines if eyes should render on heads using this bodytype. has_limbsAssociative list of organ_tag = organ_data. -Organ data currently supports setting "path" and "descriptor", while "has_children" is automatically set. has_organAssociative list of organ tags (ex. BP_HEART) to paths. -Used to initialize organs and to check if a bodytype 'should have' (this can mean 'can have' or 'needs') an organ. heat_discomfort_stringsAesthetic messages about feeling warm. is_roboticDetermines if this bodytype can be repaired by nanopaste, sparks when damaged, can malfunction, and can take EMP damage. limb_mappingAn associative list of target zones (ex. BP_CHEST, BP_MOUTH) mapped to all possible keys associated -with the zone. Used for species with body layouts that do not map directly to a standard humanoid body. limb_techWhat tech levels should limbs of this type use/need? manual_dexterityFor hands, determines the dexterity value passed to get_manual_dexterity(). If null, defers to species. materialUsed to initialize organ material matterUsed to initialize organ matter modifier_stringPrefixed to the initial name of the limb, if non-null. modular_limb_tierDetermines how the limb behaves with regards to manual attachment/detachment. movement_slowdownApplies a slowdown value to this limb. nail_nounUsed when filing your nails. nameName used in general. override_limb_typesThis list is merged into has_limbs in bodytype initialization. -Used for species that only need to change one or two entries in has_limbs. pref_nameName used in preference bodytype selection. Defaults to name. removed_emotesAdd emotes to this list to remove them from defaults (ie. blinking for a species with no eyes) rotate_on_proneSet to FALSE if the mob will update prone icon based on state rather than transform. vision_organIf set, an organ with this tag is required for vision. vital_organ_failure_death_delayThe grace period before mob death when an organ in vital_organsLosing an organ from this list will give a grace period of | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pref_name | Name used in preference bodytype selection. Defaults to name. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
removed_emotes | Add emotes to this list to remove them from defaults (ie. blinking for a species with no eyes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rotate_on_prone | Set to FALSE if the mob will update prone icon based on state rather than transform. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vision_organ | If set, an organ with this tag is required for vision. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vital_organ_failure_death_delay | The grace period before mob death when an organ in vital_organs is lost | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vital_organs | Losing an organ from this list will give a grace period of vital_organ_failure_death_delay then kill the mob. |
Add emotes to this list to add them to the defaults (ie. a humanoid species that also has a purr)
Associative list of organ_tag = "encased value". If set, sets the organ's encased var to the corresponding value; used in surgery. +If the list is set, organ tags not present in the list will get encased set to null.
Used to modify the arterial_bleed_severity of organs.
A bitfield representing various bodytype-specific features.
If set, an organ with this tag is required for breathing
Aesthetic messages about feeling chilly.
Generalized emote list available to mobs with this bodytype.
Seen when examining a prosthetic limb, if non-null.
The reagent organs are filled with, which currently affects what mobs that eat the organ will receive. +TODO: Remove this in a later matter edibility refactor.
Fractional multiplier (0 to 1) for the base alpha of the darkness overlay. A value of 1 means darkness is completely invisible.
Stun from blindness modifier.
The rate at which low light vision adjusts towards the final value, as a fractional multiplier of the difference between the current and target alphas. ie. set to 0.15 for a 15% shift towards the target value each tick.
Fractional multiplier for the overall effectiveness of low light vision for this species. Caps the final alpha value of the darkness plane.
The lumcount (turf luminosity) threshold under which adaptive low light vision will begin processing.
Modifies min and max broken damage for the limb.
Determines if eyes should render on heads using this bodytype.
Associative list of organ_tag = organ_data. +Organ data currently supports setting "path" and "descriptor", while "has_children" is automatically set.
Associative list of organ tags (ex. BP_HEART) to paths. +Used to initialize organs and to check if a bodytype 'should have' (this can mean 'can have' or 'needs') an organ.
Aesthetic messages about feeling warm.
Determines if this bodytype can be repaired by nanopaste, sparks when damaged, can malfunction, and can take EMP damage.
An associative list of target zones (ex. BP_CHEST, BP_MOUTH) mapped to all possible keys associated +with the zone. Used for species with body layouts that do not map directly to a standard humanoid body.
What tech levels should limbs of this type use/need?
For hands, determines the dexterity value passed to get_manual_dexterity(). If null, defers to species.
Used to initialize organ material
Used to initialize organ matter
Prefixed to the initial name of the limb, if non-null.
Determines how the limb behaves with regards to manual attachment/detachment.
Applies a slowdown value to this limb.
Used when filing your nails.
Name used in general.
This list is merged into has_limbs in bodytype initialization. +Used for species that only need to change one or two entries in has_limbs.
Name used in preference bodytype selection. Defaults to name.
Add emotes to this list to remove them from defaults (ie. blinking for a species with no eyes)
Set to FALSE if the mob will update prone icon based on state rather than transform.
If set, an organ with this tag is required for vision.
The grace period before mob death when an organ in vital_organs
is lost
Losing an organ from this list will give a grace period of vital_organ_failure_death_delay
then kill the mob.
Vars | |||||||||||
applies_to_part | Determines which bodyparts can use this limb. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
required_map_tech | Prosthetics of this type are not available in chargen unless the map has the required tech level. | ||||||||||
Procs | |||||||||||
check_can_install | Used to check if a prosthetic bodytype can be installed with a certain base bodytype/for a certain organ slot.
+prosthetic
Var Detailsapplies_to_partDetermines which bodyparts can use this limb. required_map_techProsthetics of this type are not available in chargen unless the map has the required tech level. Proc Detailscheck_can_installUsed to check if a prosthetic bodytype can be installed with a certain base bodytype/for a certain organ slot. +Parameters: var/target_bodytype - the bodytype_category we're checking |
Determines which bodyparts can use this limb.
Prosthetics of this type are not available in chargen unless the map has the required tech level.
Used to check if a prosthetic bodytype can be installed with a certain base bodytype/for a certain organ slot. Parameters: var/target_slot -Parameters: var/target_bodytype - the bodytype_category we're checking
Vars | |
butchery_offset | A two-element lazylist of the form list(x, y), used to translate the mob's appearance on a butcher hook. Applied after rotation. |
---|---|
meat_name | Decorative string. 'beef', 'chicken', 'lamb', etc. Uses mob name if unset. |
A two-element lazylist of the form list(x, y), used to translate the mob's appearance on a butcher hook. Applied after rotation.
Decorative string. 'beef', 'chicken', 'lamb', etc. Uses mob name if unset.
Vars | |
butchery_offset | A two-element lazylist of the form list(x, y), used to translate the mob's appearance on a butcher hook. Applied after rotation. |
---|---|
meat_name | Decorative string. 'beef', 'chicken', 'lamb', etc. Uses mob name if unset. |
A two-element lazylist of the form list(x, y), used to translate the mob's appearance on a butcher hook. Applied after rotation.
Decorative string. 'beef', 'chicken', 'lamb', etc. Uses mob name if unset.
Vars | |
chemical_reaction_flags | Flags used when reaction processing. |
---|
Flags used when reaction processing.
Vars | |
chemical_reaction_flags | Flags used when reaction processing. |
---|
Flags used when reaction processing.
Vars | |||||||||||||||||||||||||
description | Cocktail description, applied to the glass. | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
display_ratios | The ratio displayed in the codex, which is the same as ratios prior to normalisation. | ||||||||||||||||||||||||
display_types | A list of types (incl. subtypes) to display this cocktail's glass sprite on. | ||||||||||||||||||||||||
glass_icon | The icon to use for the cocktail. May be null, in which case no custom icon is used. | ||||||||||||||||||||||||
glass_icon_state | The icon_state to use for the cocktail. May be null, in which case the first state in the icon is used. | ||||||||||||||||||||||||
hidden_from_codex | If TRUE, doesn't generate a codex entry. | ||||||||||||||||||||||||
impurity_tolerance | What fraction of the total volume of the drink (ignoring ice) can be unrelated chems? | ||||||||||||||||||||||||
name | Cocktail name, applied to the glass. | ||||||||||||||||||||||||
order_specific | If TRUE, cocktail ingredients must be added in the order they're specified in the ratio. | ||||||||||||||||||||||||
ratios | Associative list of reagents. The actual amount only matters for defining proportions and will be normalized.
+cocktail
Var DetailsdescriptionCocktail description, applied to the glass. display_ratiosThe ratio displayed in the codex, which is the same as ratios prior to normalisation. display_typesA list of types (incl. subtypes) to display this cocktail's glass sprite on. glass_iconThe icon to use for the cocktail. May be null, in which case no custom icon is used. glass_icon_stateThe icon_state to use for the cocktail. May be null, in which case the first state in the icon is used. hidden_from_codexIf TRUE, doesn't generate a codex entry. impurity_toleranceWhat fraction of the total volume of the drink (ignoring ice) can be unrelated chems? nameCocktail name, applied to the glass. order_specificIf TRUE, cocktail ingredients must be added in the order they're specified in the ratio. ratiosAssociative list of reagents. The actual amount only matters for defining proportions and will be normalized. +Consider using a total strength proportional to the number of ingredients, i.e. 0.25 for 4 ingredients, 0.5 for 2, etc. |
Cocktail description, applied to the glass.
The ratio displayed in the codex, which is the same as ratios prior to normalisation.
A list of types (incl. subtypes) to display this cocktail's glass sprite on.
The icon to use for the cocktail. May be null, in which case no custom icon is used.
The icon_state to use for the cocktail. May be null, in which case the first state in the icon is used.
If TRUE, doesn't generate a codex entry.
What fraction of the total volume of the drink (ignoring ice) can be unrelated chems?
Cocktail name, applied to the glass.
If TRUE, cocktail ingredients must be added in the order they're specified in the ratio.
Associative list of reagents. The actual amount only matters for defining proportions and will be normalized. These should ideally be whole numbers in the lowest possible ratio, e.g. 1, 2, 3 instead of 0.1, 0.2, 0.3 or 2, 4, 6. -Reagents with no assoc value will count as valid for any amount (even 0.001u).
What tastes (and associated strengths) this cocktail adds. Scaled in taste code by total_volume. +Reagents with no assoc value will count as valid for any amount (even 0.001u).
What tastes (and associated strengths) this cocktail adds. Scaled in taste code by total_volume. Example: list("something funny" = 0.5) -Consider using a total strength proportional to the number of ingredients, i.e. 0.25 for 4 ingredients, 0.5 for 2, etc.
Formatting data for comments.
Vars | |
bg_color | Colour to format the background (fill). |
---|---|
fg_color | Colour to format the foreground (text). |
name | Descriptive name used for mood selector. |
Colour to format the background (fill).
Colour to format the foreground (text).
Descriptive name used for mood selector.
Formatting data for comments.
Vars | |
bg_color | Colour to format the background (fill). |
---|---|
fg_color | Colour to format the foreground (text). |
name | Descriptive name used for mood selector. |
Colour to format the background (fill).
Colour to format the foreground (text).
Descriptive name used for mood selector.
Vars | |
bodytype_broadcast_sound | As above, but for broadcast. |
---|---|
bodytype_emote_sound | If set to a string, will ask the bodytype of the user four a sound effect using the string. |
broadcast_distance | How far does the sound broadcast. |
broadcast_sound | This sound will be passed to the entire connected z-chunk if set. |
broadcast_volume | Volume for broadcast sound. |
check_adjacent | For emotes with physical effecets. |
check_range | falsy, or a range outside which the emote will not work |
check_restraints | Can this emote be used while restrained? |
conscious | Do we need to be awake to emote this? |
emote_cooldown | How long will we be on cooldown for this emote. |
emote_cooldowns | Assoc list of weakref to mob to next emote. |
emote_delay | Time in ds that this emote will block further emote use (spam prevention). |
emote_message_1p | First person message ('You do a flip!') |
emote_message_1p_target | 'You do a flip at Urist McTarget!' |
emote_message_3p | Third person message ('Urist McShitter does a flip!') |
emote_message_3p_target | 'Urist McShitter does a flip at Urist McTarget!' |
emote_message_impaired | Deaf/blind message ('You hear someone flipping out.', 'You see someone opening and closing their mouth') |
emote_message_muffled | A message to show if the emote is audible and the user is muzzled. |
emote_message_radio | A message to send over the radio if one picks up this emote. |
emote_message_radio_synthetic | As above, but for synthetics. |
emote_message_synthetic_1p | First person message for robits. |
emote_message_synthetic_1p_target | First person targeted message for robits. |
emote_message_synthetic_3p | Third person message for robits. |
emote_message_synthetic_3p_target | Third person targeted message for robits. |
emote_range | If >0, restricts emote visibility to viewers within range. |
emote_sound | Two-dimensional array: first is list of genders, associated to a list of the sound effects to use. -Alternatively, just a singular sound. |
emote_volume | Volume of sound to play. |
emote_volume_synthetic | As above, but used when check_synthetic() is true. |
key | Command to use emote ie. '*[key]' |
mandatory_targetted_emote | Whether or not this emote -must- have a target. |
message_type | Audible/visual flag |
As above, but for broadcast.
If set to a string, will ask the bodytype of the user four a sound effect using the string.
How far does the sound broadcast.
This sound will be passed to the entire connected z-chunk if set.
Volume for broadcast sound.
For emotes with physical effecets.
falsy, or a range outside which the emote will not work
Can this emote be used while restrained?
Do we need to be awake to emote this?
How long will we be on cooldown for this emote.
Assoc list of weakref to mob to next emote.
Time in ds that this emote will block further emote use (spam prevention).
First person message ('You do a flip!')
'You do a flip at Urist McTarget!'
Third person message ('Urist McShitter does a flip!')
'Urist McShitter does a flip at Urist McTarget!'
Deaf/blind message ('You hear someone flipping out.', 'You see someone opening and closing their mouth')
A message to show if the emote is audible and the user is muzzled.
A message to send over the radio if one picks up this emote.
As above, but for synthetics.
First person message for robits.
First person targeted message for robits.
Third person message for robits.
Third person targeted message for robits.
If >0, restricts emote visibility to viewers within range.
Two-dimensional array: first is list of genders, associated to a list of the sound effects to use. -Alternatively, just a singular sound.
Volume of sound to play.
As above, but used when check_synthetic() is true.
Command to use emote ie. '*[key]'
Whether or not this emote -must- have a target.
Audible/visual flag
Vars | |
bodytype_broadcast_sound | As above, but for broadcast. |
---|---|
bodytype_emote_sound | If set to a string, will ask the bodytype of the user four a sound effect using the string. |
broadcast_distance | How far does the sound broadcast. |
broadcast_sound | This sound will be passed to the entire connected z-chunk if set. |
broadcast_volume | Volume for broadcast sound. |
check_adjacent | For emotes with physical effecets. |
check_range | falsy, or a range outside which the emote will not work |
check_restraints | Can this emote be used while restrained? |
conscious | Do we need to be awake to emote this? |
emote_cooldown | How long will we be on cooldown for this emote. |
emote_cooldowns | Assoc list of weakref to mob to next emote. |
emote_delay | Time in ds that this emote will block further emote use (spam prevention). |
emote_message_1p | First person message ('You do a flip!') |
emote_message_1p_target | 'You do a flip at Urist McTarget!' |
emote_message_3p | Third person message ('Urist McShitter does a flip!') |
emote_message_3p_target | 'Urist McShitter does a flip at Urist McTarget!' |
emote_message_impaired | Deaf/blind message ('You hear someone flipping out.', 'You see someone opening and closing their mouth') |
emote_message_muffled | A message to show if the emote is audible and the user is muzzled. |
emote_message_radio | A message to send over the radio if one picks up this emote. |
emote_message_radio_synthetic | As above, but for synthetics. |
emote_message_synthetic_1p | First person message for robits. |
emote_message_synthetic_1p_target | First person targeted message for robits. |
emote_message_synthetic_3p | Third person message for robits. |
emote_message_synthetic_3p_target | Third person targeted message for robits. |
emote_range | If >0, restricts emote visibility to viewers within range. |
emote_sound | Two-dimensional array: first is list of genders, associated to a list of the sound effects to use. +Alternatively, just a singular sound. |
emote_volume | Volume of sound to play. |
emote_volume_synthetic | As above, but used when check_synthetic() is true. |
key | Command to use emote ie. '*[key]' |
mandatory_targetted_emote | Whether or not this emote -must- have a target. |
message_type | Audible/visual flag |
As above, but for broadcast.
If set to a string, will ask the bodytype of the user four a sound effect using the string.
How far does the sound broadcast.
This sound will be passed to the entire connected z-chunk if set.
Volume for broadcast sound.
For emotes with physical effecets.
falsy, or a range outside which the emote will not work
Can this emote be used while restrained?
Do we need to be awake to emote this?
How long will we be on cooldown for this emote.
Assoc list of weakref to mob to next emote.
Time in ds that this emote will block further emote use (spam prevention).
First person message ('You do a flip!')
'You do a flip at Urist McTarget!'
Third person message ('Urist McShitter does a flip!')
'Urist McShitter does a flip at Urist McTarget!'
Deaf/blind message ('You hear someone flipping out.', 'You see someone opening and closing their mouth')
A message to show if the emote is audible and the user is muzzled.
A message to send over the radio if one picks up this emote.
As above, but for synthetics.
First person message for robits.
First person targeted message for robits.
Third person message for robits.
Third person targeted message for robits.
If >0, restricts emote visibility to viewers within range.
Two-dimensional array: first is list of genders, associated to a list of the sound effects to use. +Alternatively, just a singular sound.
Volume of sound to play.
As above, but used when check_synthetic() is true.
Command to use emote ie. '*[key]'
Whether or not this emote -must- have a target.
Audible/visual flag
Vars | |
build_cost | Stack units. |
---|---|
build_material | Unbuildable if object material var is not set to this. |
build_time | BYOND ticks. |
build_type | Unbuildable if not set. Must be /obj/item/stack. |
floor_smooth | How we smooth with other flooring |
flooring_blacklist | Smooth with everything except the types in this list. Turned into a typecache for performance reasons. |
flooring_whitelist | Smooth with nothing except the types in this list. Turned into a typecache for performance reasons. |
icon_base | "that's some grass" |
space_smooth | How we smooth with space and openspace tiles |
turf_flags | Flags to apply to the turf. |
wall_smooth | How we smooth with walls |
z_flags | same z flags used for turfs, i.e ZMIMIC_DEFAULT etc |
Stack units.
Unbuildable if object material var is not set to this.
BYOND ticks.
Unbuildable if not set. Must be /obj/item/stack.
How we smooth with other flooring
Smooth with everything except the types in this list. Turned into a typecache for performance reasons.
Smooth with nothing except the types in this list. Turned into a typecache for performance reasons.
"that's some grass"
How we smooth with space and openspace tiles
Flags to apply to the turf.
How we smooth with walls
same z flags used for turfs, i.e ZMIMIC_DEFAULT etc
Vars | |
build_cost | Stack units. |
---|---|
build_material | Unbuildable if object material var is not set to this. |
build_time | BYOND ticks. |
build_type | Unbuildable if not set. Must be /obj/item/stack. |
floor_smooth | How we smooth with other flooring |
flooring_blacklist | Smooth with everything except the types in this list. Turned into a typecache for performance reasons. |
flooring_whitelist | Smooth with nothing except the types in this list. Turned into a typecache for performance reasons. |
icon_base | "that's some grass" |
space_smooth | How we smooth with space and openspace tiles |
turf_flags | Flags to apply to the turf. |
wall_smooth | How we smooth with walls |
z_flags | same z flags used for turfs, i.e ZMIMIC_DEFAULT etc |
Stack units.
Unbuildable if object material var is not set to this.
BYOND ticks.
Unbuildable if not set. Must be /obj/item/stack.
How we smooth with other flooring
Smooth with everything except the types in this list. Turned into a typecache for performance reasons.
Smooth with nothing except the types in this list. Turned into a typecache for performance reasons.
"that's some grass"
How we smooth with space and openspace tiles
Flags to apply to the turf.
How we smooth with walls
same z flags used for turfs, i.e ZMIMIC_DEFAULT etc
Procs | |
post_setup | post_setup() |
---|---|
process | process() -Called by the gameticker |
post_setup()
process() -Called by the gameticker
Procs | |
post_setup | post_setup() |
---|---|
process | process() +Called by the gameticker |
post_setup()
process() +Called by the gameticker
Vars | |
activation_message | Message shown when the gene is activated. |
---|---|
check_synthetic | Required return result from isSynthetic() for the gene to activate, if not null. |
deactivation_message | Message shown when the gene is deactivated. |
expected_type | Type that this gene can apply to. |
grant_verb | Verb to be added or removed on activate/deactivate |
is_heritable | Set to FALSE if mob snapshots should not include this condition. |
name | Descriptive name, used in VV panel. |
underlay_icon | Icon to pull mob underlays from. |
underlay_state | State to use for underlays. |
Message shown when the gene is activated.
Required return result from isSynthetic() for the gene to activate, if not null.
Message shown when the gene is deactivated.
Type that this gene can apply to.
Verb to be added or removed on activate/deactivate
Set to FALSE if mob snapshots should not include this condition.
Descriptive name, used in VV panel.
Icon to pull mob underlays from.
State to use for underlays.
Vars | |
activation_message | Message shown when the gene is activated. |
---|---|
check_synthetic | Required return result from isSynthetic() for the gene to activate, if not null. |
deactivation_message | Message shown when the gene is deactivated. |
expected_type | Type that this gene can apply to. |
grant_verb | Verb to be added or removed on activate/deactivate |
is_heritable | Set to FALSE if mob snapshots should not include this condition. |
name | Descriptive name, used in VV panel. |
underlay_icon | Icon to pull mob underlays from. |
underlay_state | State to use for underlays. |
Message shown when the gene is activated.
Required return result from isSynthetic() for the gene to activate, if not null.
Message shown when the gene is deactivated.
Type that this gene can apply to.
Verb to be added or removed on activate/deactivate
Set to FALSE if mob snapshots should not include this condition.
Descriptive name, used in VV panel.
Icon to pull mob underlays from.
State to use for underlays.
Vars | |
adjust_plane | Whether or not this grab causes atoms to adjust their plane/layer according to grabber dir. |
---|---|
can_throw | If the grabber can throw the person grabbed. |
damage_stage | Affects how much damage is being dealt using certain actions. |
downgrab | The grab that this will downgrade to if it downgrades, null means break grab on downgrade |
downgrade_on_action | If the grab needs to be downgraded when the grabber does stuff. |
downgrade_on_move | If the grab needs to be downgraded when the grabber moves. |
force_danger | If the grab is strong enough to be able to force someone to do something harmful to them. |
grab_slowdown | Multiplier for the object size (w_class or mob_size) of the grabbed atom, applied as slowdown. |
help_action | The names of different intents for use in attack logs |
point_blank_mult | How much the grab increases point blank damage. |
restrains | If the grab acts like cuffs and prevents action from the victim. |
reverse_facing | Whether the person being grabbed is facing forwards or backwards. |
same_tile | If the grabbed person and the grabbing person are on the same tile. |
shield_assailant | Whether the person you're grabbing will shield you from bullets.,, |
shift | Whether or not this grab causes atoms to adjust their pixel offsets according to grabber dir. |
stop_move | Whether or not the grabbed person can move out of the grab |
upgrab | The grab that this will upgrade to if it upgrades, null means no upgrade |
Whether or not this grab causes atoms to adjust their plane/layer according to grabber dir.
If the grabber can throw the person grabbed.
Affects how much damage is being dealt using certain actions.
The grab that this will downgrade to if it downgrades, null means break grab on downgrade
If the grab needs to be downgraded when the grabber does stuff.
If the grab needs to be downgraded when the grabber moves.
If the grab is strong enough to be able to force someone to do something harmful to them.
Multiplier for the object size (w_class or mob_size) of the grabbed atom, applied as slowdown.
The names of different intents for use in attack logs
How much the grab increases point blank damage.
If the grab acts like cuffs and prevents action from the victim.
Whether the person being grabbed is facing forwards or backwards.
If the grabbed person and the grabbing person are on the same tile.
Whether the person you're grabbing will shield you from bullets.,,
Whether or not this grab causes atoms to adjust their pixel offsets according to grabber dir.
Whether or not the grabbed person can move out of the grab
The grab that this will upgrade to if it upgrades, null means no upgrade
Vars | |
adjust_plane | Whether or not this grab causes atoms to adjust their plane/layer according to grabber dir. |
---|---|
can_throw | If the grabber can throw the person grabbed. |
damage_stage | Affects how much damage is being dealt using certain actions. |
downgrab | The grab that this will downgrade to if it downgrades, null means break grab on downgrade |
downgrade_on_action | If the grab needs to be downgraded when the grabber does stuff. |
downgrade_on_move | If the grab needs to be downgraded when the grabber moves. |
force_danger | If the grab is strong enough to be able to force someone to do something harmful to them. |
grab_slowdown | Multiplier for the object size (w_class or mob_size) of the grabbed atom, applied as slowdown. |
help_action | The names of different intents for use in attack logs |
point_blank_mult | How much the grab increases point blank damage. |
restrains | If the grab acts like cuffs and prevents action from the victim. |
reverse_facing | Whether the person being grabbed is facing forwards or backwards. |
same_tile | If the grabbed person and the grabbing person are on the same tile. |
shield_assailant | Whether the person you're grabbing will shield you from bullets.,, |
shift | Whether or not this grab causes atoms to adjust their pixel offsets according to grabber dir. |
stop_move | Whether or not the grabbed person can move out of the grab |
upgrab | The grab that this will upgrade to if it upgrades, null means no upgrade |
Whether or not this grab causes atoms to adjust their plane/layer according to grabber dir.
If the grabber can throw the person grabbed.
Affects how much damage is being dealt using certain actions.
The grab that this will downgrade to if it downgrades, null means break grab on downgrade
If the grab needs to be downgraded when the grabber does stuff.
If the grab needs to be downgraded when the grabber moves.
If the grab is strong enough to be able to force someone to do something harmful to them.
Multiplier for the object size (w_class or mob_size) of the grabbed atom, applied as slowdown.
The names of different intents for use in attack logs
How much the grab increases point blank damage.
If the grab acts like cuffs and prevents action from the victim.
Whether the person being grabbed is facing forwards or backwards.
If the grabbed person and the grabbing person are on the same tile.
Whether the person you're grabbing will shield you from bullets.,,
Whether or not this grab causes atoms to adjust their pixel offsets according to grabber dir.
Whether or not the grabbed person can move out of the grab
The grab that this will upgrade to if it upgrades, null means no upgrade
Vars | |
allowed_branches | Service branches that can spawn with it. |
---|---|
allowed_roles | Roles that can spawn with this item. |
allowed_skills | Skills required to spawn with this item. |
apply_to_existing_if_possible | If true, will try to apply tweaks and customisation to an already-existing instance of the spawn path. |
category | Type to use for categorization and organization. |
cost | Number of points used. Items in general cost 1 point, storage/armor/gloves/special use costs 2 points. |
custom_setup_proc | Special tweak in New |
custom_setup_proc_arguments | Special tweak in New |
description | Description of this gear. If left blank will default to the description of the pathed item. |
faction_restricted | List of types of background datums that will allow this loadout option. |
gear_tweaks | List of datums which will alter the item after it has been spawned. |
loadout_flags | Special tweaks in new |
name | Name/index. |
path | Path of item. |
replace_equipped | Whether or not this equipment should replace pre-existing equipment. |
required_traits | A list of trait types that the character must have for this loadout option to be available. |
slot | Slot to equip to. |
whitelisted | Species name to check the whitelist for. |
Service branches that can spawn with it.
Roles that can spawn with this item.
Skills required to spawn with this item.
If true, will try to apply tweaks and customisation to an already-existing instance of the spawn path.
Type to use for categorization and organization.
Number of points used. Items in general cost 1 point, storage/armor/gloves/special use costs 2 points.
Special tweak in New
Special tweak in New
Description of this gear. If left blank will default to the description of the pathed item.
List of types of background datums that will allow this loadout option.
List of datums which will alter the item after it has been spawned.
Special tweaks in new
Name/index.
Path of item.
Whether or not this equipment should replace pre-existing equipment.
A list of trait types that the character must have for this loadout option to be available.
Slot to equip to.
Species name to check the whitelist for.
Vars | |
allowed_branches | Service branches that can spawn with it. |
---|---|
allowed_roles | Roles that can spawn with this item. |
allowed_skills | Skills required to spawn with this item. |
apply_to_existing_if_possible | If true, will try to apply tweaks and customisation to an already-existing instance of the spawn path. |
category | Type to use for categorization and organization. |
cost | Number of points used. Items in general cost 1 point, storage/armor/gloves/special use costs 2 points. |
custom_setup_proc | Special tweak in New |
custom_setup_proc_arguments | Special tweak in New |
description | Description of this gear. If left blank will default to the description of the pathed item. |
faction_restricted | List of types of background datums that will allow this loadout option. |
gear_tweaks | List of datums which will alter the item after it has been spawned. |
loadout_flags | Special tweaks in new |
name | Name/index. |
path | Path of item. |
replace_equipped | Whether or not this equipment should replace pre-existing equipment. |
required_traits | A list of trait types that the character must have for this loadout option to be available. |
slot | Slot to equip to. |
whitelisted | Species name to check the whitelist for. |
Service branches that can spawn with it.
Roles that can spawn with this item.
Skills required to spawn with this item.
If true, will try to apply tweaks and customisation to an already-existing instance of the spawn path.
Type to use for categorization and organization.
Number of points used. Items in general cost 1 point, storage/armor/gloves/special use costs 2 points.
Special tweak in New
Special tweak in New
Description of this gear. If left blank will default to the description of the pathed item.
List of types of background datums that will allow this loadout option.
List of datums which will alter the item after it has been spawned.
Special tweaks in new
Name/index.
Path of item.
Whether or not this equipment should replace pre-existing equipment.
A list of trait types that the character must have for this loadout option to be available.
Slot to equip to.
Species name to check the whitelist for.
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
allergen_flags | What allergens are present on this material? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bakes_into_material | Does high temperature baking change this material into something else? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
boil_evaporation_per_run | How much of this boils away per evaporation run? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
boiling_point | K, point that material will become a gas. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
brute_armor | Brute damage to a wall is divided by this value if the wall is reinforced by this material. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
burn_armor | Same as above, but for Burn damage type. If blank brute_armor's value is used. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
can_boil_to_gas | Semi-temporary fix to issues with soup/tea boil-off - only set to TRUE on water and ethanol at time of commit. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
conductive | Objects with this var add CONDUCTS to flags on spawn. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
crafting_skill | When a stack recipe doesn't specify a skill to use, use this skill. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cut_delay | Delay in ticks when cutting through this wall. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dug_drop_type | What form does this take if dug out of the ground, if any? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exoplanet_rarity_gas | How rare is this material in exoplanet atmospheres? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
exoplanet_rarity_plant | How rare is this material in exoplanet xenoflora? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
explosion_resistance | Only used by walls currently. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fishing_bait_value | A multiplier for this material when used in fishing bait. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
has_textile_fibers | Can objects containing this material be used for textile spinning? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ignition_point | K, point at which the material catches on fire. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
integrity | General-use HP value for products. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
latent_heat | kJ/kg, enthalpy of vaporization | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
liquid_density | g/ml | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
luminescence | Does this material glow? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
max_fluid_opacity | How opaque can fluids be? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
melting_point | K, walls will take damage if they're next to a fire hotter than this | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
min_fluid_opacity | How transparent can fluids be? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
molar_mass | kg/mol | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nutriment_animal | Nutrition values! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
opacity | Is the material transparent? 0.5< makes transparent walls/doors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
radioactivity | Radiation var. Used in wall and object processing to irradiate surroundings. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rich_material_weight | Ore generation constant for common materials. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
solid_density | g/ml | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sparse_material_weight | Ore generation constant for rare materials. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tans_to | If set to a material type, stacks of this material will be able to be tanned on a drying rack after being wetted to convert them to tans_to. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
temperature_burn_milestone_material | Set to a type to indicate that a type with a matching milestone type should be used as a reference point for burn temperatures. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
temperature_damage_threshold | Set automatically if null based on ignition, boiling and melting point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tensile_strength | A relative value used only by fishing line at time of commit. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tillable | Whether or not turfs made of this material can support plants. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
turf_touch_threshold | Point at which the fluid will proc turf interaction logic. Workaround for mops being ruined forever by 1u of anything else being added. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wall_support_value | Used for checking if a material can function as a wall support. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
create_object | Generic material product (sheets, bricks, etc). Used ALL THE TIME.
+material
Var Detailsallergen_flagsWhat allergens are present on this material? bakes_into_materialDoes high temperature baking change this material into something else? boil_evaporation_per_runHow much of this boils away per evaporation run? boiling_pointK, point that material will become a gas. brute_armorBrute damage to a wall is divided by this value if the wall is reinforced by this material. burn_armorSame as above, but for Burn damage type. If blank brute_armor's value is used. can_boil_to_gasSemi-temporary fix to issues with soup/tea boil-off - only set to TRUE on water and ethanol at time of commit. conductiveObjects with this var add CONDUCTS to flags on spawn. crafting_skillWhen a stack recipe doesn't specify a skill to use, use this skill. cut_delayDelay in ticks when cutting through this wall. dug_drop_typeWhat form does this take if dug out of the ground, if any? exoplanet_rarity_gasHow rare is this material in exoplanet atmospheres? exoplanet_rarity_plantHow rare is this material in exoplanet xenoflora? explosion_resistanceOnly used by walls currently. fishing_bait_valueA multiplier for this material when used in fishing bait. has_textile_fibersCan objects containing this material be used for textile spinning? ignition_pointK, point at which the material catches on fire. integrityGeneral-use HP value for products. latent_heatkJ/kg, enthalpy of vaporization liquid_densityg/ml luminescenceDoes this material glow? max_fluid_opacityHow opaque can fluids be? melting_pointK, walls will take damage if they're next to a fire hotter than this min_fluid_opacityHow transparent can fluids be? molar_masskg/mol nutriment_animalNutrition values! opacityIs the material transparent? 0.5< makes transparent walls/doors. radioactivityRadiation var. Used in wall and object processing to irradiate surroundings. rich_material_weightOre generation constant for common materials. solid_densityg/ml sparse_material_weightOre generation constant for rare materials. tans_toIf set to a material type, stacks of this material will be able to be tanned on a drying rack after being wetted to convert them to tans_to. temperature_burn_milestone_materialSet to a type to indicate that a type with a matching milestone type should be used as a reference point for burn temperatures. temperature_damage_thresholdSet automatically if null based on ignition, boiling and melting point tensile_strengthA relative value used only by fishing line at time of commit. tillableWhether or not turfs made of this material can support plants. turf_touch_thresholdPoint at which the fluid will proc turf interaction logic. Workaround for mops being ruined forever by 1u of anything else being added. wall_support_valueUsed for checking if a material can function as a wall support. Proc Detailscreate_objectGeneric material product (sheets, bricks, etc). Used ALL THE TIME. -May return an instance list, a single instance, or nothing if there is no instance produced. phase_at_temperatureReturns the phase of the matterial at the given temperature and pressure -Defaults to standard temperature and pressure (20c at one atmosphere) place_cuttingsPlaces downa as many shards as needed for the given amount of matter units. Returns a list of all the cuttings. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
place_cuttings | Places downa as many shards as needed for the given amount of matter units. Returns a list of all the cuttings. |
What allergens are present on this material?
Does high temperature baking change this material into something else?
How much of this boils away per evaporation run?
K, point that material will become a gas.
Brute damage to a wall is divided by this value if the wall is reinforced by this material.
Same as above, but for Burn damage type. If blank brute_armor's value is used.
Semi-temporary fix to issues with soup/tea boil-off - only set to TRUE on water and ethanol at time of commit.
Objects with this var add CONDUCTS to flags on spawn.
When a stack recipe doesn't specify a skill to use, use this skill.
Delay in ticks when cutting through this wall.
What form does this take if dug out of the ground, if any?
How rare is this material in exoplanet atmospheres?
How rare is this material in exoplanet xenoflora?
Only used by walls currently.
A multiplier for this material when used in fishing bait.
Can objects containing this material be used for textile spinning?
K, point at which the material catches on fire.
General-use HP value for products.
kJ/kg, enthalpy of vaporization
g/ml
Does this material glow?
How opaque can fluids be?
K, walls will take damage if they're next to a fire hotter than this
How transparent can fluids be?
kg/mol
Nutrition values!
Is the material transparent? 0.5< makes transparent walls/doors.
Radiation var. Used in wall and object processing to irradiate surroundings.
Ore generation constant for common materials.
g/ml
Ore generation constant for rare materials.
If set to a material type, stacks of this material will be able to be tanned on a drying rack after being wetted to convert them to tans_to.
Set to a type to indicate that a type with a matching milestone type should be used as a reference point for burn temperatures.
Set automatically if null based on ignition, boiling and melting point
A relative value used only by fishing line at time of commit.
Whether or not turfs made of this material can support plants.
Point at which the fluid will proc turf interaction logic. Workaround for mops being ruined forever by 1u of anything else being added.
Used for checking if a material can function as a wall support.
Generic material product (sheets, bricks, etc). Used ALL THE TIME. +May return an instance list, a single instance, or nothing if there is no instance produced.
Returns the phase of the matterial at the given temperature and pressure +Defaults to standard temperature and pressure (20c at one atmosphere)
Places downa as many shards as needed for the given amount of matter units. Returns a list of all the cuttings.
Vars | |
additional_effect_threshold | Cumulative dosage at which slowdown and drowsiness are applied |
---|---|
breathloss_severity | how strong will breathloss related effects be |
confusion_severity | confusion randomizes your movement |
effective_dose | How many units it need to process to reach max power |
pain_power | Magnitude of painkilling effect |
sedation | how strong is this chemical as a sedative |
weakness_severity | weakness makes you remain floored |
Cumulative dosage at which slowdown and drowsiness are applied
how strong will breathloss related effects be
confusion randomizes your movement
How many units it need to process to reach max power
Magnitude of painkilling effect
how strong is this chemical as a sedative
weakness makes you remain floored
Vars | |
additional_effect_threshold | Cumulative dosage at which slowdown and drowsiness are applied |
---|---|
breathloss_severity | how strong will breathloss related effects be |
confusion_severity | confusion randomizes your movement |
effective_dose | How many units it need to process to reach max power |
pain_power | Magnitude of painkilling effect |
sedation | how strong is this chemical as a sedative |
weakness_severity | weakness makes you remain floored |
Cumulative dosage at which slowdown and drowsiness are applied
how strong will breathloss related effects be
confusion randomizes your movement
How many units it need to process to reach max power
Magnitude of painkilling effect
how strong is this chemical as a sedative
weakness makes you remain floored
Vars | |
author | A string with authors of this modpack. |
---|---|
credits_adjectives | A list of strings that are used by the end of round credits roll. |
credits_adventure_names | A list of strings that are used by the end of round credits roll. |
credits_crew_names | A list of strings that are used by the end of round credits roll. |
credits_crew_outcomes | A list of strings that are used by the end of round credits roll. |
credits_holidays | A list of strings that are used by the end of round credits roll. |
credits_nouns | A list of strings that are used by the end of round credits roll. |
credits_other | A list of strings that are used by the end of round credits roll. |
credits_topics | A list of strings that are used by the end of round credits roll. |
desc | A string desc for the modpack. Can be used for modpack verb list as description. |
dreams | A list of strings to be added to the random dream proc. |
name | A string name for the modpack. Used for looking up other modpacks in init. |
A string with authors of this modpack.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A string desc for the modpack. Can be used for modpack verb list as description.
A list of strings to be added to the random dream proc.
A string name for the modpack. Used for looking up other modpacks in init.
Vars | |
author | A string with authors of this modpack. |
---|---|
credits_adjectives | A list of strings that are used by the end of round credits roll. |
credits_adventure_names | A list of strings that are used by the end of round credits roll. |
credits_crew_names | A list of strings that are used by the end of round credits roll. |
credits_crew_outcomes | A list of strings that are used by the end of round credits roll. |
credits_holidays | A list of strings that are used by the end of round credits roll. |
credits_nouns | A list of strings that are used by the end of round credits roll. |
credits_other | A list of strings that are used by the end of round credits roll. |
credits_topics | A list of strings that are used by the end of round credits roll. |
desc | A string desc for the modpack. Can be used for modpack verb list as description. |
dreams | A list of strings to be added to the random dream proc. |
name | A string name for the modpack. Used for looking up other modpacks in init. |
A string with authors of this modpack.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A list of strings that are used by the end of round credits roll.
A string desc for the modpack. Can be used for modpack verb list as description.
A list of strings to be added to the random dream proc.
A string name for the modpack. Used for looking up other modpacks in init.
Observer Pattern Implementation: Account Status Changed
+Observer Pattern Implementation: Account Status Changed
Raised when: Someone's account is suspended or unsuspended at the Accounts terminal.
Arguments that the called proc should expect: -/datum/money_account: The account whose status was changed.
Observer Pattern Implementation: Cyborg Created
+Observer Pattern Implementation: Cyborg Created
Raised when: A cyborg is created.
Arguments that the called proc should expect: -/mob/living/silicon/robot: The cyborg that was created.
Observer Pattern Implementation: Debrained
+Observer Pattern Implementation: Debrained
Raised when: A brainmob is created by the removal of a brain.
Arguments that the called proc should expect: /mob/living/brainmob: The brainmob that was created. /obj/item/organ/internal/brain: The brain that was removed. -/mob/living/owner: The mob the brain was formerly installed in.
Dismembered Handling
+Dismembered Handling
Observer Pattern Implementation: Employee ID Reassigned
Raised when: A card's assignment is changed in the ID card modification program.
Arguments that the called proc should expect: -/obj/item/card/id: The card that was reassigned.
Observer Pattern Implementation: Payroll Revoked
+Observer Pattern Implementation: Payroll Revoked
Raised when: Someone's payroll is stolen at the Accounts terminal.
Arguments that the called proc should expect: -/datum/money_account: The account whose payroll was revoked.
Vars | |
_used_masks | Tracker to make sure masked names are unique. |
---|---|
associated_traits | A list of trait values to copy wholesale in copy_initial_seed_values(). |
name | Set to a randomized gene mask in Initialize(). |
unmasked_name | Actual name of the gene, used mostly for VV. |
Tracker to make sure masked names are unique.
A list of trait values to copy wholesale in copy_initial_seed_values().
Set to a randomized gene mask in Initialize().
Actual name of the gene, used mostly for VV.
Vars | |
_used_masks | Tracker to make sure masked names are unique. |
---|---|
associated_traits | A list of trait values to copy wholesale in copy_initial_seed_values(). |
name | Set to a randomized gene mask in Initialize(). |
unmasked_name | Actual name of the gene, used mostly for VV. |
Tracker to make sure masked names are unique.
A list of trait values to copy wholesale in copy_initial_seed_values().
Set to a randomized gene mask in Initialize().
Actual name of the gene, used mostly for VV.
Vars | |
base_worth | Multiplier for value when calculating seed worth. |
---|---|
default_value | Value assumed if the trait has not been inserted into the traits list. |
name | Descriptive name for this trait. |
requires_master_gene | Set to skip master gene checking in validate(). |
shows_extended_data | Provides a dynamic string to the plant scanner (see get_extended_data()) |
shows_general_data | Shows a simple name: value header in the plant scanner. |
Multiplier for value when calculating seed worth.
Value assumed if the trait has not been inserted into the traits list.
Descriptive name for this trait.
Set to skip master gene checking in validate().
Provides a dynamic string to the plant scanner (see get_extended_data())
Shows a simple name: value header in the plant scanner.
Vars | |
base_worth | Multiplier for value when calculating seed worth. |
---|---|
default_value | Value assumed if the trait has not been inserted into the traits list. |
name | Descriptive name for this trait. |
requires_master_gene | Set to skip master gene checking in validate(). |
shows_extended_data | Provides a dynamic string to the plant scanner (see get_extended_data()) |
shows_general_data | Shows a simple name: value header in the plant scanner. |
Multiplier for value when calculating seed worth.
Value assumed if the trait has not been inserted into the traits list.
Descriptive name for this trait.
Set to skip master gene checking in validate().
Provides a dynamic string to the plant scanner (see get_extended_data())
Shows a simple name: value header in the plant scanner.
Contains information on what a poster displays.
Vars | |
desc | The description of the design shown to users. This is suffixed to the description of the medium displaying this design. |
---|---|
icon | The icon to use for this design. |
icon_state | The icon state to use for this design. The display medium will use this to pick it's icon state. |
name | The display name/title of the design. Suffixed to the name of the medium displaying the design. |
serial_number | Collectible serial number string, if any. |
The description of the design shown to users. This is suffixed to the description of the medium displaying this design.
The icon to use for this design.
The icon state to use for this design. The display medium will use this to pick it's icon state.
The display name/title of the design. Suffixed to the name of the medium displaying the design.
Collectible serial number string, if any.
Contains information on what a poster displays.
Vars | |
desc | The description of the design shown to users. This is suffixed to the description of the medium displaying this design. |
---|---|
icon | The icon to use for this design. |
icon_state | The icon state to use for this design. The display medium will use this to pick it's icon state. |
name | The display name/title of the design. Suffixed to the name of the medium displaying the design. |
serial_number | Collectible serial number string, if any. |
The description of the design shown to users. This is suffixed to the description of the medium displaying this design.
The icon to use for this design.
The icon state to use for this design. The display medium will use this to pick it's icon state.
The display name/title of the design. Suffixed to the name of the medium displaying the design.
Collectible serial number string, if any.
Vars | |
deliberate | Whether or not this posture is deliberate, ie. if you should automatically try to stand up from it. |
---|---|
is_user_selectable | Whether or not this posture should show up in Change Posture. |
name | Identifier for choosing from posture input(). |
overlay_modifier | Whether or not this posture should supply a string value to get_overlay_state_modifier(). |
posture_change_message | String to use in Change Posture. |
prone | Whether or not this posture is considered lying down. |
selectable_type | An override for use when determining selectable postures. |
Whether or not this posture is deliberate, ie. if you should automatically try to stand up from it.
Whether or not this posture should show up in Change Posture.
Identifier for choosing from posture input().
Whether or not this posture should supply a string value to get_overlay_state_modifier().
String to use in Change Posture.
Whether or not this posture is considered lying down.
An override for use when determining selectable postures.
Vars | |
deliberate | Whether or not this posture is deliberate, ie. if you should automatically try to stand up from it. |
---|---|
is_user_selectable | Whether or not this posture should show up in Change Posture. |
name | Identifier for choosing from posture input(). |
overlay_modifier | Whether or not this posture should supply a string value to get_overlay_state_modifier(). |
posture_change_message | String to use in Change Posture. |
prone | Whether or not this posture is considered lying down. |
selectable_type | An override for use when determining selectable postures. |
Whether or not this posture is deliberate, ie. if you should automatically try to stand up from it.
Whether or not this posture should show up in Change Posture.
Identifier for choosing from posture input().
Whether or not this posture should supply a string value to get_overlay_state_modifier().
String to use in Change Posture.
Whether or not this posture is considered lying down.
An override for use when determining selectable postures.
Vars | |
can_bulk_cook | Whether this recipe is eligible for bulk cooking in a cooking vessel. Not currently checked by microwaves. |
---|---|
complexity | Calculated from summing all reagents, ingredients, fruits etc. and used to determine which recipe should be used first. |
container_categories | What categories can this recipe be cooked by? Null for any. |
cooking_medium_amount | A minimum about of the above reagent required. |
cooking_medium_type | A reagent that must be present in the cooking contianer, but will not be consumed. |
maximum_temperature | A maximum temperature for this recipe to be considered. |
minimum_temperature | A minimum cooking temperature for this recipe to be considered. |
result | An atom type to create, or a /decl/material type if you want to place a reagent into the container. |
result_data | A data list passed to the result if set to a material type. |
result_quantity | How many items to create, or how many reagent units to add. |
Procs | |
get_result_data | Return a data list to pass to a reagent creation proc. Allows for overriding/mutation based on ingredients. |
produce_result | Actually place or create the result of the recipe. Returns the produced item(s), or null if only reagents were produced. |
Whether this recipe is eligible for bulk cooking in a cooking vessel. Not currently checked by microwaves.
Calculated from summing all reagents, ingredients, fruits etc. and used to determine which recipe should be used first.
What categories can this recipe be cooked by? Null for any.
A minimum about of the above reagent required.
A reagent that must be present in the cooking contianer, but will not be consumed.
A maximum temperature for this recipe to be considered.
A minimum cooking temperature for this recipe to be considered.
An atom type to create, or a /decl/material type if you want to place a reagent into the container.
A data list passed to the result if set to a material type.
How many items to create, or how many reagent units to add.
Return a data list to pass to a reagent creation proc. Allows for overriding/mutation based on ingredients.
Actually place or create the result of the recipe. Returns the produced item(s), or null if only reagents were produced.
Vars | |
can_bulk_cook | Whether this recipe is eligible for bulk cooking in a cooking vessel. Not currently checked by microwaves. |
---|---|
complexity | Calculated from summing all reagents, ingredients, fruits etc. and used to determine which recipe should be used first. |
container_categories | What categories can this recipe be cooked by? Null for any. |
cooking_medium_amount | A minimum about of the above reagent required. |
cooking_medium_type | A reagent that must be present in the cooking contianer, but will not be consumed. |
maximum_temperature | A maximum temperature for this recipe to be considered. |
minimum_temperature | A minimum cooking temperature for this recipe to be considered. |
result | An atom type to create, or a /decl/material type if you want to place a reagent into the container. |
result_data | A data list passed to the result if set to a material type. |
result_quantity | How many items to create, or how many reagent units to add. |
Procs | |
get_result_data | Return a data list to pass to a reagent creation proc. Allows for overriding/mutation based on ingredients. |
produce_result | Actually place or create the result of the recipe. Returns the produced item(s), or null if only reagents were produced. |
Whether this recipe is eligible for bulk cooking in a cooking vessel. Not currently checked by microwaves.
Calculated from summing all reagents, ingredients, fruits etc. and used to determine which recipe should be used first.
What categories can this recipe be cooked by? Null for any.
A minimum about of the above reagent required.
A reagent that must be present in the cooking contianer, but will not be consumed.
A maximum temperature for this recipe to be considered.
A minimum cooking temperature for this recipe to be considered.
An atom type to create, or a /decl/material type if you want to place a reagent into the container.
A data list passed to the result if set to a material type.
How many items to create, or how many reagent units to add.
Return a data list to pass to a reagent creation proc. Allows for overriding/mutation based on ingredients.
Actually place or create the result of the recipe. Returns the produced item(s), or null if only reagents were produced.
Vars | |
consume_range | What is the feeding range of a singularity at this stage? |
---|---|
dissipates_over_time | If true, the singularity will lose energy in Process(). |
dissipation_energy_loss | How much energy do we lose when we dissipate? |
event_chance | What is the percent chance of an event each tick? |
footprint | What is the effective physical size of this singularity? |
grav_pull | What is the pull range of a singularity at this stage? |
icon | What icon should the singularity use at this stage? |
icon_state | What icon_state should the singularity use at this stage? |
max_energy | What is the maximum singularity energy to stay at this sage? |
min_energy | What is the minimum singularity energy to reach this sage? |
pixel_x | What x offset should the singularity use at this stage? |
pixel_y | What y offset should the singularity use at this stage? |
stage_size | What is the numerical size of this singularity? |
ticks_between_dissipations | How many Process() ticks do we have between dissipations? |
ticks_since_last_dissipation | A counter variable for how many ticks we are along the dissipation. |
wander | Will we wander around? |
What is the feeding range of a singularity at this stage?
If true, the singularity will lose energy in Process().
How much energy do we lose when we dissipate?
What is the percent chance of an event each tick?
What is the effective physical size of this singularity?
What is the pull range of a singularity at this stage?
What icon should the singularity use at this stage?
What icon_state should the singularity use at this stage?
What is the maximum singularity energy to stay at this sage?
What is the minimum singularity energy to reach this sage?
What x offset should the singularity use at this stage?
What y offset should the singularity use at this stage?
What is the numerical size of this singularity?
How many Process() ticks do we have between dissipations?
A counter variable for how many ticks we are along the dissipation.
Will we wander around?
Vars | |
consume_range | What is the feeding range of a singularity at this stage? |
---|---|
dissipates_over_time | If true, the singularity will lose energy in Process(). |
dissipation_energy_loss | How much energy do we lose when we dissipate? |
event_chance | What is the percent chance of an event each tick? |
footprint | What is the effective physical size of this singularity? |
grav_pull | What is the pull range of a singularity at this stage? |
icon | What icon should the singularity use at this stage? |
icon_state | What icon_state should the singularity use at this stage? |
max_energy | What is the maximum singularity energy to stay at this sage? |
min_energy | What is the minimum singularity energy to reach this sage? |
pixel_x | What x offset should the singularity use at this stage? |
pixel_y | What y offset should the singularity use at this stage? |
stage_size | What is the numerical size of this singularity? |
ticks_between_dissipations | How many Process() ticks do we have between dissipations? |
ticks_since_last_dissipation | A counter variable for how many ticks we are along the dissipation. |
wander | Will we wander around? |
What is the feeding range of a singularity at this stage?
If true, the singularity will lose energy in Process().
How much energy do we lose when we dissipate?
What is the percent chance of an event each tick?
What is the effective physical size of this singularity?
What is the pull range of a singularity at this stage?
What icon should the singularity use at this stage?
What icon_state should the singularity use at this stage?
What is the maximum singularity energy to stay at this sage?
What is the minimum singularity energy to reach this sage?
What x offset should the singularity use at this stage?
What y offset should the singularity use at this stage?
What is the numerical size of this singularity?
How many Process() ticks do we have between dissipations?
A counter variable for how many ticks we are along the dissipation.
Will we wander around?
Vars | |
sort_priority | Used for sort order in lists/presentation. |
---|
Used for sort order in lists/presentation.
Vars | |
sort_priority | Used for sort order in lists/presentation. |
---|
Used for sort order in lists/presentation.
Vars | |
_spawn_turfs | List of turfs to spawn on. Retrieved via get_spawn_turfs(). |
---|---|
disallow_job | A list of job types that are not allowed to use this spawnpoint. |
disallow_job_event_categories | A list of event categories that are not allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR) |
name | Name displayed in preference setup. |
restrict_job | A list of job types that are allowed to use this spawnpoint. |
restrict_job_event_categories | A list of event categories that are allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR) |
spawn_announcement | Message to display on the arrivals computer. If null, no message will be sent. |
spawn_flags | Determines validity for get_random_spawn_turf() |
List of turfs to spawn on. Retrieved via get_spawn_turfs().
A list of job types that are not allowed to use this spawnpoint.
A list of event categories that are not allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR)
Name displayed in preference setup.
A list of job types that are allowed to use this spawnpoint.
A list of event categories that are allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR)
Message to display on the arrivals computer. If null, no message will be sent.
Determines validity for get_random_spawn_turf()
Vars | |
_spawn_turfs | List of turfs to spawn on. Retrieved via get_spawn_turfs(). |
---|---|
disallow_job | A list of job types that are not allowed to use this spawnpoint. |
disallow_job_event_categories | A list of event categories that are not allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR) |
name | Name displayed in preference setup. |
restrict_job | A list of job types that are allowed to use this spawnpoint. |
restrict_job_event_categories | A list of event categories that are allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR) |
spawn_announcement | Message to display on the arrivals computer. If null, no message will be sent. |
spawn_flags | Determines validity for get_random_spawn_turf() |
List of turfs to spawn on. Retrieved via get_spawn_turfs().
A list of job types that are not allowed to use this spawnpoint.
A list of event categories that are not allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR)
Name displayed in preference setup.
A list of job types that are allowed to use this spawnpoint.
A list of event categories that are allowed to use this spawnpoint (ex. ASSIGNMENT_JANITOR)
Message to display on the arrivals computer. If null, no message will be sent.
Determines validity for get_random_spawn_turf()
Vars | |
allergen_damage_severity | This determiens how damaging allergic reactions are. |
---|---|
allergen_disable_severity | This determines how long nonlethal effects last and how common emotes are. |
allergen_reaction | What type of reactions will you have? These the 'main' options and are intended to approximate anaphylactic shock at high doses. |
default_emotes | List of emote types that this species can use by default. |
job_blacklist_by_default | Set to true to blacklist this species from all map jobs it is not explicitly whitelisted for. |
poison_types | Material types considered noticeably poisonous when inhaled (ie. updates the toxins indicator on the HUD). -This is an associative list for speed. |
snow_slowdown_mod | A modifier applied to move delay when walking on snow. |
This determiens how damaging allergic reactions are.
This determines how long nonlethal effects last and how common emotes are.
What type of reactions will you have? These the 'main' options and are intended to approximate anaphylactic shock at high doses.
List of emote types that this species can use by default.
Set to true to blacklist this species from all map jobs it is not explicitly whitelisted for.
Material types considered noticeably poisonous when inhaled (ie. updates the toxins indicator on the HUD). -This is an associative list for speed.
A modifier applied to move delay when walking on snow.
Vars | |
allergen_damage_severity | This determiens how damaging allergic reactions are. |
---|---|
allergen_disable_severity | This determines how long nonlethal effects last and how common emotes are. |
allergen_reaction | What type of reactions will you have? These the 'main' options and are intended to approximate anaphylactic shock at high doses. |
default_emotes | List of emote types that this species can use by default. |
job_blacklist_by_default | Set to true to blacklist this species from all map jobs it is not explicitly whitelisted for. |
poison_types | Material types considered noticeably poisonous when inhaled (ie. updates the toxins indicator on the HUD). +This is an associative list for speed. |
snow_slowdown_mod | A modifier applied to move delay when walking on snow. |
This determiens how damaging allergic reactions are.
This determines how long nonlethal effects last and how common emotes are.
What type of reactions will you have? These the 'main' options and are intended to approximate anaphylactic shock at high doses.
List of emote types that this species can use by default.
Set to true to blacklist this species from all map jobs it is not explicitly whitelisted for.
Material types considered noticeably poisonous when inhaled (ie. updates the toxins indicator on the HUD). +This is an associative list for speed.
A modifier applied to move delay when walking on snow.
Vars | |
accessory_category | What category does this accessory fall under? |
---|---|
accessory_flags | Various flags controlling some checks and behavior. |
accessory_metadata_types | A list of metadata types for customisation of this accessory. |
body_flags_allowed | Restrict some styles to specific bodytype flags. |
body_flags_denied | Restrict some styles to specific bodytype flags. |
body_parts | What bodypart tags does this marking apply to? |
bodytype_categories_allowed | Restricts some styles to specific bodytype categories |
bodytype_categories_denied | Restricts some styles to specific bodytype categories |
bodytypes_allowed | Restricted to specific bodytypes. null matches any |
bodytypes_denied | Restricted from specific bodytypes. null matches none |
cached_icons | Icon cache for various icon generation steps. |
color_blend | What blend mode to use when colourizing this accessory. |
disallows_accessories | A list of sprite accessory types that are disallowed by this one being included. |
draw_accessory | Whether or not this accessory should be drawn on the mob at all. |
grooming_flags | Bitflags indicating what grooming tools work on this accessory. |
hidden_by_gear_flag | Flag to check equipment for when hiding this accessory. |
hidden_by_gear_slot | Slot to check equipment for when hiding this accessory. |
icon | the icon file the accessory is located in |
icon_state | the icon_state of the accessory |
is_heritable | Whether or not this accessory is transferred via DNA (ie. not a scar or tattoo) |
is_whitelisted | A value to check whitelists for. |
layer_blend | What blend mode to use when applying this accessory to the compiled organ. |
mask_to_bodypart | Whether or not this overlay should be trimmed to fit the base bodypart icon. |
name | The preview name of the accessory |
required_traits | A set of trait levels to check for. |
requires_appearance_flags | Flags to check when applying this accessory to the mob. |
species_allowed | Restrict some styles to specific root species names |
sprite_overlay_layer | Set to a layer integer to apply this as an overlay over the top of hair and such. |
subspecies_allowed | Restrict some styles to specific species names, irrespective of root species name |
What category does this accessory fall under?
Various flags controlling some checks and behavior.
A list of metadata types for customisation of this accessory.
Restrict some styles to specific bodytype flags.
Restrict some styles to specific bodytype flags.
What bodypart tags does this marking apply to?
Restricts some styles to specific bodytype categories
Restricts some styles to specific bodytype categories
Restricted to specific bodytypes. null matches any
Restricted from specific bodytypes. null matches none
Icon cache for various icon generation steps.
What blend mode to use when colourizing this accessory.
A list of sprite accessory types that are disallowed by this one being included.
Whether or not this accessory should be drawn on the mob at all.
Bitflags indicating what grooming tools work on this accessory.
Flag to check equipment for when hiding this accessory.
Slot to check equipment for when hiding this accessory.
the icon file the accessory is located in
the icon_state of the accessory
Whether or not this accessory is transferred via DNA (ie. not a scar or tattoo)
A value to check whitelists for.
What blend mode to use when applying this accessory to the compiled organ.
Whether or not this overlay should be trimmed to fit the base bodypart icon.
The preview name of the accessory
A set of trait levels to check for.
Flags to check when applying this accessory to the mob.
Restrict some styles to specific root species names
Set to a layer integer to apply this as an overlay over the top of hair and such.
Restrict some styles to specific species names, irrespective of root species name
Vars | |
accessory_category | What category does this accessory fall under? |
---|---|
accessory_flags | Various flags controlling some checks and behavior. |
accessory_metadata_types | A list of metadata types for customisation of this accessory. |
body_flags_allowed | Restrict some styles to specific bodytype flags. |
body_flags_denied | Restrict some styles to specific bodytype flags. |
body_parts | What bodypart tags does this marking apply to? |
bodytype_categories_allowed | Restricts some styles to specific bodytype categories |
bodytype_categories_denied | Restricts some styles to specific bodytype categories |
bodytypes_allowed | Restricted to specific bodytypes. null matches any |
bodytypes_denied | Restricted from specific bodytypes. null matches none |
cached_icons | Icon cache for various icon generation steps. |
color_blend | What blend mode to use when colourizing this accessory. |
disallows_accessories | A list of sprite accessory types that are disallowed by this one being included. |
draw_accessory | Whether or not this accessory should be drawn on the mob at all. |
grooming_flags | Bitflags indicating what grooming tools work on this accessory. |
hidden_by_gear_flag | Flag to check equipment for when hiding this accessory. |
hidden_by_gear_slot | Slot to check equipment for when hiding this accessory. |
icon | the icon file the accessory is located in |
icon_state | the icon_state of the accessory |
is_heritable | Whether or not this accessory is transferred via DNA (ie. not a scar or tattoo) |
is_whitelisted | A value to check whitelists for. |
layer_blend | What blend mode to use when applying this accessory to the compiled organ. |
mask_to_bodypart | Whether or not this overlay should be trimmed to fit the base bodypart icon. |
name | The preview name of the accessory |
required_traits | A set of trait levels to check for. |
requires_appearance_flags | Flags to check when applying this accessory to the mob. |
species_allowed | Restrict some styles to specific root species names |
sprite_overlay_layer | Set to a layer integer to apply this as an overlay over the top of hair and such. |
subspecies_allowed | Restrict some styles to specific species names, irrespective of root species name |
What category does this accessory fall under?
Various flags controlling some checks and behavior.
A list of metadata types for customisation of this accessory.
Restrict some styles to specific bodytype flags.
Restrict some styles to specific bodytype flags.
What bodypart tags does this marking apply to?
Restricts some styles to specific bodytype categories
Restricts some styles to specific bodytype categories
Restricted to specific bodytypes. null matches any
Restricted from specific bodytypes. null matches none
Icon cache for various icon generation steps.
What blend mode to use when colourizing this accessory.
A list of sprite accessory types that are disallowed by this one being included.
Whether or not this accessory should be drawn on the mob at all.
Bitflags indicating what grooming tools work on this accessory.
Flag to check equipment for when hiding this accessory.
Slot to check equipment for when hiding this accessory.
the icon file the accessory is located in
the icon_state of the accessory
Whether or not this accessory is transferred via DNA (ie. not a scar or tattoo)
A value to check whitelists for.
What blend mode to use when applying this accessory to the compiled organ.
Whether or not this overlay should be trimmed to fit the base bodypart icon.
The preview name of the accessory
A set of trait levels to check for.
Flags to check when applying this accessory to the mob.
Restrict some styles to specific root species names
Set to a layer integer to apply this as an overlay over the top of hair and such.
Restrict some styles to specific species names, irrespective of root species name
Vars | |
always_apply_defaults | Set to TRUE to apply these markings as defaults when bodytype is set. |
---|---|
base_accessory_type | A base abstract accessory type for this category. |
clear_in_pref_apply | Whether the accessories in this category are cleared when prefs are applied. |
default_accessory | A default always-available type used as a fallback. |
max_selections | A maximum number of selections. Ignored if null. |
name | A name to display in preferences. |
single_selection | Set to FALSE for categories where multiple selection is allowed (markings) |
Set to TRUE to apply these markings as defaults when bodytype is set.
A base abstract accessory type for this category.
Whether the accessories in this category are cleared when prefs are applied.
A default always-available type used as a fallback.
A maximum number of selections. Ignored if null.
A name to display in preferences.
Set to FALSE for categories where multiple selection is allowed (markings)
Vars | |
always_apply_defaults | Set to TRUE to apply these markings as defaults when bodytype is set. |
---|---|
base_accessory_type | A base abstract accessory type for this category. |
clear_in_pref_apply | Whether the accessories in this category are cleared when prefs are applied. |
default_accessory | A default always-available type used as a fallback. |
max_selections | A maximum number of selections. Ignored if null. |
name | A name to display in preferences. |
single_selection | Set to FALSE for categories where multiple selection is allowed (markings) |
Set to TRUE to apply these markings as defaults when bodytype is set.
A base abstract accessory type for this category.
Whether the accessories in this category are cleared when prefs are applied.
A default always-available type used as a fallback.
A maximum number of selections. Ignored if null.
A name to display in preferences.
Set to FALSE for categories where multiple selection is allowed (markings)
Vars | |
selectable_labels_to_states | Inverse of the above, generated at runtime. |
---|---|
selectable_states_to_labels | A list of text labels for states that need more than just capitalize() to be presentable. |
Inverse of the above, generated at runtime.
A list of text labels for states that need more than just capitalize() to be presentable.
Vars | |
selectable_labels_to_states | Inverse of the above, generated at runtime. |
---|---|
selectable_states_to_labels | A list of text labels for states that need more than just capitalize() to be presentable. |
Inverse of the above, generated at runtime.
A list of text labels for states that need more than just capitalize() to be presentable.
Vars | |
allow_multiple_craft | Used to prevent multiple being crafted at once. |
---|---|
apply_material_name | Whether the recipe will prepend a material name to the title - 'steel clipboard' vs 'clipboard'. |
available_to_map_tech_level | Category var used to discriminate recipes per-map. Unrelated to origin_tech. |
category | If set, will group recipes under a stack recipe list. |
craft_stack_types | What stack types can be used to make this recipe? |
crafting_extra_cost_factor | Modifies the matter values retrieved by req_amount calculation. Should always be more than 1. |
difficulty | Higher difficulty requires higher skill level to make. |
expected_product_type | Used to validate some checks like matter (since /turf has no matter). |
forbidden_craft_stack_types | What stack types cannot be used to make this recipe? |
gender | Used for name grammar, grabbed from product if null. |
name | Descriptive name, omitting any materials etc. Taken from product if null. |
name_plural | Descriptive name for multiple products, uses "[name]s" if null. |
on_floor | If set will be created on the floor instead of in-hand. |
one_per_turf | If set, only one of this object can be made per turf. |
recipe_skill | Skill to check for the recipe. |
req_amount | Amount of matter units needed for this recipe. If null, generates from result matter. |
required_integrity | Minimum material integrity value. |
required_material | Can this recipe use a material? Set to type for a specific material. |
required_max_hardness | Maximum material hardness value. |
required_max_opacity | Maximum material opacity value. |
required_min_hardness | Minimum material hardness value. |
required_reinforce_material | Can this recipe use a reinforced material? Set to type for a specific material. |
required_tool | Tool archetype required, if any. |
required_wall_support_value | Minimum material wall support value. |
result_type | Object path to the desired product. |
set_dir_on_spawn | Sets direction to the crafting user on creation. |
test_result_type | Object path to use in unit testing; leave null to use result_type instead. -Useful for items that require a material to Initialize() correctly as testing tries to use a null material. |
time | Time it takes for this recipe to be crafted (not including skill and tool modifiers). If null, generates from product w_class and difficulty. |
Used to prevent multiple being crafted at once.
Whether the recipe will prepend a material name to the title - 'steel clipboard' vs 'clipboard'.
Category var used to discriminate recipes per-map. Unrelated to origin_tech.
If set, will group recipes under a stack recipe list.
What stack types can be used to make this recipe?
Modifies the matter values retrieved by req_amount calculation. Should always be more than 1.
Higher difficulty requires higher skill level to make.
Used to validate some checks like matter (since /turf has no matter).
What stack types cannot be used to make this recipe?
Used for name grammar, grabbed from product if null.
Descriptive name, omitting any materials etc. Taken from product if null.
Descriptive name for multiple products, uses "[name]s" if null.
If set will be created on the floor instead of in-hand.
If set, only one of this object can be made per turf.
Skill to check for the recipe.
Amount of matter units needed for this recipe. If null, generates from result matter.
Minimum material integrity value.
Can this recipe use a material? Set to type for a specific material.
Maximum material hardness value.
Maximum material opacity value.
Minimum material hardness value.
Can this recipe use a reinforced material? Set to type for a specific material.
Tool archetype required, if any.
Minimum material wall support value.
Object path to the desired product.
Sets direction to the crafting user on creation.
Object path to use in unit testing; leave null to use result_type instead. -Useful for items that require a material to Initialize() correctly as testing tries to use a null material.
Time it takes for this recipe to be crafted (not including skill and tool modifiers). If null, generates from product w_class and difficulty.
Vars | |
allow_multiple_craft | Used to prevent multiple being crafted at once. |
---|---|
apply_material_name | Whether the recipe will prepend a material name to the title - 'steel clipboard' vs 'clipboard'. |
available_to_map_tech_level | Category var used to discriminate recipes per-map. Unrelated to origin_tech. |
category | If set, will group recipes under a stack recipe list. |
craft_stack_types | What stack types can be used to make this recipe? |
crafting_extra_cost_factor | Modifies the matter values retrieved by req_amount calculation. Should always be more than 1. |
difficulty | Higher difficulty requires higher skill level to make. |
expected_product_type | Used to validate some checks like matter (since /turf has no matter). |
forbidden_craft_stack_types | What stack types cannot be used to make this recipe? |
gender | Used for name grammar, grabbed from product if null. |
name | Descriptive name, omitting any materials etc. Taken from product if null. |
name_plural | Descriptive name for multiple products, uses "[name]s" if null. |
on_floor | If set will be created on the floor instead of in-hand. |
one_per_turf | If set, only one of this object can be made per turf. |
recipe_skill | Skill to check for the recipe. |
req_amount | Amount of matter units needed for this recipe. If null, generates from result matter. |
required_integrity | Minimum material integrity value. |
required_material | Can this recipe use a material? Set to type for a specific material. |
required_max_hardness | Maximum material hardness value. |
required_max_opacity | Maximum material opacity value. |
required_min_hardness | Minimum material hardness value. |
required_reinforce_material | Can this recipe use a reinforced material? Set to type for a specific material. |
required_tool | Tool archetype required, if any. |
required_wall_support_value | Minimum material wall support value. |
result_type | Object path to the desired product. |
set_dir_on_spawn | Sets direction to the crafting user on creation. |
test_result_type | Object path to use in unit testing; leave null to use result_type instead. +Useful for items that require a material to Initialize() correctly as testing tries to use a null material. |
time | Time it takes for this recipe to be crafted (not including skill and tool modifiers). If null, generates from product w_class and difficulty. |
Used to prevent multiple being crafted at once.
Whether the recipe will prepend a material name to the title - 'steel clipboard' vs 'clipboard'.
Category var used to discriminate recipes per-map. Unrelated to origin_tech.
If set, will group recipes under a stack recipe list.
What stack types can be used to make this recipe?
Modifies the matter values retrieved by req_amount calculation. Should always be more than 1.
Higher difficulty requires higher skill level to make.
Used to validate some checks like matter (since /turf has no matter).
What stack types cannot be used to make this recipe?
Used for name grammar, grabbed from product if null.
Descriptive name, omitting any materials etc. Taken from product if null.
Descriptive name for multiple products, uses "[name]s" if null.
If set will be created on the floor instead of in-hand.
If set, only one of this object can be made per turf.
Skill to check for the recipe.
Amount of matter units needed for this recipe. If null, generates from result matter.
Minimum material integrity value.
Can this recipe use a material? Set to type for a specific material.
Maximum material hardness value.
Maximum material opacity value.
Minimum material hardness value.
Can this recipe use a reinforced material? Set to type for a specific material.
Tool archetype required, if any.
Minimum material wall support value.
Object path to the desired product.
Sets direction to the crafting user on creation.
Object path to use in unit testing; leave null to use result_type instead. +Useful for items that require a material to Initialize() correctly as testing tries to use a null material.
Time it takes for this recipe to be crafted (not including skill and tool modifiers). If null, generates from product w_class and difficulty.
Vars | |
default_to_hidden | Whether the job preferences for this submap archetype are collapsed by default. |
---|---|
sort_priority | Used to order submaps on the occupation preference menu. |
Whether the job preferences for this submap archetype are collapsed by default.
Used to order submaps on the occupation preference menu.
Vars | |
default_to_hidden | Whether the job preferences for this submap archetype are collapsed by default. |
---|---|
sort_priority | Used to order submaps on the occupation preference menu. |
Whether the job preferences for this submap archetype are collapsed by default.
Used to order submaps on the occupation preference menu.
Vars | |
additional_codex_lines | Any additional information to add to the codex entry for this step. |
---|---|
allowed_species | type paths referencing races that this step applies to. |
allowed_tools | type path referencing tools that can be used for this step, and how well are they suited for it |
begin_step_sound | Sound (or list of sounds) to play on begin step. |
blood_level | How much blood this step can get on surgeon. 1 - hands, 2 - full body. |
can_infect | evil infection stuff that will make everyone hate me |
delicate | if this step NEEDS stable optable or can be done on any valid surface with no penalty |
description | An informative description string. |
disallowed_species | type paths referencing races that this step applies to. |
end_step_sound | Sound (or list of sounds) to play on end step. |
expected_mob_type | What mob type does this surgery apply to. |
fail_step_sound | Sound (or list of sounds) to play on fail step. |
hidden_from_codex | Is this surgery a secret? |
max_duration | duration of the step |
min_duration | duration of the step |
name | An identifying name string. |
shock_level | what shock level will this step put patient on |
strict_access_requirement | Whether or not this surgery will be fuzzy on size requirements. |
surgery_candidate_flags | Various bitflags for requirements of the surgery. |
Any additional information to add to the codex entry for this step.
type paths referencing races that this step applies to.
type path referencing tools that can be used for this step, and how well are they suited for it
Sound (or list of sounds) to play on begin step.
How much blood this step can get on surgeon. 1 - hands, 2 - full body.
evil infection stuff that will make everyone hate me
if this step NEEDS stable optable or can be done on any valid surface with no penalty
An informative description string.
type paths referencing races that this step applies to.
Sound (or list of sounds) to play on end step.
What mob type does this surgery apply to.
Sound (or list of sounds) to play on fail step.
Is this surgery a secret?
duration of the step
duration of the step
An identifying name string.
what shock level will this step put patient on
Whether or not this surgery will be fuzzy on size requirements.
Various bitflags for requirements of the surgery.
Vars | |
additional_codex_lines | Any additional information to add to the codex entry for this step. |
---|---|
allowed_species | type paths referencing races that this step applies to. |
allowed_tools | type path referencing tools that can be used for this step, and how well are they suited for it |
begin_step_sound | Sound (or list of sounds) to play on begin step. |
blood_level | How much blood this step can get on surgeon. 1 - hands, 2 - full body. |
can_infect | evil infection stuff that will make everyone hate me |
delicate | if this step NEEDS stable optable or can be done on any valid surface with no penalty |
description | An informative description string. |
disallowed_species | type paths referencing races that this step applies to. |
end_step_sound | Sound (or list of sounds) to play on end step. |
expected_mob_type | What mob type does this surgery apply to. |
fail_step_sound | Sound (or list of sounds) to play on fail step. |
hidden_from_codex | Is this surgery a secret? |
max_duration | duration of the step |
min_duration | duration of the step |
name | An identifying name string. |
shock_level | what shock level will this step put patient on |
strict_access_requirement | Whether or not this surgery will be fuzzy on size requirements. |
surgery_candidate_flags | Various bitflags for requirements of the surgery. |
Any additional information to add to the codex entry for this step.
type paths referencing races that this step applies to.
type path referencing tools that can be used for this step, and how well are they suited for it
Sound (or list of sounds) to play on begin step.
How much blood this step can get on surgeon. 1 - hands, 2 - full body.
evil infection stuff that will make everyone hate me
if this step NEEDS stable optable or can be done on any valid surface with no penalty
An informative description string.
type paths referencing races that this step applies to.
Sound (or list of sounds) to play on end step.
What mob type does this surgery apply to.
Sound (or list of sounds) to play on fail step.
Is this surgery a secret?
duration of the step
duration of the step
An identifying name string.
what shock level will this step put patient on
Whether or not this surgery will be fuzzy on size requirements.
Various bitflags for requirements of the surgery.
Vars | |
article | Boolean value for prefixing 'a' or 'an' to the tool name. |
---|---|
config_sound | Sound or list of sounds to play when this tool is selected as a variable tool head. |
name | Noun for the tool. |
properties | A list of named tool specific properties this tool offers, and the default value of that property, if applicable. |
tool_sound | Sound or list of sounds to play when this tool is used. |
Boolean value for prefixing 'a' or 'an' to the tool name.
Sound or list of sounds to play when this tool is selected as a variable tool head.
Noun for the tool.
A list of named tool specific properties this tool offers, and the default value of that property, if applicable.
Sound or list of sounds to play when this tool is used.
Vars | |
article | Boolean value for prefixing 'a' or 'an' to the tool name. |
---|---|
config_sound | Sound or list of sounds to play when this tool is selected as a variable tool head. |
name | Noun for the tool. |
properties | A list of named tool specific properties this tool offers, and the default value of that property, if applicable. |
tool_sound | Sound or list of sounds to play when this tool is used. |
Boolean value for prefixing 'a' or 'an' to the tool name.
Sound or list of sounds to play when this tool is selected as a variable tool head.
Noun for the tool.
A list of named tool specific properties this tool offers, and the default value of that property, if applicable.
Sound or list of sounds to play when this tool is used.
Procs | |
get_signature | Returns the signature to use when signing with a pen. Meant to help deal with chameleon pens and regular pens. |
---|---|
toggle_active | Toggles the active/inactive state of some pens |
Returns the signature to use when signing with a pen. Meant to help deal with chameleon pens and regular pens.
Toggles the active/inactive state of some pens
Procs | |
get_signature | Returns the signature to use when signing with a pen. Meant to help deal with chameleon pens and regular pens. |
---|---|
toggle_active | Toggles the active/inactive state of some pens |
Returns the signature to use when signing with a pen. Meant to help deal with chameleon pens and regular pens.
Toggles the active/inactive state of some pens
Procs | |
can_use | Returns TRUE if we can use this command, and FALSE otherwise |
---|
Returns TRUE if we can use this command, and FALSE otherwise
Procs | |
can_use | Returns TRUE if we can use this command, and FALSE otherwise |
---|
Returns TRUE if we can use this command, and FALSE otherwise
Vars | |
available_at_chargen | Whether or not trait is shown in chargen prefs |
---|---|
available_at_map_tech | Whether this trait should be available on a map with a given tech leve. |
blocked_species | What species cannot select this trait in chargen? |
category | Header for root traits in char prefs. |
children | Aspects with this trait as a parent |
description | Flavour text. |
incompatible_with | Typelist of traits that prevent this one from being taken |
levels | A list of possible values for this trait. Should either only contain TRAIT_LEVEL_EXISTS or a set of the other TRAIT_LEVEL_* levels |
name | String identifier. |
parent | Parent/prerequisite for this trait. |
permitted_species | What species can select this trait in chargen? |
reapply_on_rejuvenation | Whether or not a rejuvenation should apply this aspect. |
trait_cost | Number of points spent or gained by taking this trait |
Procs | |
get_chargen_desc | A getter for the desc shown in the preferences menu. Can be overridden for custom behavior based on prefs. |
get_chargen_name | A getter for the name shown in the preferences menu. Can be overridden for custom behavior based on prefs. |
Whether or not trait is shown in chargen prefs
Whether this trait should be available on a map with a given tech leve.
What species cannot select this trait in chargen?
Header for root traits in char prefs.
Aspects with this trait as a parent
Flavour text.
Typelist of traits that prevent this one from being taken
A list of possible values for this trait. Should either only contain TRAIT_LEVEL_EXISTS or a set of the other TRAIT_LEVEL_* levels
String identifier.
Parent/prerequisite for this trait.
What species can select this trait in chargen?
Whether or not a rejuvenation should apply this aspect.
Number of points spent or gained by taking this trait
A getter for the desc shown in the preferences menu. Can be overridden for custom behavior based on prefs.
A getter for the name shown in the preferences menu. Can be overridden for custom behavior based on prefs.
Vars | |
available_at_chargen | Whether or not trait is shown in chargen prefs |
---|---|
available_at_map_tech | Whether this trait should be available on a map with a given tech leve. |
blocked_species | What species cannot select this trait in chargen? |
category | Header for root traits in char prefs. |
children | Aspects with this trait as a parent |
description | Flavour text. |
incompatible_with | Typelist of traits that prevent this one from being taken |
levels | A list of possible values for this trait. Should either only contain TRAIT_LEVEL_EXISTS or a set of the other TRAIT_LEVEL_* levels |
name | String identifier. |
parent | Parent/prerequisite for this trait. |
permitted_species | What species can select this trait in chargen? |
reapply_on_rejuvenation | Whether or not a rejuvenation should apply this aspect. |
trait_cost | Number of points spent or gained by taking this trait |
Procs | |
get_chargen_desc | A getter for the desc shown in the preferences menu. Can be overridden for custom behavior based on prefs. |
get_chargen_name | A getter for the name shown in the preferences menu. Can be overridden for custom behavior based on prefs. |
Whether or not trait is shown in chargen prefs
Whether this trait should be available on a map with a given tech leve.
What species cannot select this trait in chargen?
Header for root traits in char prefs.
Aspects with this trait as a parent
Flavour text.
Typelist of traits that prevent this one from being taken
A list of possible values for this trait. Should either only contain TRAIT_LEVEL_EXISTS or a set of the other TRAIT_LEVEL_* levels
String identifier.
Parent/prerequisite for this trait.
What species can select this trait in chargen?
Whether or not a rejuvenation should apply this aspect.
Number of points spent or gained by taking this trait
A getter for the desc shown in the preferences menu. Can be overridden for custom behavior based on prefs.
A getter for the name shown in the preferences menu. Can be overridden for custom behavior based on prefs.
Vars | |
glasses_type | The typepath of the glasses to give the holder. |
---|
The typepath of the glasses to give the holder.
Vars | |
glasses_type | The typepath of the glasses to give the holder. |
---|
The typepath of the glasses to give the holder.
Runs multiple turf initialisers in sequence.
Vars | |
initialisers | A list of initialisers to run, in sequence. |
---|
A list of initialisers to run, in sequence.
Runs multiple turf initialisers in sequence.
Vars | |
initialisers | A list of initialisers to run, in sequence. |
---|
A list of initialisers to run, in sequence.
Spawns random 'kitchen' grime near tables: flour spills, smashed eggs, fruit smudges, etc.
Vars | |
clutter | Clutter types to pick from when placing clutter on a turf. |
---|---|
clutter_probability | The probability of attempting to place clutter for a turf. |
Clutter types to pick from when placing clutter on a turf.
The probability of attempting to place clutter for a turf.
Spawns random 'kitchen' grime near tables: flour spills, smashed eggs, fruit smudges, etc.
Vars | |
clutter | Clutter types to pick from when placing clutter on a turf. |
---|---|
clutter_probability | The probability of attempting to place clutter for a turf. |
Clutter types to pick from when placing clutter on a turf.
The probability of attempting to place clutter for a turf.
Procs | |
dirty_neighbors | Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible) |
---|
Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible)
Procs | |
dirty_neighbors | Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible) |
---|
Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible)
Vars | |
max_base_dirt | The maximum amount of dirt added to a turf. |
---|---|
max_dirt_per_turf | The maximum amount of dirt added to each turf per dirty neighbour turf. |
min_base_dirt | The maximum amount of dirt added to a turf. |
spiderling_probability | The chance a dormant spiderling will spawn in a placed web. |
web_probability | The chance a turf in a corner will attempt to place a web. |
Procs | |
dirty_neighbors | Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible) |
The maximum amount of dirt added to a turf.
The maximum amount of dirt added to each turf per dirty neighbour turf.
The maximum amount of dirt added to a turf.
The chance a dormant spiderling will spawn in a placed web.
The chance a turf in a corner will attempt to place a web.
Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible)
Vars | |
max_base_dirt | The maximum amount of dirt added to a turf. |
---|---|
max_dirt_per_turf | The maximum amount of dirt added to each turf per dirty neighbour turf. |
min_base_dirt | The maximum amount of dirt added to a turf. |
spiderling_probability | The chance a dormant spiderling will spawn in a placed web. |
web_probability | The chance a turf in a corner will attempt to place a web. |
Procs | |
dirty_neighbors | Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible) |
The maximum amount of dirt added to a turf.
The maximum amount of dirt added to each turf per dirty neighbour turf.
The maximum amount of dirt added to a turf.
The chance a dormant spiderling will spawn in a placed web.
The chance a turf in a corner will attempt to place a web.
Returns the number of cardinally adjacent turfs with at least 25 dirt (halfway to visible)
Vars | |
icons | Associative mapping of UI icon key to icon file. |
---|---|
name | A descriptive string. |
override_icons | A subset of UI keys to icon files used to override the above. |
restricted | Whether or not this style is selectable in preferences. |
Associative mapping of UI icon key to icon file.
A descriptive string.
A subset of UI keys to icon files used to override the above.
Whether or not this style is selectable in preferences.
Vars | |
icons | Associative mapping of UI icon key to icon file. |
---|---|
name | A descriptive string. |
override_icons | A subset of UI keys to icon files used to override the above. |
restricted | Whether or not this style is selectable in preferences. |
Associative mapping of UI icon key to icon file.
A descriptive string.
A subset of UI keys to icon files used to override the above.
Whether or not this style is selectable in preferences.
Procs | |
load_map | Construct the model map and control the loading process |
---|
Construct the model map and control the loading process
+Procs | |
load_map | Construct the model map and control the loading process |
---|
Construct the model map and control the loading process
WORKING :
Vars | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
COMPOST_WORM_EAT_AMOUNT | The number of worms influences the rate at which contents are decomposed into compost. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Failsafe | Failsafe | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Master | StonedMC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SSdaycycle | Subsystem for updating day/night ambient lighting for sets of z-levels that share a common day/night state. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SStimer | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_comment_mood_legend | Visual formatting for character info/comments. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
access_cent_general | Central Command | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
access_hacked | Antag access | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
access_security | Station access | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
access_synth | Misc | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alphabet | Alphabet a-z. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alphabet_capital | Alphabet A-Z. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
apophonic_plurals | Words that have a different plural form, and their plural form | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
area_blurb_stated_to | This list of names is here to make sure we don't state our descriptive blurb to a person more than once. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
english_loanwords | Used to tell how to make it a plural word and etc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mil_branches | Datums for military branches and ranks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
numbers | Numbers 0-9. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plural_endings_in_ves | Plurals endings in -ves | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plural_endings_with_doubled_letter | Plurals endings in -sses or -zzes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plural_siblants | Siblants that should end with es | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plural_vocalized_y | Vocalized y sounds that needs to end in -ies when made plural | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plural_words_unchanged | Words that stay the same in plural | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
syndicate_code_phrase | Code phrase for traitors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
syndicate_code_response | Code response for traitors. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vowels | Vowels. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Procs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CreateBans | DEBUG | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ReloadThemeCss | Force the light and dark theme css files to be reloaded. Mainly usefule for devs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_addtimer | Create a new timer and insert it in the queue.
+/(global)
Var DetailsCOMPOST_WORM_EAT_AMOUNTThe number of worms influences the rate at which contents are decomposed into compost. FailsafeFailsafe -Pretty much pokes the MC to make sure it's still alive. MasterStonedMC +To add a scent extension to an atom using a reagent's info, where R. is the reagent, use set_scent_by_reagents(). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shared_mimic_edge_get_add_vis_contents | Shared proc to provide the default vis_content for the edge_turf. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shared_transition_edge_bumped | Handles teleporting an atom that touches a transition edge/loop edge. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shared_transition_edge_get_coordinates_turf_to_mimic | Returns the turf that's opposite to the specified turf, on the level specified. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shared_transition_edge_get_valid_level_data | Grab the connected level data for the level connected in the direction the 'T' turf is in. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
stoplag | returns the number of ticks slept | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text_ends_with | Returns true if the text ends with the given sequence of characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text_ends_with_any_of | Returns true if the text ends with ANY of the given sequences of characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text_make_plural | Properly changes the given word (or the last word of the string) into a plural word. Applies a bunch of exceptions from the english language. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text_starts_with | Returns true if the text starts with the given sequence of characters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
timeleft | Get the remaining deciseconds on a timer |
The number of worms influences the rate at which contents are decomposed into compost.
Failsafe
+Pretty much pokes the MC to make sure it's still alive.
StonedMC
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
Subsystem for updating day/night ambient lighting for sets of z-levels that share a common day/night state.
Subsystem for updating day/night ambient lighting for sets of z-levels that share a common day/night state.
Handles creation, callbacks, and destruction of timed events.
It is important to understand the buckets used in the timer subsystem are just a series of doubly-linked lists. The object at a given index in bucket_list is a /datum/timedevent, the head of a list, which has prev -and next references for the respective elements in that bucket's list.
Visual formatting for character info/comments.
Central Command
Antag access
Station access
Misc
Alphabet a-z.
Alphabet A-Z.
Words that have a different plural form, and their plural form
This list of names is here to make sure we don't state our descriptive blurb to a person more than once.
Used to tell how to make it a plural word and etc.
Datums for military branches and ranks
+and next references for the respective elements in that bucket's list.Visual formatting for character info/comments.
Central Command
Antag access
Station access
Misc
Alphabet a-z.
Alphabet A-Z.
Words that have a different plural form, and their plural form
This list of names is here to make sure we don't state our descriptive blurb to a person more than once.
Used to tell how to make it a plural word and etc.
Datums for military branches and ranks
Map datums can optionally specify a list of /datum/mil_branch paths. These paths are used to initialize the global mil_branches object, which contains a list of branch objects the map uses. Each branch definition specifies a list of /datum/mil_rank paths, which are ranks available to that branch.
Which branches and ranks can be selected for spawning is specifed in global.using_map -and each branch datum definition, respectively.
Numbers 0-9.
Plurals endings in -ves
Plurals endings in -sses or -zzes
Siblants that should end with es
Vocalized y sounds that needs to end in -ies when made plural
Words that stay the same in plural
Code phrase for traitors.
Code response for traitors.
Vowels.
DEBUG
Force the light and dark theme css files to be reloaded. Mainly usefule for devs.
Create a new timer and insert it in the queue. +and each branch datum definition, respectively.
Numbers 0-9.
Plurals endings in -ves
Plurals endings in -sses or -zzes
Siblants that should end with es
Vocalized y sounds that needs to end in -ies when made plural
Words that stay the same in plural
Code phrase for traitors.
Code response for traitors.
Vowels.
DEBUG
Force the light and dark theme css files to be reloaded. Mainly usefule for devs.
Create a new timer and insert it in the queue. You should not call this directly, and should instead use the addtimer macro, which includes source information.
Arguments:
Hear Helpers
View Helpers
@file hooks.dm +
Hear Helpers
View Helpers
@file hooks.dm Implements hooks, a simple way to run code on pre-defined events.
Calls a hook, executing every piece of code that's attached to it. @param hook Identifier of the hook to call. -@returns 1 if all hooked code runs successfully, 0 otherwise.
Range Helpers
Returns a matrix addition of A with B
Changes distance colors have from rgb(127,127,127) grey
+@returns 1 if all hooked code runs successfully, 0 otherwise.Range Helpers
Returns a matrix addition of A with B
Changes distance colors have from rgb(127,127,127) grey
Returns the matrix identity
+Returns the matrix identity
Adds/subtracts overall lightness
+Adds/subtracts overall lightness
Returns a matrix multiplication of A with B
Moves all colors angle degrees around the color wheel while maintaining intensity of the color and not affecting greys
+Returns a matrix multiplication of A with B
Moves all colors angle degrees around the color wheel while maintaining intensity of the color and not affecting greys
Rotates around the red axis
Rotates around the green axis
Rotates around the blue axis
Changes distance hues have from grey while maintaining the overall lightness. Greys are unaffected.
+Rotates around the red axis
Rotates around the green axis
Rotates around the blue axis
Changes distance hues have from grey while maintaining the overall lightness. Greys are unaffected.
Converts RGB shorthands into RGBA matrices complete of constants rows (ergo a 20 keys list in byond).
Copy the extension instance on the 'source' and put it on the 'destination'.
Generate_image function generates image of specified range and location:
+Converts RGB shorthands into RGBA matrices complete of constants rows (ergo a 20 keys list in byond).
Copy the extension instance on the 'source' and put it on the 'destination'.
Generate_image function generates image of specified range and location:
target_x
, target_y
, target_z
are target coordinates (requred).range
defines render distance to opposite corner (requred).checker
is a person from which side will be perfored capture check, should be /mob/living
target_ype.Delete a timer
+Delete a timer
Arguments:
Construct Spells
Converts a uniform distributed random number into a normal distributed one +
Construct Spells
Converts a uniform distributed random number into a normal distributed one since this method produces two random numbers, one is saved for subsequent calls (making the cost negligble for every second call).
Helpers
Initial Building
Returns a list of mobs who can hear any of the radios given in @radios -Assume all the radios in the list are eligible; we just care about mobs
Returns a number string with its ordinal suffix th, st, nd, rd
Support procs
Gets the highest and lowest pressures from the tiles in cardinal directions -around us, then checks the difference.
Returns all the turfs from all 4 corners of the transition border of a level.
Returns all the turfs within a zlevel's transition edge, on a given direction. -If include corners is true, the corners of the map will be included.
Returns the a cardinal direction for a turf on the map that's beyond the transition edge
WOUND DEFINITIONS
Handles topic interactions shared by folders and clipboard.
Is this a dense (all keys have non-null values) associative list with at least one entry?
ADMIN HELPER PROCS
Deep copy/clone everything in the list, or reference things that cannot be cloned. Use with caution. -atom_refs_only: If true, the proc will only reference /atom subtypes, and will not clone them.
Given a number, returns a representation fit for a 3-digit display.
+Helpers
Initial Building
Returns a list of mobs who can hear any of the radios given in @radios +Assume all the radios in the list are eligible; we just care about mobs
Returns a number string with its ordinal suffix th, st, nd, rd
Support procs
Gets the highest and lowest pressures from the tiles in cardinal directions +around us, then checks the difference.
Returns all the turfs from all 4 corners of the transition border of a level.
Returns all the turfs within a zlevel's transition edge, on a given direction. +If include corners is true, the corners of the map will be included.
Returns the a cardinal direction for a turf on the map that's beyond the transition edge
WOUND DEFINITIONS
Handles topic interactions shared by folders and clipboard.
Is this a dense (all keys have non-null values) associative list with at least one entry?
ADMIN HELPER PROCS
Deep copy/clone everything in the list, or reference things that cannot be cloned. Use with caution. +atom_refs_only: If true, the proc will only reference /atom subtypes, and will not clone them.
Given a number, returns a representation fit for a 3-digit display.
Assumes that besides the digits themselves, display provides
decimal point on the highest digit, plus (for overflow) and minus signs.
Returns lists indexed by (power of ten)+1, that is, with [1] showing ones,
[2] tens, [3] hundreds.
Valid values are -99
to 99<M>
, with ++<M>
and ---
for over and underflow,
-where
Registers the on-close verb for a browse window (client/verb/.windowclose)
+where
Registers the on-close verb for a browse window (client/verb/.windowclose) this will be called when the close-button of a window is pressed.
This is usually only needed for devices that regularly update the browse window, e.g. canisters, timers, etc.
@@ -121,21 +121,21 @@ then use : onclose(user, "fred")Optionally, specify the "ref" parameter as the controlled atom (usually src) to pass a "close=1" parameter to the atom's Topic() proc for special handling. -Otherwise, the user mob's machine var will be reset directly.
A do nothing proc used to prevent empty block warnings -In hot code (like atmos checks), use EMPTY_BLOCK_GUARD instead.
Plays a DTMF tone (Telephone key press sound) for any valid telephone key.
+Otherwise, the user mob's machine var will be reset directly.A do nothing proc used to prevent empty block warnings +In hot code (like atmos checks), use EMPTY_BLOCK_GUARD instead.
Plays a DTMF tone (Telephone key press sound) for any valid telephone key.
source
: The atom that's producing the sound.key
: The character of the key pressed.user
: The mob actually pressing the key.user_only
: Whether the sound should be only heard by the user mob. (Sent to the user's client only)Helper for sending a fax from a fax machine to an admin destination.
Reagents have the following vars, which coorelate to the vars on the standard scent extension: +
Helper for sending a fax from a fax machine to an admin destination.
Reagents have the following vars, which coorelate to the vars on the standard scent extension: scent, scent_intensity, scent_descriptor, scent_range -To add a scent extension to an atom using a reagent's info, where R. is the reagent, use set_scent_by_reagents().
Shared proc to provide the default vis_content for the edge_turf.
Handles teleporting an atom that touches a transition edge/loop edge.
Returns the turf that's opposite to the specified turf, on the level specified.
Grab the connected level data for the level connected in the direction the 'T' turf is in.
returns the number of ticks slept
Returns true if the text ends with the given sequence of characters.
Returns true if the text ends with ANY of the given sequences of characters.
Properly changes the given word (or the last word of the string) into a plural word. Applies a bunch of exceptions from the english language.
Returns true if the text starts with the given sequence of characters.
Get the remaining deciseconds on a timer
+To add a scent extension to an atom using a reagent's info, where R. is the reagent, use set_scent_by_reagents().Shared proc to provide the default vis_content for the edge_turf.
Handles teleporting an atom that touches a transition edge/loop edge.
Returns the turf that's opposite to the specified turf, on the level specified.
Grab the connected level data for the level connected in the direction the 'T' turf is in.
returns the number of ticks slept
Returns true if the text ends with the given sequence of characters.
Returns true if the text ends with ANY of the given sequences of characters.
Properly changes the given word (or the last word of the string) into a plural word. Applies a bunch of exceptions from the english language.
Returns true if the text starts with the given sequence of characters.
Get the remaining deciseconds on a timer
Arguments:
Startup hook. -Called in world.dm when the server starts.
Procs | |
populate_branches | Populate the global branches list from global.using_map |
---|
Populate the global branches list from global.using_map
Startup hook. +Called in world.dm when the server starts.
Procs | |
populate_branches | Populate the global branches list from global.using_map |
---|
Populate the global branches list from global.using_map