Skip to main content

Rabbitcity

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

Overview

rabbitcity is a static map layout definition file that specifies the visual and structural configuration for rabbit city areas in the game. It uses TMX map format data to define background tile layers (BG_TILES) and foreground object placements (FG_OBJECTS), including rabbit houses, cavelights, and carrot plots. This file does not define a component in the ECS sense, but rather a data structure used by the world generation system to instantiate rabbit city scenes.

Usage example

Static layout files like this one are loaded and applied by the world generation system. They are not instantiated directly via AddComponent. Instead, they are referenced by map task or room generators (e.g., in map/tasksets/caves.lua), where the layout data is parsed and objects (e.g., rabbithouse, carrot_planted) are spawned accordingly.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"TMX map format version.
luaversionstring"5.1"Lua version used for encoding.
orientationstring"orthogonal"Map tile orientation.
widthnumber32Map width in tiles.
heightnumber32Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
propertiestable{}Map-level custom properties (empty).
tilesetstable{...}Array of tileset definitions (contains one entry: tiles).
layerstable{...}Array of layers: BG_TILES (tile layer) and FG_OBJECTS (object group).

Main functions

None — this file returns a static table of map data and does not define any functions.

Events & listeners

None identified