Skip to main content

Chess Spot

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

Overview

This file is a Tiled map format (JSON-like Lua table) static layout definition for the "Chess Spot" map room. It is used by the world generation system to place and configure a specific room layout in the game world, primarily in the Forest or other applicable biomes. The layout contains background tile data, an object group specifying spawn positions for entities like evil_thing and flower_evil, and metadata such as dimensions and tileset references. It is consumed by the world generation task system to instantiate static geometry and populate entity instances during room generation.

Usage example

This file is not instantiated as a component attached to an entity. Instead, it is loaded and processed by the world generation engine. A typical usage pattern in a task file or worldgen script would look like:

local ChessSpot = require("map/static_layouts/chess_spot")
-- Internally, the engine callsroom_loader.add_static_layout("chess_spot", ChessSpot)
-- or uses this table to instantiate the room in a task/room configuration.

No direct component addition is required — the generation system handles instantiation based on this definition.

Dependencies & tags

Components used: None — this is a data-only file.

Tags: None identified.

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version.
luaversionstring"5.1"Lua version targeted (unused at runtime, for compatibility).
orientationstring"orthogonal"Map rendering orientation.
widthnumber12Width of the layout in tiles.
heightnumber12Height of the layout in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
propertiestable{}User-defined properties (currently unused).
tilesetstableSee sourceTileset definitions used for rendering.
layerstableSee sourceLayers containing tile data and object placements.

Main functions

This file is a pure data container and contains no executable functions or methods.

Events & listeners

No events are processed or dispatched by this file. It is strictly a static definition consumed at world generation time.