Skip to main content

Military Entrance

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

Overview

This file defines a static map layout in Tiled JSON-like format for a military-themed entrance zone. It specifies tile layer data (BG_TILES) and an object group (FG_OBJECTS) containing placement markers for world elements like ruins, spawners, and cave hole areas. It is not an ECS component but a procedural map generation asset used during worldgen to position architectural and environmental features.

Usage example

This file is not intended for direct instantiation by modders. It is loaded automatically by the worldgen system when a map layer references it as a static layout. Example internal use (not for modder-facing API):

-- Not applicable: this is a data file used by the worldgen task system.
-- It is referenced via the taskset/task system (e.g., in map/tasks/caves.lua).

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled export version.
luaversionstring"5.1"Lua version compatibility.
orientationstring"orthogonal"Tilemap orientation.
widthnumber40Map width in tiles.
heightnumber40Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesetstableArray of tileset definitions (e.g., path to tiles.png, dimensions).
layerstableArray of layers: tile layer (BG_TILES) and object group (FG_OBJECTS).

Main functions

Not applicable. This file is a pure data structure (a static layout asset), not a component with methods.

Events & listeners

Not applicable.