Skip to main content

One

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

Overview

This file provides the static map layout for the room_armoury_two room. It uses the Tiled Map Editor (.tmx) data format exported as Lua, specifying tile layers, object spawners, and room metadata (e.g., size, orientation). The layout includes:

  • A BG_TILES tile layer defining floor decoration patterns via tile IDs.
  • An FG_OBJECTS object group defining spawn points for decorative or interactive in-game entities like chessjunk_spawner, knight_nightmare_spawner, and others.

It is part of the world generation system's room templates and is consumed by map/room loaders during procedural world generation.

Usage example

This file is not used directly by modders. It is loaded automatically by the room generation system when constructing instances of room_armoury_two during world generation:

-- Internally referenced as part of room generation:
-- map/tasksets/room_armoury_two.lua likely loads this file
-- Example conceptual usage (not actual modder-facing API):
local room_data = require("map/static_layouts/rooms/room_armoury_two/one")
-- room_data.layers[1] → BG_TILES
-- room_data.layers[2] → FG_OBJECTS

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version
luaversionstring"5.1"Lua version targeted by 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].namestring"tiles"Name of the tileset used
layers[1].namestring"BG_TILES"Name of background tile layer
layers[2].namestring"FG_OBJECTS"Name of foreground object layer
layers[2].objects[].typestringe.g., "knight_nightmare_spawner"Spawn point type identifiers

Main functions

Not applicable — this file is a pure data structure and exports no functions.

Events & listeners

None identified