obj

Vars | |
bare_wound_bonus | If this attacks a human with no wound armor on the affected body part, add this to the wound mod. Some attacks may be significantly worse at wounding if there's even a slight layer of armor to absorb some of it vs bare flesh |
---|---|
custom_fire_overlay | Custom fire overlay icon |
demolition_mod | A multiplier to an objecet's force when used against a stucture, vechicle, machine, or robot. |
id_tag | Map tag for something. Tired of it being used on snowflake items. Moved here for some semblance of a standard. Next pr after the network fix will have me refactor door interactions, so help me god. |
network_id | Network id. If set it can be found by either its hardware id or by the id tag if thats set. It can also be broadcasted to as long as the other guys network is on the same branch or above. |
wound_bonus | How good a given object is at causing wounds on carbons. Higher values equal better shots at creating serious wounds. |
Procs | |
GetExplosionBlock | returns how much the object blocks an explosion. Used by subtypes. |
acid_act | the obj's reaction when touched by acid |
acid_melt | called when the obj is destroyed by acid. |
atom_destruction | what happens when the obj's integrity reaches zero. |
attack_tk_grab | Telekinesis object grab act. |
burn | called when the obj is destroyed by fire |
check_reskin_menu | Checks if we are allowed to interact with a radial menu for reskins |
deconstruct | the obj is deconstructed into pieces, whether through careful disassembly or when destroyed. |
expose_reagents | Handles exposing an object to reagents. |
extinguish | Called when the obj is no longer on fire. |
fire_act | / FIRE Called when the obj is exposed to fire. |
freeze | attempt to freeze this obj if possible. returns TRUE if it succeeded, FALSE otherwise. |
pipe_eject | General proc used to expel a holder's contents through src (for bins holder is also the src). |
reskin_obj | Reskins object based on a user's choice |
unfreeze | unfreezes this obj if its frozen |
zap_act | Called when the obj is hit by a tesla bolt. |
zap_buckle_check | Only tesla coils, vehicles, and grounding rods currently call this because mobs are already targeted over all other objects, but this might be useful for more things later. |
Var Details
bare_wound_bonus

If this attacks a human with no wound armor on the affected body part, add this to the wound mod. Some attacks may be significantly worse at wounding if there's even a slight layer of armor to absorb some of it vs bare flesh
custom_fire_overlay

Custom fire overlay icon
demolition_mod

A multiplier to an objecet's force when used against a stucture, vechicle, machine, or robot.
id_tag

Map tag for something. Tired of it being used on snowflake items. Moved here for some semblance of a standard. Next pr after the network fix will have me refactor door interactions, so help me god.
network_id

Network id. If set it can be found by either its hardware id or by the id tag if thats set. It can also be broadcasted to as long as the other guys network is on the same branch or above.
wound_bonus

How good a given object is at causing wounds on carbons. Higher values equal better shots at creating serious wounds.
Proc Details
GetExplosionBlock
returns how much the object blocks an explosion. Used by subtypes.
acid_act
the obj's reaction when touched by acid
acid_melt
called when the obj is destroyed by acid.
atom_destruction
what happens when the obj's integrity reaches zero.
attack_tk_grab
Telekinesis object grab act.
- Called by
/obj/attack_tk()
. - Returns
COMPONENT_CANCEL_ATTACK_CHAIN
when it performs any action, to further acts on the attack chain.
burn
called when the obj is destroyed by fire
check_reskin_menu
Checks if we are allowed to interact with a radial menu for reskins
Arguments:
- user The mob interacting with the menu
deconstruct
the obj is deconstructed into pieces, whether through careful disassembly or when destroyed.
expose_reagents
Handles exposing an object to reagents.
extinguish
Called when the obj is no longer on fire.
fire_act
/ FIRE Called when the obj is exposed to fire.
freeze
attempt to freeze this obj if possible. returns TRUE if it succeeded, FALSE otherwise.
pipe_eject
General proc used to expel a holder's contents through src (for bins holder is also the src).
reskin_obj
Reskins object based on a user's choice
Arguments:
- M The mob choosing a reskin option
unfreeze
unfreezes this obj if its frozen
zap_act
Called when the obj is hit by a tesla bolt.
zap_buckle_check
Only tesla coils, vehicles, and grounding rods currently call this because mobs are already targeted over all other objects, but this might be useful for more things later.