Modding:SurfaceTerrainOption (JSONObject)
From Starbounder - Starbound Wiki
Surface Terrain Options define the terrain generators to use for a type of terrain. They are defined in the Surface Terrains Object in Planetgen.config. Theirs ids are set as the keys of the Surface Terrains Object. They are reference by Surface Biome Terrains to define available terrain types to specific planet biomes.
Key Value Pairs
Key | Value Type | Value Subtype | Description | Valid Values |
---|---|---|---|---|
surfaceSelector | String | Surface Terrain Object id to generate the surface layer terrain. | ||
caveSelector | String | Cave Terrain Object id to generate the caves on the surface layer. | ||
bgCaveSelector | String | Cave Terrain Object id | ||
subBlockSelector | String | Disperse Terrain Object id | ||
oreSelector | String | Disperse Terrain Object id |
Example
"foo" : { "surfaceSelector" : "<Surface Terrain Object id>", "caveSelector" : "<Cave Terrain Object id>", "bgCaveSelector" : "<Cave Terrain Object id>", "subBlockSelector" : "<Disperse Terrain Object id>", "oreSelector" : "<Disperse Terrain Object id>" },