Cave Base 3
Based on game build 714014 | Last updated: 2026-02-28
Overview
cave_base_3 is a static map layout file that defines the pre-designed layout for a cave base area in the game's world generation system. It is a Tiled JSON-compatible map definition (stored as Lua table) specifying tile layers for background visuals, object groups for interactive or decorative entities, and layout metadata. This file contributes to procedural or semi-procedural map composition, likely used when generating or populating specific cave biomes during world initialization. It contains no executable logic or ECS components itself — it serves as declarative data consumed by the map generation and rendering subsystems.
Usage example
This file is not meant to be used directly in mod code as a component. Instead, it is referenced by the world generation system (e.g., via map/static_layouts.lua, map/levels/caves.lua, or related task/taskset files). A typical usage would be loaded internally by the engine like:
local layout = require "map/static_layouts/cave_base_3"
-- Layout data is then passed to map generation functions:
-- worldgenerator:AddStaticLayout(layout, x, y)
No direct component instantiation or function calls occur in mod scripts; the data structure is consumed at runtime by core engine systems.
Dependencies & tags
Components used: None — this file is a data definition, not an ECS component. Tags: None identified.
Properties
This file does not define an ECS component and contains no dynamic properties or instance variables. It is a static table with Tiled map schema fields:
version(string):"1.1"luaversion(string):"5.1"orientation(string):"orthogonal"width(number):24(tiles)height(number):24(tiles)tilewidth(number):16(pixels)tileheight(number):16(pixels)properties(table): Emptytilesets(table): One tileset definition referencing an image and tile metadatalayers(table): Two layers (BG_TILESandFG_OBJECTS)
Main functions
This file does not define any functions. It is a pure data structure.
Events & listeners
Not applicable — this is a static layout definition, not an ECS component, and does not register or fire events.