Skip to main content

Pigguard Berries Easy

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

Overview

This file defines a static map layout for a specific game scenario named "pigguard_berries_easy". It is a JSON-compatible Lua table describing a Tiled map format (16×16 grid, 64×64 tile size), containing background tile layers and foreground object placement. The layout includes pig torches and berry bushes (both standard and "juicy" variants), likely used to set up a low-difficulty encounter or resource point associated with pig guards. This is not an ECS component but a map definition used during world generation.

Usage example

This file is not instantiated as an entity or component. Instead, it is imported by the worldgen system to place objects and tiles in a level. A typical usage pattern in worldgen code would be:

local layout = require("map/static_layouts/pigguard_berries_easy")
-- The returned table is passed directly to a layout loader or renderer
-- to instantiate prefabs (e.g., "pigtorch", "berrybush") at specified coordinates.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled map format version.
luaversionstring"5.1"Lua version compatibility (legacy artifact).
orientationstring"orthogonal"Map rendering orientation.
widthnumber16Map width in tiles.
heightnumber16Map height in tiles.
tilewidthnumber16Logical tile width.
tileheightnumber16Logical tile height.
tilesetstableTileset definitions (currently one entry for tiles.png).
layerstableArray of layers (BG_TILES and FG_OBJECTS).

Main functions

Not applicable.

Events & listeners

Not applicable.