Skip to main content

Ruins Camp

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

Overview​

ruins_camp.lua is a static layout definition for the Ruins Camp map room in Don't Starve Together. It uses the Tiled map format (version 1.1) to encode terrain tiles and static object placements (e.g., structures, items, creatures) that appear in the Ruins Camp room. This file contributes to world generation by describing how the physical environment of this specific room should be constructed.

Usage example​

This file is not used directly by modders via component instantiation. It is loaded by the world generation system when building the Ruins Camp room. Modders typically interact with it indirectly via worldgen overrides or custom room placement logic.

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 encoding
orientationstring"orthogonal"Map orientation type
widthnumber28Map width in tiles
heightnumber28Map height in tiles
tilewidthnumber16Width of each tile in pixels
tileheightnumber16Height of each tile in pixels
tilesetstable—Tileset definitions (e.g., tiles.png)
layerstable—List of layers (BG_TILES, FG_OBJECTS)

Main functions​

This file does not define or expose any functional methods. It is a pure data structure representing static room layout.

Events & listeners​

Not applicable.