Skip to main content

81 docs tagged with "prefab"

View all tags

Abigail

Defines the Abigail prefab and related entities including retaliation attack, vex debuffs, and murder buff prefabs, with complete initialization logic, event handlers, and ghost command functions.

Bearger

Defines the Bearger and Mutated Bearger boss prefabs, configuring their components, AI, and combat behaviors.

Bearger Fur

Defines the Bearger Fur inventory item prefab, including stacking and hauntable behavior.

Bearger Fx

Defines visual effect prefabs for Bearger attack animations with self-cleanup logic.

Beargerfur Sack

Defines the Bearger Fur Sack prefab, a portable storage container that preserves perishable items.

Bee Prefab

Defines the worker and killer bee prefabs, configuring their AI, combat, and inventory behaviors.

Beefalowool

Defines the beefalo wool inventory item prefab with burning, stacking, and trading capabilities.

Beehive

Defines the Beehive prefab entity that spawns bees, handles combat interactions, and drops loot when destroyed.

Beeswax

Defines the beeswax prefab entity, including melting mechanics and inventory stacking behavior.

Bernie Active

Defines the active state prefab for Bernie, the animated teddy bear companion.

Bernie Big

Defines the active Bernie companion prefab with combat, movement, and skill tree integration for Willow's character mechanics.

Birds

Defines and instantiates bird prefabs with shared logic, including loot dropping, mutation behavior, and canary-specific gas poisoning mechanics.

Birdtrap

Spawnable trap entity that catches birds using bait, with finite uses and visual feedback for trapped bird type.

Bishop Charge

Defines projectile and visual effect prefabs for the Chess Bishop's charge attack, including deprecated and updated versions.

Blueprint Craftingset

Creates a temporary entity that, when built, spawns and distributes blueprint prefabs to the builder's inventory.

Bufferedmapaction

Classified prefab entity that handles map-based action targeting, synchronizing action requests between client and server via netvars and triggering the player controller's map screen.

Carpentry Blades

Creates a moonglass carpentry blade prefab used as an ingredient in crafting recipes at the carpentry station.

Corpse Gestalt

Defines the corpse gestalt prefab, a lunar-aligned entity that can be captured and tracked.

Critters

Defines prefab factories for creating companion critter entities with hunger, sleep, and follower behaviors.

Damagenumber

Renders a damage popup number for the local player when damage is applied, synchronized across the network.

Egg

Prefab file defining three bird egg variants (raw, cooked, rotten) with edible, perishable, fertilizer, and tradable components for inventory and world interactions.

Entityproxy

A lightweight prefab used as a network proxy for replay functionality, containing only essential transform and animation states without persistence.

Fx

Generates and returns a list of Prefab instances for client-side visual and audio effects, supporting dynamic assets, animation, tinting, sound, and custom behaviors.

Gestalt Alterguardian Projectile

Defines five projectile prefabs used by the Alterguardian boss fight, featuring flight physics, sanity-based transparency, and targeted attack behavior.

Ghost

Prefab file that registers two ghost entity types: the standard player ghost and Wendy's grave guard ghost variant, each with combat, aura, and trader components.

Global

Defines the global asset prefab that preloads all core game resources including sounds, images, shaders, animations, and fonts on game initialization.

Globalmapicon

Prefab file registering multiple global map icon entities and a factory function for creating tracked entity icons with owner-classified visibility.

Goatmilk

Spawnable inventory item prefab representing milk from a domesticated beefalo, with edible, perishable, and stackable components.

Hud

Defines the HUD prefab responsible for loading user interface assets and dependencies.

Hutch Fishbowl

Manages the lifecycle, state, and respawn behavior of a Hutch-following item in the game world, including inventory interaction and persistent state across sessions.

Lighterfire Common

Provides a reusable factory function to create fire-based lighting prefabs with networked light range control and sound emission.

Lightningrod

Spawnable structure entity that attracts lightning strikes, stores electrical charge for up to 3 days, and can be used as a battery component by other devices.

Lunarthrall Plant Gestalt

Defines the lunarthrall_plant_gestalt prefab entity with AI brain, movement, and gestalt capture mechanics.

Moon Altar Link

Coordinates the activation sequence of the Moon Altar device by linking three altars, clearing surrounding area, and triggering moonstorm events.

Moonrockseed

Celestial orb prefab that functions as a portable prototyper with light effects, inventory tracking, and minimap icon integration.

Oceanwhirlbigportal

Defines the ocean whirlpool migration portal (entry) and the exit pool prefab, handling world migration, visual effects, wave blocking, and loot distribution.

Oceanwhirlportal

Spawnable ocean teleportation structure that detects boats within range and teleports them to a paired exit portal, applying wake effects and watery protection.

Onemanband

Wearable musical armor prefab that provides dapperness bonuses, summons follower minions, consumes fuel over time, and can be haunted to activate follower effects.

Phonograph

Defines the Phonograph prefab, a decorative machine that plays music records and tends nearby farm plants.

Pigelite

Creates and configures elite pig warrior prefabs with combat, squad, and sleeper functionality for DST's boss encounters.

Pigtorch Flame

A visual and audio FX entity representing a pigtorch flame, using layered animation levels and integrated fire effects.

Prefablist

A global array containing all registered prefab names available in Don't Starve Together.

Prefabs

Defines core data structures for registering and managing game prefabs and their associated assets.

Prefabutil

Helper utilities for constructingplacer prefabs and deployable item prefabs in DST.

Quagmire Eventstages

Defines and creates stage-related prefabs for the Quagmire event by dynamically generating instances from a central event data registry.

Quagmire Fish

Creates quagmire-region fish prefabs with raw and cooked variants, including animation, inventory physics, and network support for Don't Starve Together.

Quagmire Foods

Generates and registers Quagmire mod food prefabs with dynamic asset loading and networked dish customization properties.

Quagmire Traders

Defines two distinct NPC trader prefabs (Merm Trader 1 and 2) for the Quagmire biome with shared behavior and inventory mappings.

Sand Spike

Creates animated ground spikes and blocks that emerge from the sand, deal damage, destroy workable structures, pick plants, and transform into glass when ignited.

Shadow Battleaxe

A levelable shadow weapon prefab with life steal, talking AI, and visual FX systems that progresses through epic creature kills.

Shadow Harvester Trail

Visual effect prefab that generates a persistent shadowy trail animation around an entity, managed via client-side particle pooling.

Shadow Heart Vein

Harvestable shadow biome resource prefab that drops weighted loot based on map topology when chopped down, with visual variation and gem symbol overrides.

Shadowheart Infused

Spawnable item entity that functions as a socketable trinket with sanity aura, drowning detection, and client-side shadow visual effects.

Spoiledfood

Prefab file defining three spoiled food entity variants (spoiled_food, spoiled_fish, spoiled_fish_small) with fertilizer, edible, and rain-disappear mechanics.

Staff

Defines multiple magical staff prefabs with unique abilities including fire, ice, teleportation, deconstruction, and light creation.

Tillweedsalve

Defines two prefabs: the tillweed salve inventory item that heals users, and the tillweed salve buff debuff that applies healing over time.

Torchfire Common

Provides utilities for creating and managing torchlight entities with animated fire effects, networked light range controls, and parented light synchronization.

Tree Rocks

Defines the tree_rock prefab family, which functions as a growable tree that transforms into a mineable boulder upon being chopped or burnt.

W Radio

Spawnable furniture entity that plays music, tends nearby farm plants, and supports skin customization with modular part variations.

Wagdrone Flying

Spawnable flying mech entity with targeting marker effects, hackable loot drops, and stategraph-driven animation states.

Wagdrone Projectile

Defines projectile prefab factories for wagdrone and WX-78 zap drone electrical attacks with area damage and electrocute effects.

Warg

Factory function for creating multiple warg-type prefabs with varying properties, behaviors, and components depending on variant (normal, clay, gingerbread, or mutated).

Willow Ember Common

Utility module providing helper functions for Willow's ember mechanics and fire burst targeting.

Wormwood Lightflier

Prefab definition for Wormwood's Lightflier pet entity with formation movement and transformation mechanics.

Wx78 Abilitycooldown

Invisible networked prefab entity that tracks WX-78 player ability cooldown state via netvars and wall update ticks.

Wx78 Backupbody

WX-78 character backup body prefab that stores inventory, upgrade modules, and skins for body transfer and resurrection mechanics.

Wx78 Classified

Classified data container prefab for WX-78 character that manages upgrade modules, backup bodies, shield state, and energy levels with network replication.

Wx78 Drone Delivery

Spawnable delivery drone structure for WX-78 that transports items between map locations, with flying animations, shadow effects, and skill-gated usage.

Wx78 Drone Scout

WX-78 character skill prefab that creates a scout drone entity for map exploration and area revelation, with delivery mechanics and skin support.

Wx78 Drone Zap

Prefab file defining the WX-78 zap drone entity and its remote controller item, enabling skill-based ranged combat with camera focus control and battery charging.

Wx78 Foodbrick

WX-78 character-specific food item that transforms between wet and dry states, changing nutritional values and gaining fertilizer properties when wet.

Wx78 Gestalttrapper

Spawnable inventory item prefab for WX-78 that functions as a socketable gestalt trapper component with low socket quality.

Wx78 Heartveinspawner

Server-side prefab that periodically spawns shadow_heart_vein entities around WX-78 players using the shadow heart skill mechanic.

Wx78 Inventorycontainer

WX-78 character-specific inventory container prefab that provides a collapsible storage unit with power state toggling and rummage-style picking behavior.

Wx78 Lightbeam

Prefab entity that creates a dynamic light beam effect attached to WX-78 character, with networked rotation and radius properties, client-side prediction for smooth movement.

Wx78 Mimicspawner

Server-only invisible spawner entity that periodically generates Item Mimic entities for WX-78's Mimic Heart skill, with density control and cleanup on removal.

Wx78 Moduleremover

Prefab for the WX-78 Module Remover item, allowing removal of installed system modules.

Wx78 Modules

Prefab factory file that generates WX-78 upgrade module entities with inventory, finite uses, and upgrademodule components for each module definition.

Wx78 Possessedbody

Prefab for WX-78's possessed body form, a gestalt entity that links to a player owner and supports upgrade modules, planar state, and shield mechanics.

Wx78 Scanner

Defines the WX78 scanner item, deployed scanner entity, succeeded state, and FX prefabs for scanning creatures and unlocking modules.

Wx78 Shadow Heart Debuff

Server-only prefab entity that applies a timed debuff to WX-78 players via the skills system, automatically expiring after a configured duration or when the target dies.