🗃️ Levels
4 items
🗃️ Rooms
3 items
🗃️ Static Layouts
240 items
🗃️ Tasks
10 items
🗃️ Tasksets
4 items
📄️ Archive Worldgen
This module initializes and adjusts entities for the Ancient Archive worldgen pass, specifically populating lockbox dispensers with predefined products in a cyclic order.
📄️ Blockersets
Defines named collections of entity prefabs used as environmental blockers across different biomes and difficulty tiers in map generation.
📄️ Boons
Defines static layout templates for level-specific resource and item spawns (boons) used in world generation, grouped by rarity and difficulty tier.
📄️ Bunch Spawner
Spawns groups of entities (bunches) around predefined spawner positions during world generation, enforcing placement rules and spacing constraints.
📄️ Bunches
Defines static spawning rules for grouped environmental props (bunches) such as seastacks, saltstacks, and rubbles across specific tile types.
📄️ Caves Retrofit Land
Provides utility functions to retroactively inject specific biome layouts and maze structures into generated cave maps during world loading for the Return of Them and From Beyond updates.
📄️ Customise
This file is deprecated and serves only as a legacy alias that redirects to the actual customize.lua script.
📄️ Customize
Central registry and API for world generation and world settings customization options used by the sandbox menu and world configuration systems.
📄️ Extents
Provides utility functions to compute bounding boxes and minimum bounding radii for collections of nodes and polygon points.
📄️ Forest Map
Handles procedural generation of the Forest biome's terrain, topology, entities, roads, and seasonal/weather configuration for Don't Starve Together world generation.
📄️ Graphedge
Represents a bidirectional connection between two graph nodes in the world map, managing rendering, locking, and data persistence for map navigation structures.
📄️ Graphnode
Manages procedural generation logic for a Voronoi region in the world map, including entity placement, tile generation, and population using custom functions or Voronoi-based sampling.
📄️ Layout
Provides utility functions for force-directed layout of nodes in 2D space, including repulsion from walls and points.
📄️ Layouts
Defines reusable static layouts for world generation, supporting pre-defined shapes, static layouts from files, and dynamic prefab placement via area functions.
📄️ Level
Manages level configuration including task selection, set piece assignment, and world generation overrides for map generation in Don't Starve Together.
📄️ Levels
Central registry and manager for level configurations, settings presets, and world generation definitions in Don't Starve Together.
📄️ Locations
Defines and registers distinct world locations with their configuration overrides for world generation in Don't Starve Together.
📄️ Lockandkey
Provides global lookup tables for locks and keys used in world generation task sequencing.
📄️ Maptags
Provides a central registry of map-specific tags and spawner configurations used during level generation in DST's worldgen system.
📄️ Maze Layouts
Generates and caches static maze layouts for dungeon and archive environments by leveraging StaticLayout definitions.
📄️ Monkeyisland Worldgen
Generates dock systems and associated assets for monkey islands during world generation.
📄️ Network
Manages world map graph structure including nodes, edges, and child subgraphs for procedural level generation and rendering in Don't Starve Together.
📄️ Object Layout
Provides layout definition, conversion, and placement utilities for world generation, supporting static and procedural positioning of prefabs in maps.
📄️ Ocean Gen
Provides procedural generation functions for ocean tile placement, terrain smoothing, set piece placement, and entity population within ocean world regions.
📄️ Ocean Gen Config
Contains configuration parameters for procedural ocean tile generation, including depth thresholds, noise settings, and elevation mapping for ocean terrain blending.
📄️ Ocean Retrofit Island
A map-generation utility module that inserts ocean-based setpieces (moon islands, hermit islands, crab kings, waterlog biomes, monkey islands) into an existing world by validating terrain constraints and adding topology nodes.
📄️ Placement
Provides procedural positioning utilities for map nodes using various spatial distribution algorithms (random line, circular offset, circular edge) and two placement strategies (mode0, random).
📄️ Pointsofinterest
Provides a centralized registry of static map layouts used as points of interest in sandbox mode world generation.
📄️ Protected Resources
Provides a centralized registry of world-protected static layouts organized by biome and type, used for resource placement and world generation.
📄️ Resource Substitution
Provides a mapping and random selection mechanism for substituting game resources (e.g., rocks, trees, grass) with alternate variants based on predefined rules.
📄️ Retrofit Savedata
A utility module that applies worldgen retrofits to saved game data, updating legacy maps with new content and mechanics introduced in the Return of Them, Waterlogged, and other DLC updates.
📄️ Room Functions
Provides generator functions and helpers for procedural room and terrain placement in world generation.
📄️ Rooms
Manages the registration and retrieval of world room definitions for procedural map generation in Don't Starve Together.
📄️ Settings
Defines a data structure for world generation presets with metadata, overrides, and display properties used in the game's frontend and world creation system.
📄️ Stack
A utility class implementing a generic LIFO stack data structure for storing and retrieving ordered values.
📄️ Startlocations
Manages world start location configurations for the sandbox menu, supporting both built-in and mod-defined start locations.
📄️ Static Layout
Converts static Tiled map files into runtime layout data structures for level generation, including ground tile arrays and object placements with prefab resolution and property parsing.
📄️ Storygen
Generates and connects map regions, tasks, and narrative-driven room layouts using lock-and-key progression, node graphs, and setpieces for world generation in DST.
📄️ Task
Represents a procedural map generation task with room placement rules, locking/Key requirements, and special room configurations.
📄️ Tasks
Manages the registration and retrieval of level generation tasks used to define world room layouts and progression constraints.
📄️ Tasksets
Manages registration, retrieval, and listing of task group definitions for world generation across different game locations (forest, caves, lava arena, quagmire).
📄️ Terrain
Defines terrain tile restrictions for spawning in-game objects and provides access to room definitions via a deprecated lookup mechanism.
📄️ Traps
Provides static layout mappings for world tile types and sandbox mode trap configurations used in map generation.
📄️ Waterlog Worldgen
Generates waterlog terrain features and marker entities in ocean regions during world generation.