Sleeper
Manages sleep/wake cycles for entities based on environmental conditions, sleepiness accumulation, and custom test functions.
Manages sleep/wake cycles for entities based on environmental conditions, sleepiness accumulation, and custom test functions.
Manages sleep state and associated gameplay effects for entities interacting with a sleeping bag (e.g., healing, hunger loss, sanity restoration).
Manages a player's sleeping behavior and associated stat regeneration while using a sleeping bag.
Automatically removes an entity after 10 seconds of sleep, optionally invoking a custom vanish callback.