Modding:SpaceTerrainOption (JSONObject)

From Starbounder - Starbound Wiki
Jump to: navigation, search

Quick Navigation


Space Terrain Options define the terrain generators to use for underground layers. They are defined in the Underground Terrains Object in Planetgen.config. Theirs ids are set as the keys of the Underground Terrains Object.

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
floatingTerrainSelector String Disperse Terrain Object id to generate the space layer terrain.
caveSelector String Cave Terrain Object id to generate the caves in the space layer.
bgCaveSelector String Cave Terrain Object id
subBlockSelector String Disperse Terrain Object id
oreSelector String Disperse Terrain Object id

Example

   "foo" : {
     "floatingTerrainSelector" : "<Surface Terrain Object id>",
     "caveSelector" : "<Cave Terrain Object id>",
     "bgCaveSelector" : "<Cave Terrain Object id>",
     "subBlockSelector" : "<Disperse Terrain Object id>",
     "oreSelector" : "<Disperse Terrain Object id>"
   },