Skip to main content

Chess Blocker

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

Overview

chess_blocker.lua is not a component in the Entity Component System, but rather a static world generation data file. It defines a pre-designed map layout for the chess minigame (likely part of the "Mad Max" or "Dream World" content). The file is a Tiled Map Editor JSON/Lua-compatible export, specifying tile layers for background visuals and object groups for spawning in-game prefabs like marblepillar, flower_evil, and knight entities.

Usage example

This file is loaded internally by the world generation system and is not instantiated manually by mods. However, it may be referenced or overridden in custom worldgen tasksets:

-- Example usage in a taskset definition (not in plugin code)
local CHESS_BLOCKER = require("map/static_layouts/chess_blocker")
-- Internally parsed by worldgen tasks to embed the layout in the generated level

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

No public properties — this file exports a single table literal containing static layout metadata.

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled export format version.
luaversionstring"5.1"Target Lua version for export.
orientationstring"orthogonal"Map rendering orientation.
widthnumber40Map width in tiles.
heightnumber40Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesetsarrayList of tileset definitions (e.g., ground tiles).
layersarrayList of layers: BG_TILES (tile data), FG_OBJECTS (entity placements).

Main functions

Not applicable — this is a data-only file with no executable logic or methods.

Events & listeners

Not applicable — no event handling is present.