Skip to main content

Moontrees 1

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

Overview

This file defines a static map layout for the Moon Tree region in DST using the Tiled map format. It is not a component attached to an entity but rather a configuration file used by the world generation system. The layout contains a background tile layer (BG_TILES) and an object group (FG_OBJECTS) marking areas where moon trees should be placed and zones designated for moon tree petal worldgen.

Usage example

This file is loaded by the world generation system automatically during map loading. Modders should not directly instantiate or modify this file at runtime. To reference or extend this layout in a custom map, use the map/static_layouts/ convention and reference its filename in task or worldgen scripts.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map file format version.
luaversionstring"5.1"Lua version compatibility.
orientationstring"orthogonal"Map rendering orientation.
widthnumber5Map width in tiles.
heightnumber5Map height in tiles.
tilewidthnumber64Width of each tile in pixels.
tileheightnumber64Height of each tile in pixels.
tilesetstable(...)Array of tileset definitions (e.g., ground tiles).
layerstable(...)Array of map layers: BG_TILES (tile layer) and FG_OBJECTS (object group).

Main functions

Not applicable — this file is a static data structure returned by the module, not a component with functional methods.

Events & listeners

Not applicable.