fire_stacks
Vars | |
firelight_ref | A weakref to the mob light emitter |
---|---|
firelight_type | Type of mob light emitter we use when on fire |
last_icon_state | Stores current fire overlay icon state, for optimisation purposes |
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
firelight_ref
A weakref to the mob light emitter
firelight_type
Type of mob light emitter we use when on fire
last_icon_state
Stores current fire overlay icon state, for optimisation purposes
on_fire
If we're on fire
Proc Details
deal_damage
Proc that handles damage dealing and all special effects
Arguments:
- delta_time
- times_fired
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:
- delta_time
- times_fired
- 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