Skip to main content

29 docs tagged with "prefabs"

View all tags

Armor Lavaarena

Defines and registers multiple armor prefabs for the Lava Arena event with specific builds, tags, and footstep sounds.

Beefalo

This component initializes beefalo and beefalo_carry prefabs with assets, loot tables, and helper functions for managing state including domestication, riding, shaving, carrat interactions, bell ownership, mood visualization, combat retargeting, and shadow poop logic with save/load support.

Carnival Food

Generates a set of carnival-themed food prefabs with configurable nutritional values, perishability, and floating behavior.

Explode Small

Creates a non-persistent visual and audio effect for small explosions and related actions.

Grotto Pool Big

Creates and manages a large grotto pool entity with visual, lighting, and child object placement functionality.

Hats

The hats component defines and manages wearable headgear prefabs in Don't Starve Together, providing equip/unequip logic, component integration (armor, fueled, waterproofer, etc.), and hat-specific behaviors like light control, pet followers, and skill-attuned mechanics.

Hermithouse Laundry

Factory function that generates prefabs for laundry items used in the Hermithouse environment.

Lantern Posts Defs

Defines configuration structures for lantern post prefabs, including lighting, sound, and behavior parameters.

Lavaarena Creature Spawn Fx

Creates visual and audio effects for lava arena creature spawning, including teleport smoke and spark particles, with instance-limited audio volume scaling and server/client separation.

Lavaarena Portal

Defines the prefabs for the Lava Arena portal structure, including its static mesh, keyhole, and activation effect.

Mandrake Inactive

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

Monkeyisland Retrofitsmall 02

Static map layout configuration for a monkey island area in DST, defining background tiles, objects, and structural elements via Tiled JSON.

Moonglass Stalactites

Generates three prefabs for non-blocking moonglass stalactite decorative entities used in world environments.

Pigguards

Defines a Tiled map layout for pig guard enclosures, specifying background tiles and object placements for walls and pig torches.

Prefablist

A static array containing the string names of all registered prefab entities available in the game build.

Prefabskin

This component defines initialization and cleanup functions for applying and removing skins on various prefabs including structures, items, weapons, armor, hats, and pets, managing animation overrides, visual effects, sound effects, component states, and event listeners, with a factory function to register skin prefabs.

Prefabskins

Defines global tables mapping prefab names to skin identifiers, listing non-selectable skins, and creating an inverted lookup table for skin data in Don't Starve Together.

Prefabswaps

Manages configurable prefab substitutions used during world generation, supporting primary/non-primary variants, location-based exclusions, and customization-controlled prefabs.

Quagmire Oldstructures

Defines prefabs for Quagmire-era decorative and structural props (e.g., rubble, carriage, clocktower) used in the old structures theme.

Quagmire Plantables

Definesprefabs and logic for Quagmire crops, including seeds, planted stages, leaves, soil visuals, raw products, and cooked products.

Rocks

Defines prefabs for various rock types in the game, each with unique mining behavior, loot tables, and visual appearances.

Skilltree Wormwood

Defines the complete skill tree configuration and data structure for the Wormwood character in Don't Starve Together.

Skinprefabs

This file defines and registers cosmetic skin prefab configurations for items, structures, pets, and characters using CreatePrefabSkin calls with initialization callbacks.

Spices

Defines and configures spice prefabs for use as stackable, floatable inventory items.

Wagstaff Tools

Creates lightweight, eroding tool prefabs with toggleable lighting, used for special characters in DST.

Wereitems

Defines prefabs for were-beast-specific food items (beaver, moose, goose) that behave as hazardous, meat-based consumables with cursed effects.

Winona Holoitems

Creates and manages networked holographic placeholder prefabs for Winona's holographic items, handling visual states, lifecycle, and interaction with inventory components.

Yotd Boats

Defines the data and logic for the Year of the Dragon Boat (YOTD) prefabs in DST, including the boat body, deployable kits, item packs, and AI shadowboat variants.

Yotr Food

Defines four configurable food prefabs (carrot roll, moon cake, Moon Jelly, and dango) with custom nutritional and perishability values for Don't Starve Together.