Skip to main content

Moonaltarrockidol

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

Overview

This file is a Tiled JSON-style static layout definition used in DST to place a specific decorative object — the moon altar rock idol — within a predefined world region. It is not an ECS component but a static data structure used during world generation to instantiate map assets. It specifies tile layer configurations and object placement metadata, including type identification for the engine to correctly spawn the referenced entity (moon_altar_rock_idol).

Usage example

This file is not directly instantiated by modders. It is loaded by the world generation system (e.g., via static_layouts loader) and applied to rooms or prefabs during world build. Example integration in worldgen context (not modder-facing usage):

-- Internally invoked by static layout loader
local layout = require "map/static_layouts/moonaltarrockidol"
-- layout.objects[1].type == "moon_altar_rock_idol"
-- layout.layers[1].data[1] == 34 -- tile ID for background

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled data format version.
luaversionstring"5.1"Lua version compatibility tag (likely legacy).
orientationstring"orthogonal"Tilemap orientation type.
widthnumber2Layout width in tiles.
heightnumber2Layout height in tiles.
tilewidthnumber64Width of each tile in pixels.
tileheightnumber64Height of each tile in pixels.
tilesetstable{{...}}Tileset reference data (see ground tileset).
layerstable{{...}, {...}}List of layers: background tiles (BG_TILES) and object placements (FG_OBJECTS).
propertiestable{}Empty root-level properties.

Main functions

Not applicable.

Events & listeners

Not applicable.