Skip to main content

14 docs tagged with "sleep"

View all tags

Bedroll

Defines the straw and furry bedroll prefabs for sleeping and temperature regulation.

Fruitdragon

Manages the behavior, state (ripe/unripe), sleep cycle, combat interactions, and thermoregulatory home-finding logic for the Fruitdragon entity.

Glommer

A flying lunar-aligned companion entity that follows the player, enters sleep cycles, periodically spawns fuel items, and adjusts sanity.

Grassgator

Manages the behavior, stats, movement, and state persistence of the Grassgator entity in DST.

Krampus

A hostile boss entity with combat, inventory, and sleep cycle behaviors, featuring loot dropping and dynamic animation states based on its sack status.

Lunar Grazer

Manages the lunar-grazing entity’s cloud-based sleep induction, combat behavior, debris mechanics, and Gestalt integration in DST.

Mandrake Inactive

Represents an inactive mandrake plant prefab that becomes edible and triggers sleep effects when eaten raw or cooked.

Molebat

A cave-dwelling bat prefab that engages in combat, shares targets with nearby allies, naps periodically, and manages a home burrow using multiple components.

Moon Mushroom

Defines theprefab definitions and behaviors for raw and cooked Moon Mushroom items, including eating effects, cooking compatibility, perishability, and fuel use.

Sgwormwood Lightflier

Defines the state machine logic for the Lightflier creature, handling movement, combat, sleep, and status effects.

Sleeper

Manages sleep/wake cycles for entities based on environmental conditions, sleepiness accumulation, and custom test functions.

Sleepingbag

Manages sleep state and associated gameplay effects for entities interacting with a sleeping bag (e.g., healing, hunger loss, sanity restoration).

Sleepingbaguser

Manages a player's sleeping behavior and associated stat regeneration while using a sleeping bag.

Vanish On Sleep

Automatically removes an entity after 10 seconds of sleep, optionally invoking a custom vanish callback.