ZoneDef
此内容尚不支持你的语言。
Defined in: sdk/src/worldgen/zones.ts:19
Properties
Section titled “Properties”biome?
Section titled “biome?”
optionalbiome?:string
Defined in: sdk/src/worldgen/zones.ts:31
A biome it holds over its area, if any.
excludes
Section titled “excludes”excludes: readonly
string[]
Defined in: sdk/src/worldgen/zones.ts:29
The tags of what it keeps out; * keeps out everything.
falloff
Section titled “falloff”falloff:
number
Defined in: sdk/src/worldgen/zones.ts:26
Over how many world units past its outline it fades out.
fields?
Section titled “fields?”
optionalfields?:Readonly<Record<string,number>>
Defined in: sdk/src/worldgen/zones.ts:33
Fields it sets over its area.
flatten?
Section titled “flatten?”
optionalflatten?:number|"ground"
Defined in: sdk/src/worldgen/zones.ts:38
Levels the terrain under it: to this world height, or (‘ground’) to the ground’s height at its centre as the ground was made, blending back over its falloff. Live plane generators hold the modifier; it is released when the zone or its last consumer goes.
id:
string
Defined in: sdk/src/worldgen/zones.ts:21
Stable: what a placement records as the zone it stands in or was kept out by.
kind:
string
Defined in: sdk/src/worldgen/zones.ts:23
What the zone is for (home, road, landing, building, resource, view): a game’s own words.
priority
Section titled “priority”priority:
number
Defined in: sdk/src/worldgen/zones.ts:27
shape:
ZoneShape
Defined in: sdk/src/worldgen/zones.ts:24