Structures.json: Difference between revisions

From Vintage Story Wiki
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 47: Line 47:
| MinTemp
| MinTemp
| y
| y
| ?
| y
| ?
| y
| ?
| ?
| int (in Celsius)
| int (in Celsius)
Line 54: Line 54:
| MaxTemp
| MaxTemp
| y
| y
| ?
| y
| ?
| y
| ?
| ?
| int (in Celsius)
| int (in Celsius)
|-
|-
| MinRain
| MinRain
| y
| ?
| ?
| ?
| y
| ?
| ?
| ?
| float
| float
|-
|-
| MaxRain
| MaxRain
| y
| ?
| ?
| ?
| y
| ?
| ?
| ?
| float
| float
|-
|-
| MinForest
| MinForest
| n
| ?
| ?
| ?
| n
| ?
| ?
| ?
| float
| float
|-
|-
| MaxForest
| MaxForest
| n
| ?
| ?
| ?
| n
| ?
| ?
| ?
| float
| float
|-
|-
| MinY
| MinY
| n
| ?
| ?
| ?
| n
| ?
| ?
| ?
| float
| float
|-
|-
| MaxY
| MaxY
| n
| ?
| ?
| ?
| n
| ?
| ?
| ?
| float
| float
Line 117: Line 117:
| OffsetY
| OffsetY
| y
| y
| y
| n
| y
| y
| y
| y
Line 183: Line 183:
| y
| y
| ?
| ?
| example: -missing-
| example: <code>"replaceWithRockType": {"rock-granite": "rock-{rock}"}</code>
|-
|-
| InsideBlockCodes
| InsideBlockCodes
Line 200: Line 200:
|-
|-
|}
|}
y = Yes it works.
n = No it doesnt work.
? = Idk not tested.

Latest revision as of 19:26, 13 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 y y ? int (in Celsius)
MaxTemp y y y ? int (in Celsius)
MinRain y ? y ? float
MaxRain y ? y ? float
MinForest n ? n ? float
MaxForest n ? n ? float
MinY n ? n ? float
MaxY n ? n ? float
Depth n n y ? example: "depth": { "dist": "invexp", "avg": 3.5, "var": 30 }
OffsetX ? ? ? ? example: -missing-
OffsetY y n 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 ? ? ? ? ...


y = Yes it works. n = No it doesnt work. ? = Idk not tested.