EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

RiverTerrain

Water channel of fixed width and depth along an integer polyline.

Signature

{ base: BaseTerrain, bed_material: MaterialId, depth_mm: PositiveDistance, points_mm: {{Millimeters}}, surface_y_mm: Millimeters, water_material: MaterialId, width_mm: PositiveDistance }

Fields

NameTypeMeaning
baseBaseTerrainTerrain beside and under the channel.
bed_materialMaterialIdTerrain material of the channel bed.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: material
depth_mmPositiveDistanceDepth of the channel bed below the water surface.
Range: 1…2147483647; Unit: mm
points_mm{{Millimeters}}Centre line as x, z points in millimetres; consecutive points differ and segments never cross.
Items: 2…256
surface_y_mmMillimetersWater surface height inside the channel.
Range: -2147483648…2147483647; Unit: mm
water_materialMaterialIdWater material of the channel.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: material
width_mmPositiveDistanceFull channel width across the centre line.
Range: 1…2147483647; Unit: mm