lube_walking
Makes a mob cause a turf to get wet as they walk, requires lying down. Has configurable args for wet flags, time, and resting requirements.
Vars | |
min_time_wet_for | The minimum amount of time any tile we wet will be wet for. |
---|---|
require_resting | Boolean on whether the mob has to be 'resting' for the element to properly affect tiles. Used to exclude simple animals that you don't expect to lie down. |
wet_flags | The wet flags that we make each tile we are affecting slippery with. |
Procs | |
on_resting_changed | Called when a living mob changes their resting state with require_resting on, giving them their movement speed and ability. |
Var Details
min_time_wet_for
The minimum amount of time any tile we wet will be wet for.
require_resting
Boolean on whether the mob has to be 'resting' for the element to properly affect tiles. Used to exclude simple animals that you don't expect to lie down.
wet_flags
The wet flags that we make each tile we are affecting slippery with.
Proc Details
on_resting_changed
Called when a living mob changes their resting state with require_resting on, giving them their movement speed and ability.