/datum/status_effect/fire_handler/fire_stacks
Vars | |
last_icon_state | Stores current fire overlay icon state, for optimisation purposes |
---|---|
moblight | Reference to the mob light emitter itself |
moblight_type | Type of mob light emitter we use when on fire |
on_fire | If we're on fire |
Procs | |
deal_damage | Proc that handles damage dealing and all special effects |
extinguish | Handles mob extinguishing, should be the only way to set on_fire to FALSE |
harm_human | Used to deal damage to humans and count their protection. |
ignite | Handles mob ignition, should be the only way to set on_fire to TRUE |
Var Details
last_icon_state
Stores current fire overlay icon state, for optimisation purposes
moblight
Reference to the mob light emitter itself
moblight_type
Type of mob light emitter we use when on fire
on_fire
If we're on fire
Proc Details
deal_damage
Proc that handles damage dealing and all special effects
Arguments:
- seconds_per_tick
extinguish
Handles mob extinguishing, should be the only way to set on_fire to FALSE
harm_human
Used to deal damage to humans and count their protection.
Arguments:
- seconds_per_tick
- no_protection: When set to TRUE, fire will ignore any possible fire protection
ignite
Handles mob ignition, should be the only way to set on_fire to TRUE
Arguments:
- silent: When set to TRUE, no message is displayed