Skip to main content

Long

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

Overview

This file contains the static map layout definition for a long residential hallway room in DST's world generation system. It uses Tiled JSON-compatible format (stored as Lua table) to specify tile positions for background tiles (BG_TILES) and references a tileset image for rendering. It is not an Entity Component System (ECS) component, but rather a static asset used by the world generation system to construct rooms.

Usage example

This file is not instantiated or used directly in mod code. It is loaded by the worldgen system via static_layouts.lua and referenced in room/task definitions.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version
luaversionstring"5.1"Lua version compatibility
orientationstring"orthogonal"Map projection type
widthnumber32Room width in tiles
heightnumber32Room height in tiles
tilewidthnumber16Width of each tile in pixels
tileheightnumber16Height of each tile in pixels
tilesetstablesee sourceTileset configuration referencing tiles.png
layerstablesee sourceLayer definitions (BG_TILES and FG_OBJECTS)

Main functions

Not applicable — this file returns static map data only.

Events & listeners

Not applicable — this file contains no event logic or listeners.