Skip to main content

Sacred Barracks

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

Overview

./map/static_layouts/sacred_barracks.lua is a static layout file that defines the structural geometry and object placement for the Sacred Barracks area in DST. It uses the Tiled map format (version 1.1) and encodes map data in Lua tables. This file does not contain a component class and serves as procedural metadata rather than an ECS component. It specifies background tiles via BG_TILES and gameplay-relevant objects—including ruins, spawners, and lights—via the FG_OBJECTS group.

Usage example

This file is loaded internally by the world generation system and does not require direct instantiation. Its structure follows standard Tiled Lua exports. Modders may reference this file when designing custom map layouts or verifying object positions for custom prefabs.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version
luaversionstring"5.1"Lua version used for encoding
orientationstring"orthogonal"Map orientation type
widthnumber40Map width in tiles
heightnumber40Map height in tiles
tilewidthnumber16Width of a single tile in pixels
tileheightnumber16Height of a single tile in pixels
tilesetstablesee sourceTileset definitions (e.g., tiles.png)
layerstablesee sourceArray of layers (BG_TILES, FG_OBJECTS)

Main functions

None identified.

Events & listeners

None identified.