Skip to main content

Insane Wormhole

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

Overview

This file defines a Tiled JSON-style static layout (insane_wormhole.lua) used to generate a specific room in the Insane World (caves event map). It specifies background tile patterns, foreground object placements, and one interactive object: the wormhole. As a static layout, it is consumed by the world generation system to instantiate the room—no ECS component logic is present in this file. It serves as a declarative map descriptor, not a runtime component.

Usage example

Static layouts like this one are automatically loaded by the world generation system and applied during map room instantiation. Modders do not typically load or manipulate them directly in Lua code.

To reference this layout during room generation, the engine internally uses paths like map/static_layouts/insane_wormhole.lua in room/task definitions (e.g., in map/tasksets/caves.lua), but no manual component usage occurs.

Dependencies & tags

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

Tags: None identified.

Properties

No Lua properties or variables exist in this file. It is a pure data table matching the Tiled JSON export format (version 1.1, 5.1 Lua export). All properties are metadata fields used by the map loader:

FieldTypeDescription
versionstringTiled format version ("1.1").
luaversionstringLua version used for export ("5.1").
orientationstringMap orientation ("orthogonal").
widthnumberRoom width in tiles (16).
heightnumberRoom height in tiles (16).
tilewidthnumberTile pixel width (16).
tileheightnumberTile pixel height (16).
tilesetstableTileset definitions (one set, referencing tiles.png).
layerstableLayer definitions: BG_TILES (tile layer), FG_OBJECTS (object group).

Main functions

This file contains no functions. It is a top-level table constant.

Events & listeners

Not applicable — no runtime code or event logic is present.