Skip to main content

Long

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

Overview

This file defines a static room layout named long used in the game's cave world generation system. It specifies the visual and structural layout of a residential-style cave room, including background tile placement and foreground object spawners. It is not a component in the ECS sense but a data structure (a Lua table) describing a Tiled map format used by DST's procedural generation system.

Usage example

This file is used internally by DST's world generation system. It is not instantiated directly in mod code. The layout is applied when a task set includes this room type in a generated world.

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 target.
orientationstring"orthogonal"Map orientation type.
widthnumber32Map width in tiles.
heightnumber32Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesetstable(see source)Array of tileset definitions (e.g., path to tile texture).
layerstable(see source)Array of layer objects: BG_TILES (tile layer) and FG_OBJECTS (object group).

Main functions

Not applicable. This is a static data definition, not a behavior-driven component.

Events & listeners

Not applicable. This file contains no runtime logic or event handling.