Skip to main content

One

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

Overview

This file defines a static room layout for the game's world generation system. It is a Tiled map export in Lua table format, used to embed fixed floor/ceiling tile patterns and object placements within generated rooms. It contains no logic code, no components, and no runtime behavior — it serves purely as data for the map-generation pipeline. It does not interact with entities, components, or game systems at runtime.

Usage example

-- This file is loaded by the world generation system as a data table.
-- No direct usage in mod code is intended or required.
-- Example (internal usage only):
-- local room_data = require "map/static_layouts/rooms/room/one"
-- -- room_data contains map properties (e.g., width, height, layers)

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version
luaversionstring"5.1"Lua version targeted
orientationstring"orthogonal"Tilemap orientation
widthnumber32Room width in tiles
heightnumber32Room height in tiles
tilewidthnumber16Width of each tile in pixels
tileheightnumber16Height of each tile in pixels
propertiestable{}Room-level metadata properties (unused)
tilesetsarray{{...}}Array of tileset definitions; contains one tileset named "tiles"
layersarray{{...}}Array of layers; contains "BG_TILES" (tile layer) and "FG_OBJECTS" (object group)

Main functions

Not applicable — this file exports only data, not functions.

Events & listeners

Not applicable