Skip to main content

Test

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

Overview

./map/static_layouts/test.lua is a static layout configuration file defining a 32×32 test map area using Tiled map format. It specifies tileset references, a background tile layer (BG_TILES), and an object layer (FG_OBJECTS) containing named placement markers for entities like firepit, spawnpoint, and area_1/area_2. This file is not a game component but a data definition used during world generation.

Usage example

This file is loaded and processed by the world generation system and is not directly instantiated as an entity component. Modders should reference it when building or extending test-level layouts, but it is not added to entities via inst:AddComponent.

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version.
luaversionstring"5.1"Target Lua version.
orientationstring"orthogonal"Map orientation type.
width, heightnumber32Map dimensions in tiles.
tilewidth, tileheightnumber16Size of each tile in pixels.
tilesetstableArray of tileset definitions including image path and firstgid.
layerstableArray of layers (tilelayer and objectgroup).
propertiestable{}Global map properties (empty in this case).

Main functions

Not applicable — this file is a data table definition, not a component with methods.

Events & listeners

Not applicable.