wound
WOUNDS
Vars | |
amount | Number of wounds of this type |
---|---|
bleed_threshold | Above this amount wounds you will need to treat the wound to stop bleeding, regardless of bleed_timer |
bleed_timer | Ticks of bleeding left |
clamped | Is clamped? |
current_stage | Number representing the current stage |
damage | Amount of damage this wound causes |
desc | Description of the wound. |
disinfected | Is disinfected? |
germ_level | Amount of germs in the wound |
max_bleeding_stage | Maximum stage at which bleeding should still happen. Beyond this stage bleeding is prevented. |
min_damage | Amount of damage the current wound type requires(less means we need to apply the next healing stage) |
parent | The bodypart this wound is on |
salved | Is salved? |
stages | stages such as "cut", "deep cut", etc. |
wound_type | String (One of wound_type_* ). The wound's injury type. |
Procs | |
bleeding | Returns if the wound is currently bleeding. |
init_stage | Returns 1 if there's a next stage, 0 otherwise |
is_treated | Checks whether the wound has been appropriately treated |
wound_damage | The amount of damage per wound |
Var Details
amount
Number of wounds of this type
bleed_threshold
Above this amount wounds you will need to treat the wound to stop bleeding, regardless of bleed_timer
bleed_timer
Ticks of bleeding left
clamped
Is clamped?
current_stage
Number representing the current stage
damage
Amount of damage this wound causes
desc
Description of the wound.
disinfected
Is disinfected?
germ_level
Amount of germs in the wound
max_bleeding_stage
Maximum stage at which bleeding should still happen. Beyond this stage bleeding is prevented.
min_damage
Amount of damage the current wound type requires(less means we need to apply the next healing stage)
parent
The bodypart this wound is on
salved
Is salved?
stages
stages such as "cut", "deep cut", etc.
wound_type
String (One of wound_type_*
). The wound's injury type.
Proc Details
bleeding
Returns if the wound is currently bleeding.
init_stage
Returns 1 if there's a next stage, 0 otherwise
is_treated
Checks whether the wound has been appropriately treated
wound_damage
The amount of damage per wound