Skip to main content

Bathbombedhotspring

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

Overview

This file defines a static map layout (bathbombedhotspring.lua) used by the DST world generation system to place a modified hotspring in the game world. The layout includes a single tile layer (BG_TILES) and an object group (FG_OBJECTS) that specifies placed entities and their properties. The key feature is a hotspring object marked with data.isbathbombed = true, indicating it has been enhanced with a bathbomb, altering its behavior or appearance. The layout also contains a skeleton, two moon trees (one tall, one short), and an unmarked bathbomb with data.perishable.paused = true.

Usage example

This component is not a runtime-instanced component but a map layout definition. It is referenced internally by the world generation system when spawning static room layouts. Example usage is implicit and occurs during world generation:

-- Internally, the worldgen system loads this file as part of room/static_layout loading
-- No direct modder interaction required in most cases
-- To use in a custom room or event, one would reference this layout via task/room definitions
-- Example pseudo-usage:
-- taskset:AddTask({ type = "room", roomname = "bathbombedhotspring" })

Dependencies & tags

Components used: None (pure data file, no component instantiation or usage). Tags: None identified.

Properties

This file is a plain Lua table conforming to the Tiled map format. No component-specific properties exist.

PropertyTypeDefault ValueDescription
versionstring"1.1"Tiled file format version.
luaversionstring"5.1"Target Lua version.
orientationstring"orthogonal"Map orientation type.
widthnumber2Map width in tiles.
heightnumber2Map height in tiles.
tilewidthnumber64Width of each tile in pixels.
tileheightnumber64Height of each tile in pixels.
propertiestable{}Global map properties (empty here).
tilesetsarray(see code)Tileset definitions (ground tileset).
layersarray(see code)Layers: one tile layer (BG_TILES) and one object group (FG_OBJECTS).

Main functions

This file contains no functions—only static layout data.

Events & listeners

No events or listeners are associated with this file.