Skip to main content

62 docs tagged with "sanity"

View all tags

Alterguardian Phase4 Lunarrift

Manages the behavior, state transitions, combat mechanics, and environment interactions of the Phase 4 Lunar Rift boss in DST's Wagstaff finale.

Armor Dreadstone

A high-defense body armor piece that regenerates condition during Insanity Mode and synergizes with the Dreadstone set.

Armor Sanity

Provides protective armor and applies a sanity penalty to the wearer when damage is blocked.

Armor Voidcloth

A wearable item that grants shadow-aligned resistance, planar defense, and sets a negative sanity aura when equipped.

Atrium Overgrowth

A static environmental prop that displays incremental lore lines when examined by players wearing ancient_reader gear, while granting a large sanity aura penalty and saving/loading story progression state.

Balloonparty

A party-themed decorative balloon that grants nearby players periodic sanity recovery when active in the world, with associated confetti effects and a debuff buff that scales with party size.

Bandage Butterflywings

A consumable item that restores health and sanity when used, requiring the "walter_camp_firstaid" skill to trigger the sanity bonus.

Batbat

A consumable weapon item that deals damage on attack and drains health/sanity from valid targets on critical hits.

Beaverbadge

Renders the beaver meter UI widget with dynamic arrow animation based on the current sanity level and full moon state.

Bernie Common

Provides utility functions for evaluating Willow's sanity state and enemy proximity for Bernie AI behavior.

Berniebrain

Manages the AI behavior of Bernie the Big Bernie, including detecting when to transform, finding a leader to follow, taunting nearby sanity monsters, and switching between wandering and following states.

Book

Manages interactive reading and perusing behavior for books, including sanity effects, use consumption, and optional visual FX.

Brightmarespawner

Tracks players in Lunacy Mode and periodically spawns Brightmare Gestalt entities based on player sanity levels and population rules.

Bunnyman

A sentient pig-like creature that can follow players, wear hats, and enter a powerful "beard lord" nightmare state under certain conditions.

Chest Ghosts

A scenario script that modifies chest behavior to spawn ghosts and drain sanity when opened.

Chest Insanity

Handles the logic for spawning sanity-based trap rocks when an "insanity chest" is opened, using the chest trap framework.

Coach

Provides periodic support effects (sanity and fight buffs) to nearby players and followers when the host entity is tagged as "coaching".

Cutlichen

A consumable food item that restores health and hunger but reduces sanity, and spoils over time.

Decor Flowervase

A decorative container component that holds and displays flowers, providing light, sanity effects, and inventory interactions when properly equipped.

Deerclops Eyeball

A consumable boss loot item dropped by Deerclops that restores health, hunger, and sanity when eaten.

Driedplants Defs

Defines data for dried plant items, including healing/sanity values and spawn configurations for eating effects.

Firebug

Triggers periodic announcements and spawns a prefab when an entity's fire timer expires, optionally subject to sanity thresholds.

Flower

Represents a customizable plant entity that can transform into a rose under certain conditions and interacts with sanity, combat, and world state systems.

Flower Evil

A harvestable, sanity-affecting decorative flower that drops petals upon picking and can ignite wildfires.

Forgetmelots

A consumable vegetarian item that provides minimal sanity restoration, spoils quickly, and can be dried; also serves as a cat toy and vase decoration.

Halloweenpotion Buffs

Creates and manages buff entities that apply periodic health/sanity restoration or bravery effects when attached via the halloween potion items.

Hallucinations

Manages the spawning and tracking of hallucination entities based on player sanity, time of day, and environment lighting.

Hermitcrabtea Defs

Defines tea ingredients and their associated buffs for the Hermit Crab Teapot prefab.

Itemaffinity

Manages a priority-based sanity bonus for characters based on specific items carried in inventory.

Minotaurhorn

A consumable meat item that restores health, hunger, and reduces sanity when eaten.

Moonbutterflywings

A consumable inventory item that restores health, hunger, and sanity when eaten, but spoils quickly.

Nightlight

A deployable structure that provides shadow-light illumination and sanity benefits while consuming nightmare fuel.

Nightmaregrowth

A spawner-like entity that triggers the growth of a nightmare growth prefab, which emits strong negative sanity aura and can destroy nearby structures.

Nightmarerock

A reactive environmental obstacle that physically rises or lowers based on nearby player sanity status, used in the sanity rock mechanics.

Oceanshadowcreature

A highly specialized entity component for the Ocean Horror (Shadow Creature) that manages boat attachment, sanity-based targeting, teleportation logic, and network-aware transparency and ripple effects.

Petals Evil

A perishable, dryable, and consumable item that grants sanity loss; used as a crafting component or food source with negative effects.

Rabbitkingspear

A usable weapon item that grants sanity restoration against manrabbit targets and degrades after repeated use.

Reader

Enables an entity to read books and track bookworm status and sanity penalties.

Royal Jelly

A consumable food item that restores health, hunger, and sanity; has a moderate perish time and can be stacked.

Sanity

Manages sanity value, mode (Insanity/Lunacy), and related mechanics for an entity, including dynamic rate calculation from environmental and aura sources.

Sanity Replica

Network-replicated component that synchronizes sanity state, mode, and related properties between server and client for player entities.

Sanity Wormhole 1

Defines a static 16x16 tilemap layout containing sanity rocks and a central wormhole object for use in world generation.

Sanityaura

Computes and provides sanity-affecting aura values for an entity within a defined radius.

Sanityauraadjuster

Manages periodic adjustment of sanity aura effects by running a custom callback function on a timer.

Sanitybadge

Renders the sanity/lunacy indicator UI widget, including animations for sanity changes, rate direction, and ghost drain state.

Shadow Leech

A hostile shadow creature prefab that spawns in response to the Daywalker, tracks it via EntityTracker, and applies a sanity aura based on observer perception.

Shadowchanneler

A non-tangible boss-phase entity that spawns shadow minions and manages their behavior through a commander system, with dynamic sanity aura and transparency.

Shadowcreature

Spawns shadow creatures that attack sane players and drain sanity when targets are nearby.

Shadowcreaturespawner

Manages the spawning, tracking, and population control of shadow creatures (e.g., Crawling Horrors, Ocean Horrors, Terrorbeaks) for players based on sanity levels and game mode.

Shadowheart

An inventory item that emits periodic sound and animation cues when dropped, and halts these behaviors when held by a player.

Shadowheart Infused

A consumable item that provides a temporary sanity boost and emits a moderate sanity aura while held or carried.

Staffsanity

Modifies the rate of sanity change when used as a staff-like item to cast abilities.

Statue Enemywave

Manages the spawning and tracking of enemy waves triggered by a statue during the Maxwell Threat event, and restores player sanity upon wave completion.

Transparentonsanity

Adjusts an entity's transparency and sound volume based on the player's sanity and combat state, with optional custom logic.

Vaultrelic

A collectible decorative item that can be placed on furniture, decorated with flowers, and repaired; it provides ambient light and sanity benefits when freshly decorated.

Waveyjoneshandbrain

Controls the behavior of Wavey Jones' hand entity by selecting and performing repair-related actions on boat components based on current conditions and player sanity.

Waxwell

Defines the Waxwell character prefab, a magician-specialized player with shadow-minion management, sanity penalties, and shadow-level equipment announcements.

Wendy

Implements Wendy’s unique gameplay mechanics, including Abigail the ghostly friend, sanity aura adjustments during Sisturn events, and bonding progression.

Wickerbottom

Implements Wickerbottom's unique gameplay mechanics, including the ability to spawn shadow creatures from reading books while insane, refusal of spoiled food, and bonus book-related interactions.

Wintersfeastbuff

Applies a timed damage-healing buff that restores health, hunger, and sanity over time while reducing hunger burn rate, and supports bonus duration extension based on feast statistics.

Wormwood

Manages the bloom-based progression system for the Wormwood character, including sanity regulation from nearby plants, pet leadership, and photosynthesis-based health regeneration.

Wortox

Manages Wortox's soul-based gameplay systems, including soul collection, storage, overloading, portal hopping, and skill-triggered buffs and effects.