Skip to main content

Skeleton Graverobber

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

Overview

This file defines a static tile-based map layout (skeleton_graverobber.lua) used in the DST world generation system. It specifies a fixed 8×8 tile grid with orthogonal orientation, used to place decorative and narrative objects—such as a skeleton, backpack, shovel, amulet, gravestone, and trinkets—in a scene representing a grave robbing encounter. It is not a runtime entity component but a level design asset consumed by the map/room system.

Usage example

This file is not meant for direct instantiation or manipulation by modders. It is loaded as part of the map data when generating rooms or scenes (e.g., via static_layouts in a taskset or room definition). Example usage in world generation context:

-- Internally referenced like this (not modder-facing):
room.task = {
type = "static_layout",
layout = "skeleton_graverobber",
offset = {x=0, y=0},
}

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.
orientationstring"orthogonal"Tile orientation type.
widthnumber8Map width in tiles.
heightnumber8Map height in tiles.
tilewidthnumber16Width of each tile in pixels.
tileheightnumber16Height of each tile in pixels.
tilesets[1].namestring"tiles"Name of the tileset used.
tilesets[1].imagestringPath to tileset imageImage source for tile graphics.
layers[1].namestring"BG_TILES"Name of background tile layer.
layers[2].namestring"FG_OBJECTS"Name of foreground object layer.

Main functions

None identified — this is a static data file returning a Lua table, not a component with functional methods.

Events & listeners

Not applicable.