Skip to main content

Crabking

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

Overview

This static layout file defines the Crab King boss arena map structure using Tiled Map Editor data format. It specifies a 10x10 tile grid with tile layers for background tiles and an object group containing stack_area placements and one crabking_spawner object used to position the boss spawn point. The layout is not an ECS component but a declarative data structure used during world generation to instantiate the arena.

Usage example

This file is loaded and processed by the world generation system, not instantiated directly as a component. Usage within DST's worldgen pipeline is implicit:

-- Internally loaded and applied during world generation
-- No direct component usage; included for completeness
local layout = require("map/static_layouts/crabking")
-- The layout is consumed by game code that reads object types
-- (e.g., "crabking_spawner") to place relevant entities

Dependencies & tags

Components used: None (data file only; does not access component APIs directly)
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled format version
luaversionstring"5.1"Lua version target
orientationstring"orthogonal"Map orientation type
widthnumber10Map width in tiles
heightnumber10Map height in tiles
tilewidthnumber64Width of each tile in pixels
tileheightnumber64Height of each tile in pixels
propertiestable{}Global map properties (empty)
tilesetsarraysee sourceTileset definitions (ground tileset)
layersarraysee sourceLayer definitions (BG_TILES, FG_OBJECTS)

Main functions

This is a data-only file. It exports a static Lua table and contains no executable functions.

Events & listeners

None.