Skip to main content

Maxwell 7

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

Overview

maxwell_7 is a static map layout used by the world generation system to define the visual and structural layout of a specific pre-designed map section. It specifies tile-based background layers and object placements (such as marble trees, evil flowers, statues, and knights) using Tiled Map Editor format data. This file is consumed by the worldgen system to instantiate static content in the game world, not a runtime entity component.

Usage example

Static layouts like this are typically referenced in worldgen task sets or scenarios and loaded automatically during world initialization:

-- Example usage within worldgen context (not direct instantiation)
local layout = require "map/static_layouts/maxwell_7"
-- The layout data is used internally by the worldgen system to spawn prefabs
-- based on the 'type' field of objects in the FG_OBJECTS group.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled Map Editor format version.
luaversionstring"5.1"Lua version compatibility.
orientationstring"orthogonal"Map orientation type.
widthnumber28Map width in tiles.
heightnumber28Map height in tiles.
tilewidthnumber16Tile width in pixels.
tileheightnumber16Tile height in pixels.
tilesetstablesee sourceTileset definitions including image path and dimensions.
layerstablesee sourceLayer definitions, including background tile layer and object group.

Main functions

Not applicable. This file returns a static data structure; it does not define executable functions.

Events & listeners

Not applicable. This file contains no runtime logic or event handling.