Skip to main content

Walls Straight

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

Overview

This file defines a static map layout used in the game world, specifically for generating wall structures in ruin-themed areas. It is a Tiled JSON-style Lua data structure that encodes tile and object placement — primarily for wall segments — using hardcoded tile IDs (29) and object properties indicating health percentages and types (e.g., "wall_ruins", "brokenwall_ruins"). It does not contain any runtime logic or component behavior; it serves as declarative data consumed by world generation systems (e.g., tasksets, levels, or rooms).

Usage example

This file is not used directly as a component; it is imported and processed by world generation utilities. A typical usage pattern in generation code would be:

local walls_straight = require "map/static_layouts/walls_straight"
-- The returned table is passed to a layout loader or worldgen helper:
-- worldgen_helper:AddStaticLayout(walls_straight, x, y)

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version target.
orientationstring"orthogonal"Map orientation.
width, heightnumber16Map dimensions in tiles.
tilewidth, tileheightnumber16Tile size in pixels.
tilesetstableTileset metadata (image path, dimensions, tile size).
layerstableArray of layers: BG_TILES (tile layer) and FG_OBJECTS (object group).

Main functions

None identified.

Events & listeners

Not applicable.