Skip to main content

Bullkelpfarmsmall

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

Overview

bullkelpfarmsmall.lua is a static map layout definition file written in the Tiled JSON-compatible format. It specifies the arrangement of background tiles and foreground object zones for a small bullkelp farm. The layout uses a 4x4 tile grid (each tile 64x64 pixels) and contains one background tile layer and one object group layer. This file is not a component in the Entity Component System; rather, it serves as a level design asset used by the world generation system to place predefined environmental structures.

The FG_OBJECTS layer includes multiple rectangular regions tagged with type "kelp_area", which act as metadata hints for kelp-related gameplay logic during world generation (e.g., bullkelp spawning or harvest zones). These are not functional components but symbolic region definitions consumed by other systems during map instantiation.

Usage example

This file is not instantiated as a component and is not directly used in Lua code. It is loaded as a static layout asset by the worldgen system, typically via static_layouts.lua or similar level-building utilities.

For reference, a typical usage pattern in the codebase involves loading static layouts like this:

local static_layout = require("map/static_layouts/bullkelpfarmsmall")
-- Internally, the worldgen framework processes `static_layout.layers.FG_OBJECTS` to extract `kelp_area` regions

Dependencies & tags

Components used: None — this file is a static data file, not a Lua component class. Tags: None identified.

Properties

No public properties are exposed as a Lua component would be. The exported table contains only map metadata fields used by Tiled-compatible loaders:

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version
luaversionstring"5.1"Lua version compatibility
orientationstring"orthogonal"Tile orientation
widthinteger4Map width in tiles
heightinteger4Map height in tiles
tilewidthinteger64Width of each tile in pixels
tileheightinteger64Height of each tile in pixels
propertiestable{}Global map properties (empty in this case)
tilesetstablesee sourceTileset definitions
layerstablesee sourceLayer definitions (tile and object groups)

Main functions

No functions — this file exports only static configuration data.

Events & listeners

No event handling — this is a passive data file, not an ECS component.