Skip to content

five-on-it / packages/catalogue/src/region/ground / landuseTone

Function: landuseTone() ​

landuseTone(area, x, z, ox, oz): string | undefined

Defined in: packages/catalogue/src/region/ground.ts:116

The ground's colour name (of tiles.json's grounds) at (x, z) inside a landuse area, or undefined outside it. ox/oz is the region's south-east corner, which the bands line up with.

Parameters ​

area ​

LanduseArea

x ​

number

z ​

number

ox ​

number

oz ​

number

Returns ​

string | undefined