Skip to main content

Oceanwhirlbigportal

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

Overview

oceanwhirlbigportal.lua is a static layout asset used by the DST world generation system. It defines the visual and spatial configuration for the Ocean Whirl big portal structure in the Ocean biome. As a .lua file in the static_layouts/ directory, it is not a runtime component but rather a declarative tilemap description consumed by the worldgen engine to spawn pre-designed structures. The file uses the Tiled Map Editor format and contains tile layer data for background visuals (BG_TILES) and an object group (FG_OBJECTS) marking placement areas for dynamic entities like oceanwhirlbigportal, stack_area, and mast_area objects.

Usage example

Static layout files like this one are not directly instantiated by modders. They are referenced by worldgen tasks and tasksets during map generation. Example referencing in a taskset (not part of this file):

-- In a taskset file (e.g., tasksets/ocean.lua)
{
name = "oceanwhirlbigportal",
min_count = 0,
max_count = 1,
static_layout = "oceanwhirlbigportal",
-- other settings...
}

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"Map rendering orientation.
widthnumber10Map width in tiles.
heightnumber10Map height in tiles.
tilewidthnumber64Width of each tile in pixels.
tileheightnumber64Height of each tile in pixels.
tilesetstablesee sourceTileset definitions (ground tiles).
layerstablesee sourceLayer definitions: BG_TILES (tilelayer) and FG_OBJECTS (objectgroup).

Main functions

None identified. This file exports a static data table and does not define runtime functions or methods.

Events & listeners

None identified. This file is a data asset with no event handling logic.