Skip to main content

One

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

Overview

This file defines a static room layout (atrium_hallway_two/one.lua) for use in DST's map generation system. It is a Tiled-formatted JSON-like Lua table specifying a 32x32 grid of tiles and a set of object placements (e.g., sanity rocks, fences, chests) used to construct a specific section of the Atrium area in the Caves. It contains no executable logic—its purpose is to serve as static geometry data consumed by the world generation system.

Usage example

This file is not instantiated as a component or entity at runtime. It is referenced internally by the map generation system via map/levels/caves.lua and room templates, and loaded as data during world generation.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled export format version.
luaversionstring"5.1"Lua version target.
orientationstring"orthogonal"Tilemap orientation.
widthnumber32Map width in tiles.
heightnumber32Map height in tiles.
tilewidthnumber16Tile width in pixels.
tileheightnumber16Tile height in pixels.
propertiestable{}Room-level properties (empty here).
tilesetsarray{...}Tileset definitions (one entry referencing tiles.png).
layersarray{...}Layer definitions: BG_TILES (tile layer) and FG_OBJECTS (object layer with spawn points).

Main functions

Not applicable. This file returns a static data table and contains no functions.

Events & listeners

Not applicable.