Skip to content

WaterFalls beta ​

Interface of @v12-engine/client

ts
export interface WaterFalls

How a map's waterfalls look and where they are found (WT2). A fall is found wherever water spills from one level to a lower one (over a cliff, or down a ramp between them), or its surface drops by least or more between two cells of water (a step of the ground); those placed by hand (MapEnvironment.waterfalls) fall wherever they stand. Each is a sheet of water down the drop with streaks running down it, foam where it lands, mist at its foot (not at the low quality's effects) and, where the look names one, a sound

Members ​

auto ​

ts
auto?: boolean;

Whether they are found from the ground and the water by themselves (false: only those placed). On when left out

color ​

ts
color?: Rgb;

The colour of the falling water. A pale blue-white when left out

foam ​

ts
foam?: Rgb;

The colour of the foam where they land. Nearly white when left out

least ​

ts
least?: number;

The least drop of the water's surface between two cells, in height, that is a fall where no cliff or ramp is. 1 when left out

mist ​

ts
mist?: number;

How much mist and spray rises at their foot, 0..1: 0 none. 0.6 when left out

on ​

ts
on?: boolean;

Whether there are waterfalls at all, found or placed: on when left out

sound ​

ts
sound?: string;

What they sound like: a sound by its name in the game's folder or the shared one, a file made to loop. None when left out

speed ​

ts
speed?: number;

Cells a second the water runs down them. 2.5 when left out

volume ​

ts
volume?: number;

How loud that is at a fall of a cliff's height, 0..1 (a lower fall softer, a wider one heard further). 0.6 when left out

width ​

ts
width?: number;

How much of the edge the water spills over a found fall covers, 0.2..1: rock either side of it where less. 0.9 when left out