Skip to main content

Nightmare Begin Blocker

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

Overview

This file is a static layout definition for the beginning area of the nightmare event map. It is not an ECS component but a data structure in Tiled Map Editor format (*.json-style Lua table) used during world generation to place background tiles and foreground objects. It contains no executable logic or component code — only map metadata, tile layer data, and an object group listing placements for entities like firepits, rabbitholes, grass, saplings, torches, and skeletons.

Usage example

This file is loaded automatically by the world generation system. Modders typically do not interact with it directly, but can override or reference it when defining custom nightmare event layouts.

-- This file is consumed by the map system during worldgen; no direct usage required.
-- To customize, override the map layout using worldgen overrides or scenario logic.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version compatibility.
orientationstring"orthogonal"Map rendering orientation.
width, heightnumber32Map dimensions in tiles.
tilewidth, tileheightnumber16Size of each tile in pixels.
tilesetstableTileset definitions (here, only one named "tiles").
layerstableContains background tile layer ("BG_TILES") and object group ("FG_OBJECTS").

Main functions

Not applicable — this is a static data structure, not a component or script with functional methods.

Events & listeners

Not applicable — no event handling is performed in this file.