Skip to main content

Long

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

Overview

This file defines the static layout data for the room_armoury_two map room using the Tiled Map Editor format. It specifies a 32×32 tile grid with orthogonal orientation, a background tile layer (BG_TILES), and an object layer (FG_OBJECTS) containing gameplay-relevant entities like nightmare lights and spawners for chess pieces and nightmare rooks. It is used to procedurally place room content during world generation.

Usage example

This file is not intended for direct instantiation by modders; it is consumed by the world generation system. The returned table conforms to Tiled JSON-style layout specifications.

-- Used internally by DST's map generation system (e.g., via `map/archive_worldgen.lua`)
-- Example of how the system loads this:
local layout = require("map/static_layouts/rooms/room_armoury_two/long")
-- layout.width = 32, layout.height = 32, etc.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled version used to export the map.
luaversionstring"5.1"Lua version expected for data parsing.
orientationstring"orthogonal"Map orientation type.
widthnumber32Room width in tiles.
heightnumber32Room height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesetstableSee sourceTileset definitions, referencing external image assets.
layerstableSee sourceArray of layer objects (BG_TILES, FG_OBJECTS).

Main functions

None identified — this is a data-only module returning static configuration.

Events & listeners

None identified — this module does not participate in event handling.