Skip to main content

Three

Based on game build 714014 | Last updated: 2026-03-03

Overview​

This file defines a static room layout used in the game’s world generation system for Don't Starve Together. Specifically, it corresponds to the pit_room_armoury_two room type. It encodes a 32×32 tile grid (BG_TILES layer) and an object layer (FG_OBJECTS) containing entity spawners for key dungeon elements, such as statues and nightmare knight/bishop variants. The data is in Tiled Map Editor format and is consumed by the game’s map generation system to place prefabs and tiles at runtime.

Usage example​

This file is not a component and is not instantiated directly by modders. Instead, it is referenced internally by the world generation system as part of the map/static_layouts/ directory. It is loaded as a Lua table when a room of this type is selected during world generation.

-- Not applicable: this is static data, not a component

Dependencies & tags​

Components used: None identified
Tags: None identified

Properties​

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version
luaversionstring"5.1"Lua version used
orientationstring"orthogonal"Tile orientation type
widthnumber32Map width in tiles
heightnumber32Map height in tiles
tilewidthnumber16Width of each tile in pixels
tileheightnumber16Height of each tile in pixels
tilesetstablesee sourceContains tileset definition (one tileset, 64×64 px tiles)
layerstablesee sourceContains two layers: BG_TILES (tile data) and FG_OBJECTS (object spawners)

Main functions​

Not applicable — this file returns static data and defines no executable functions.

Events & listeners​

Not applicable — this file provides no runtime logic, event handling, or listeners.