Table of Contents

Class Pond

Namespace
LlamaLogic.Architecture
Assembly
LlamaLogic.Architecture.dll

Represents a pond of the PondsSection

public sealed class Pond
Inheritance
Pond
Inherited Members

Remarks

The layout follows the game's reader.

Properties

Cells

Gets the tile quarters the pond covers

public Collection<PondCell> Cells { get; }

Property Value

Collection<PondCell>

FloorPatternKey

Gets/sets the key of the pond's floor pattern, a CTProductFloorPattern (0xB4F762C9)

public ResourceKey FloorPatternKey { get; set; }

Property Value

ResourceKey

Remarks

The PondBottoms grid holds this key's id on the pond's quarters in the lots examined.

Id

Gets/sets the pond's id

public ushort Id { get; set; }

Property Value

ushort

Remarks

The game keys its pond map and its cell-to-pond map by it; 1, 2, 3 or 11 in the lots examined.

Unknown2

Gets a list of values of unknown meaning, written from version 3

public Collection<ushort> Unknown2 { get; }

Property Value

Collection<ushort>

Remarks

The game reads it into a set; it is empty in every lot examined.

WaterLevel

Gets/sets the pond's water level, in steps of 0.25 m

public int WaterLevel { get; set; }

Property Value

int

Remarks

It equals GetWaterLevel(int, int, FloorQuarter) on every quarter of the pond, which the game multiplies by 0.25. Creating a pond in game set it to −1, and raising the pond's water level one step changed it from −3 to −2 together with the water level of every quarter of the pond in the TerrainHeightsSection, while the pond spread to more cells (in-game tests). It is −1, −2, −3 or 0 in the lots examined.