Skip to main content

Long

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

Overview

This file defines the static layout for the "Long" room variant used in the Pit Room Armoury level generation. It is a Tiled map export in Lua format, containing tile layer data and an object group with spawner entities. The layout is consumed by the game’s world generation system to procedurally place this room in the caves.

Usage example

This file is not used directly in mod code — it is loaded automatically by the map system during world generation. However, modders may reference its structure when creating custom static layouts:

-- Not applicable: This is a data file for the level generator, not a moddable 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 target for map export.
orientationstring"orthogonal"Tile orientation type.
widthnumber32Room width in tiles.
heightnumber32Room height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesets[1].imagestring"../../../../../../tools/tiled/dont_starve/tiles.png"Path to tileset image.
layers[1].dataarray1024 integersTile IDs for the BG_TILES layer (row-major).
layers[2].objectsarray2 objectsSpawner positions for FG_OBJECTS layer.

Main functions

Not applicable

Events & listeners

Not applicable