Skip to main content

Moonbaseone

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

Overview

This file defines the moonbaseone static map layout — a preconfigured 28x28 tile room used in the game's world generation system for DST. It contains background tile layer data (BG_TILES) and an object group layer (FG_OBJECTS) specifying placements of decorative and functional game objects (e.g., trees, rocks, creatures) using Tiled map format metadata. It is not an Entity Component System component, but rather a static data structure consumed by the world generation system.

Usage example

This file is not instantiated as a component or entity. Instead, it is referenced by the map/task system. In context, it is typically loaded and applied during static room generation via the room/task system, for example:

-- This file itself is consumed by higher-level systems (e.g., room/level builders)
-- It is included in the map/static_layouts directory and referenced in tasksets or levels.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

No public properties exist in the ECS sense — this file is a pure data module returning a table.

FieldTypeValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version target (documentation only).
orientationstring"orthogonal"Map rendering orientation.
widthnumber28Map width in tiles.
heightnumber28Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesets[1]tableTileset definition referencing the game tile atlas.
layers[1]tableBackground tile layer (BG_TILES).
layers[2]tableForeground object layer (FG_OBJECTS).

Main functions

Not applicable — this is a static data file returning a table; no executable functions are defined.

Events & listeners

Not applicable — no event system integration present in this file.