wound

WOUNDS
Vars | |
always_bleed_threshold | Above this amount wounds you will need to treat the wound to stop bleeding, regardless of bleed_timer |
---|---|
amount | Number of wounds of this type |
bleed_timer | Ticks of bleeding left |
clamped | Is clamped? |
current_stage | Number representing the current stage |
damage | Amount of damage this wound causes |
damage_list | Flat version of the damage value portion of stages. |
desc | Description of the wound. |
desc_list | Flat version of the description portion of stages. |
disinfected | Is disinfected? |
embedded_objects | Lazylist of |
germ_level | Amount of germs in the wound |
min_bleeding_stage | Minimum stage at which bleeding can happen. Below 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? |
scar_expiration | World.time the wound can be deleted. This is so that wounds with zero damage can scar and take some time to disappear. For flavor. |
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. |
is_treated | Checks whether the wound has been appropriately treated |
update_wound_stage | Set the wound stage based on the current damage. |
wound_damage | The amount of damage per wound |
wound_location | Returns the location of the wound for descriptions. |
Var Details
always_bleed_threshold

Above this amount wounds you will need to treat the wound to stop bleeding, regardless of bleed_timer
amount

Number of wounds of this type
bleed_timer

Ticks of bleeding left
clamped

Is clamped?
current_stage

Number representing the current stage
damage

Amount of damage this wound causes
damage_list

Flat version of the damage value portion of stages.
desc

Description of the wound.
desc_list

Flat version of the description portion of stages.
disinfected

Is disinfected?
embedded_objects

Lazylist of
germ_level

Amount of germs in the wound
min_bleeding_stage

Minimum stage at which bleeding can happen. Below 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?
scar_expiration

World.time the wound can be deleted. This is so that wounds with zero damage can scar and take some time to disappear. For flavor.
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.
is_treated
Checks whether the wound has been appropriately treated
update_wound_stage
Set the wound stage based on the current damage.
wound_damage
The amount of damage per wound
wound_location
Returns the location of the wound for descriptions.