/tg/ Station 13 - Modules - TypesVar Details - Proc Details

sleeping

Vars

voluntaryIf set to TRUE, the affected mob can resist to wake up.

Procs

on_owner_insomniacIf the mob is sleeping and gain the TRAIT_SLEEPIMMUNE we remove the TRAIT_KNOCKEDOUT and stop the tick() from happening
on_owner_sleepyIf the mob has the TRAIT_SLEEPIMMUNE but somehow looses it we make him sleep and restart the tick()

Var Details

voluntary

If set to TRUE, the affected mob can resist to wake up.

Proc Details

on_owner_insomniac

If the mob is sleeping and gain the TRAIT_SLEEPIMMUNE we remove the TRAIT_KNOCKEDOUT and stop the tick() from happening

on_owner_sleepy

If the mob has the TRAIT_SLEEPIMMUNE but somehow looses it we make him sleep and restart the tick()