external 
EXTERNAL ORGANS
Vars | |
amputation_point | Descriptive string used in amputation |
---|---|
bleeding_mod | Bleeding mod |
bleedsuppress | How many bleeding stopped |
bleedsuppress_timer | Timer for stop blood loss |
broken_description | Fluff fracture description |
brute_dam | Curent bodypart brute damage |
brute_mod | Brute modifier allpied to received damage |
burn_dam | Curent bodypart burn damage |
burn_mod | Burn modifier allpied to received damage |
can_grasp | Whether this bodypart can be used for grasping |
cannot_amputate | Whether bodypart can be amputated |
cannot_break | Whether bodypart can be broken |
cannot_internal_bleed | Whether bodypart can have internal bleeding |
child_icons | Lazy list of children bodyparts icons |
children | Lazy list of bodypart children |
convertable_children | Child bodyparts in this list will be robotized with the parent |
damage_state | String code used to apply and check bodypart visual damage |
deform | Mutated organ icons set |
dismember_at_max_damage | Whether bodypart will drop if maximum damage is reached |
embedded_objects | Lazy list of all embedded objects inside the bodypart |
encased | Whether bodypart needs to be opened with a saw to access the internal organs. Can be a string with encasing description |
force_icon | Icon override used for wings/tails |
gendered_icon | If set to TRUE bodypart will use genderized bodypart icon if available |
hidden | Reference to item hidden in this bodypart after cavity surgery |
icobase | Default organ icons set |
icon_name | Icon state used to render bodypart |
icon_position | Bitflag for icon position (LEFT or RIGHT), used to correctly render bodyparts position |
internal_organs | Lazy list of internal organs of this bodypart. |
limb_body_flag | Used to calculate protection from armor |
limb_zone | External body part zone |
mob_icon | Default icon used by dismembered bodypart |
model | Bodypart model, used for robotic parts visualization |
open | Whether bodypart has an open incision from surgery |
parent | Bodypart parent |
perma_injury | Damage equal to brute damage after bodypart breaks. Used to calculate bodypart overall damage |
properly_attached | If the organ has been properly attached or not. Limbs on mobs and robotic ones |
s_col | Visual bodypart color override. If this is instantiated, it should be a hex value |
s_tone | Visual bodypart color tone |
sabotaged | Whether prosthetic bodypart is emagged, it will detonate when it fails |
splinted_count | Time when this organ was last splinted |
Procs | |
drop_organs | Empties the bodypart from its organs and other things inside it. |
droplimb | DISMEMBERMENT |
external_receive_damage | DAMAGE PROCS |
process | PROCESSING & UPDATING |
release_restraints | HELPERS |
Var Details
amputation_point 
Descriptive string used in amputation
bleeding_mod 
Bleeding mod
bleedsuppress 
How many bleeding stopped
bleedsuppress_timer 
Timer for stop blood loss
broken_description 
Fluff fracture description
brute_dam 
Curent bodypart brute damage
brute_mod 
Brute modifier allpied to received damage
burn_dam 
Curent bodypart burn damage
burn_mod 
Burn modifier allpied to received damage
can_grasp 
Whether this bodypart can be used for grasping
cannot_amputate 
Whether bodypart can be amputated
cannot_break 
Whether bodypart can be broken
cannot_internal_bleed 
Whether bodypart can have internal bleeding
child_icons 
Lazy list of children bodyparts icons
children 
Lazy list of bodypart children
convertable_children 
Child bodyparts in this list will be robotized with the parent
damage_state 
String code used to apply and check bodypart visual damage
deform 
Mutated organ icons set
dismember_at_max_damage 
Whether bodypart will drop if maximum damage is reached
embedded_objects 
Lazy list of all embedded objects inside the bodypart
encased 
Whether bodypart needs to be opened with a saw to access the internal organs. Can be a string with encasing description
force_icon 
Icon override used for wings/tails
gendered_icon 
If set to TRUE
bodypart will use genderized bodypart icon if available
hidden 
Reference to item hidden in this bodypart after cavity surgery
icobase 
Default organ icons set
icon_name 
Icon state used to render bodypart
icon_position 
Bitflag for icon position (LEFT or RIGHT), used to correctly render bodyparts position
internal_organs 
Lazy list of internal organs of this bodypart.
limb_body_flag 
Used to calculate protection from armor
limb_zone 
External body part zone
mob_icon 
Default icon used by dismembered bodypart
model 
Bodypart model, used for robotic parts visualization
open 
Whether bodypart has an open incision from surgery
parent 
Bodypart parent
perma_injury 
Damage equal to brute damage after bodypart breaks. Used to calculate bodypart overall damage
properly_attached 
If the organ has been properly attached or not. Limbs on mobs and robotic ones
s_col 
Visual bodypart color override. If this is instantiated, it should be a hex value
s_tone 
Visual bodypart color tone
sabotaged 
Whether prosthetic bodypart is emagged, it will detonate when it fails
splinted_count 
Time when this organ was last splinted
Proc Details
drop_organs
Empties the bodypart from its organs and other things inside it.
droplimb
DISMEMBERMENT
external_receive_damage
DAMAGE PROCS
Applies damage to external organs.
Arguments:
- brute - Amount of brute damage to apply.
- burn - Amount of burn damage to apply.
- blocked - Percent modifier to damage. 100 = 100% less damage dealt, 50% = 50% less damage dealt.
- sharp - Sharpness of the weapon.
- used_weapon - Item that is attacking [src].
- forbidden_limbs - Mostly for local usage, required to properly spread incoming damage. Proc will ignore any owner's bodyparts in this list.
- forced - "Force" exactly the damage dealt. This means it skips any damage modifiers. Also will not apply fractures or internal bleedings.
- updating_health - If TRUE calls update health on success.
- silent - If TRUE will not spam red messages in chat.
Returns TRUE
if bodypart damage state was changed, FALSE
otherwise
process
PROCESSING & UPDATING
release_restraints
HELPERS