Skip to main content

Trap Sleepingspider

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

Overview

trap_sleepingspider.lua is a static map layout definition used for the "sleeping spider" ambush trap encountered in the Caves layer. It specifies tile data for background tiles and a list of objects (including a spider spawn point, decor, and walls) placed within a 32x32 grid. This file is processed by the world generation system to render the trap environment when players enter the designated area.

Usage example

This file is not used directly as a component; it is referenced by world generation systems when spawning the sleeping spider trap room. Modders typically do not interact with this file directly.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

No public properties — this file is a data-only layout definition returning a static Lua table.

Main functions

Not applicable.

Events & listeners

Not applicable.