Skip to main content

Abandonedwarf2

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

Overview

abandonedwarf2.lua defines a static map layout used to generate the "Abandoned Dwarf 2" room in the game world. It specifies the Tiled map data—including tile layers, object groups, and associated properties—required to construct the room's visual and structural composition. This file is not an ECS component but rather a world-generation asset that provides layout data, typically consumed by map/room loading systems. It contains no runtime logic, components, or behaviors; it serves purely as a declarative description of room geometry.

Usage example

This file is not instantiated or used directly as a component. Instead, it is loaded and applied during world generation when the game engine processes room templates. A typical integration point would be within a room placement system (e.g., in a task or taskset script), where this layout is referenced by filename. No code snippet is applicable for modder-facing component usage.

Dependencies & tags

Components used: None. This is a static data file with no component references.
Tags: None identified.

Properties

The file exports a table with the following top-level properties:

PropertyTypeDefault ValueDescription
versionstring"1.1"Version of the Tiled map format.
luaversionstring"5.1"Target Lua version for encoding (used in map serialization).
orientationstring"orthogonal"Map orientation type (orthogonal, isometric, etc.).
widthnumber10Width of the map in tiles.
heightnumber10Height of the map in tiles.
tilewidthnumber64Width (in pixels) of each tile.
tileheightnumber64Height (in pixels) of each tile.
propertiestable{}Map-level custom properties (empty here).
tilesetstable[]Array of tileset definitions (e.g., ground tileset).
layerstable[]Array of map layers (tile layers and object groups).

Main functions

This file is data-only and defines no functions.

Events & listeners

This file is data-only and has no event listeners or event emissions.