Skip to main content

Four

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

Overview

This file provides static tilemap data for a specific room layout (four.lua) used in the Pit Room Armoury of Don't Starve Together. It conforms to the Tiled Map Editor format (version 1.1) and describes background tile layers (BG_TILES) and foreground object placements (FG_OBJECTS). It is consumed by the world generation system to procedurally build in-game environments.

Usage example

This file is not instantiated as a component; instead, it is loaded and processed by the world generation system during map construction. No direct modder usage is required.

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 for embedded scripts (if any)
orientationstring"orthogonal"Map orientation type
widthnumber32Map width in tiles
heightnumber32Map height in tiles
tilewidthnumber16Width of each tile in pixels
tileheightnumber16Height of each tile in pixels
tilesetstableList of tileset definitions
layerstableLayer definitions (tile layer + object group)

Main functions

None identified — this is a static data file.

Events & listeners

None identified — this file does not define an ECS component.