Skip to main content

Two

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

Overview​

This file defines a static tilemap layout (two.lua) used for generating a residential hallway room in the game world. It is part of DST's map generation system and specifies background tile placement via a hardcoded grid. The layout is 32×32 tiles, uses orthogonal orientation, and references a shared tileset image (tiles.png) with 64×64 tiles. It contains no object layer data (FG_OBJECTS is present but empty) and does not define any game logic, components, or behavioral code.

Usage example​

Not applicable. This is a data file for world generation and is loaded by the engine’s room placement system—not directly instantiated or used in mod Lua scripts.

Dependencies & tags​

Components used: None identified
Tags: None identified

Properties​

PropertyTypeDefault ValueDescription
versionstring"1.1"Map format version (Tiled JSON standard).
luaversionstring"5.1"Lua version compatibility marker.
orientationstring"orthogonal"Tilemap projection type.
widthnumber32Room width in tiles.
heightnumber32Room height in tiles.
tilewidthnumber16Logical tile width (pixels per tile in DST coordinate space).
tileheightnumber16Logical tile height.
propertiestable{}Room-level properties (unused in this file).
tilesetstable—Array of tileset definitions; references shared tiles.png.
layerstable—Array of layers (BG_TILES with data, empty FG_OBJECTS).

Main functions​

Not applicable.

Events & listeners​

Not applicable.