Skip to main content

Fissures 1

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

Overview

This file (fissures_1.lua) is a static map layout definition used by the DST world generation system. It specifies a 3x3 tile grid (width = 3, height = 3, tilewidth = 64, tileheight = 64) with an orthogonal orientation and includes background tiles (BG_TILES) and foreground objects (FG_OBJECTS). The foreground objects section contains three instances of moon_fissure type placed at specific coordinates relative to the layout grid. This file is consumed by the map generation pipeline (likely via map/static_layouts/ loader) to embed fissure entities into the game world as part of pre-defined environmental layouts.

Note: This is a data-only layout definition, not a Lua component in the Entity Component System sense. It contains no logic, no constructors, no methods, and no component behavior — it is a JSON-compatible table structure used for level design.

Usage example

This file is loaded automatically by the world generation system and not instantiated manually. As such, it does not have typical runtime usage. However, a conceptual usage in world generation might look like:

-- This is pseudo-code illustrating how such files are typically consumed:
local layout = require("map/static_layouts/fissures_1")
-- The engine processes layout.layers objects to spawn prefabs (e.g., moon_fissure)
-- based on the 'type' field in objectgroup objects.

Dependencies & tags

Components used: None — this file contains no runtime code or component logic.
Tags: None — this file does not manipulate tags, components, or entities directly.

Properties

There are no instance properties or runtime variables, as this is a static data file exported from Tiled Map Editor.

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled file format version
luaversionstring"5.1"Target Lua version (unused)
orientationstring"orthogonal"Map orientation type
widthnumber3Width in tiles
heightnumber3Height in tiles
tilewidthnumber64Width of each tile in pixels
tileheightnumber64Height of each tile in pixels
propertiestable{}Global map properties (empty here)
tilesetsarray...Tileset definitions used in the map
layersarray...Layer definitions (tile and object layers)

Main functions

No functions are defined in this file. It is a pure data table.

Events & listeners

No events or listeners are defined. This file is consumed at load time and does not interact with the game's event system.