/obj
Vars | |
access_modified | Whether or not this instance is using accesses different from initial code. Used for easy locating in map files. |
---|---|
buckle_lying | Bed-like behaviour, forces mob.lying = buckle_lying if not set to NO_BUCKLE_LYING. |
garbage | set to true if the item is garbage and should be deleted after awhile |
in_use | If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING! |
matter | Used to store information about the contents of the object. |
projectile_coverage | an object's "projectile_coverage" var indicates the maximum probability of blocking a projectile, assuming density and throwpass. Used by barricades, tables and window frames |
reliability | Used by SOME devices to determine how reliable they are. |
renamedByPlayer | set when a player uses a pen on a renamable object |
surgery_duration_multiplier | Applied to surgery times for mobs buckled prone to it or lying on the same tile, if the surgery cares about surface conditions. The lowest multiplier of objects on the tile is used. |
unacidable | universal "unacidabliness" var, here so you can use it in any obj. |
Procs | |
get_applying_acid_time | returns time or -1 if unmeltable |
post_vendor_spawn_hook | override for subtypes that require extra behaviour when spawned from a vendor |
Var Details
access_modified
Whether or not this instance is using accesses different from initial code. Used for easy locating in map files.
buckle_lying
Bed-like behaviour, forces mob.lying = buckle_lying if not set to NO_BUCKLE_LYING.
garbage
set to true if the item is garbage and should be deleted after awhile
in_use
If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING!
matter
Used to store information about the contents of the object.
projectile_coverage
an object's "projectile_coverage" var indicates the maximum probability of blocking a projectile, assuming density and throwpass. Used by barricades, tables and window frames
reliability
Used by SOME devices to determine how reliable they are.
renamedByPlayer
set when a player uses a pen on a renamable object
surgery_duration_multiplier
Applied to surgery times for mobs buckled prone to it or lying on the same tile, if the surgery cares about surface conditions. The lowest multiplier of objects on the tile is used.
unacidable
universal "unacidabliness" var, here so you can use it in any obj.
Proc Details
get_applying_acid_time
returns time or -1 if unmeltable
post_vendor_spawn_hook
override for subtypes that require extra behaviour when spawned from a vendor