Structures.json: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 183: Line 183:
| y
| y
| ?
| ?
| example: -missing-
| example: <code>replaceWithRockType: {"rock-granite": "rock-{rock}"}</code>
|-
|-
| InsideBlockCodes
| InsideBlockCodes

Revision as of 19:12, 12 July 2022

Placement methods
Value surface surfaceruin underground underwater type
Code y y y y string
Name y y y y string
Group y y y ? string
MinGroupDistance y y n ? int
Schematics y y y y string[]
Chance y y y y float
MinTemp y ? ? ? int (in Celsius)
MaxTemp y ? ? ? int (in Celsius)
MinRain ? ? ? ? float
MaxRain ? ? ? ? float
MinForest ? ? ? ? float
MaxForest ? ? ? ? float
MinY ? ? ? ? float
MaxY ? ? ? ? float
Depth n n y ? example: "depth": { "dist": "invexp", "avg": 3.5, "var": 30 }
OffsetX ? ? ? ? example: -missing-
OffsetY y y y y int
OffsetZ ? ? ? ? example: -missing-
BlockCodeIndex ? ? ? ? example: -missing-
Quantity ? ? ? ? example: -missing-
ReplaceWithBlocklayers y y n ? example: "replacewithblocklayers": ["soil-medium-normal", "soil-medium-none"]
BuildProtected y ? ? ? bool (Claims the structure)
PostPass y y y ? bool
BuildProtectedDesc y ? ? ? string
BuildProtectedName y ? ? ? string
ReplaceWithRockType n n y ? example: replaceWithRockType: {"rock-granite": "rock-{rock}"}
InsideBlockCodes ? ? ? ? example: -missing-
Origin ? ? ? ? ...