Updated Schemas

This commit is contained in:
Ben C 2023-03-26 01:52:40 +00:00
parent 5dd8e8db4e
commit b95f37efd3

View File

@ -18,6 +18,30 @@
"description": "Unique star system containing your planet. If you set this to be a custom solar system remember to add a Spawn module to one of the bodies, or else you can't get to the system.",
"default": "SolarSystem"
},
"isQuantumState": {
"type": "boolean",
"description": "Does this config describe a quantum state of a custom planet defined in another file?"
},
"isStellarRemnant": {
"type": "boolean",
"description": "Does this config describe a stellar remnant of a custom star defined in another file?"
},
"canShowOnTitle": {
"type": "boolean",
"description": "Should this planet ever be shown on the title screen?",
"default": true
},
"destroy": {
"type": "boolean",
"description": "`true` if you want to delete this planet"
},
"removeChildren": {
"type": "array",
"description": "A list of paths to child GameObjects to destroy on this planet",
"items": {
"type": "string"
}
},
"AmbientLights": {
"type": "array",
"description": "Add ambient lights to this body",
@ -41,19 +65,10 @@
"description": "Add bramble nodes to this planet and/or make this planet a bramble dimension",
"$ref": "#/definitions/BrambleModule"
},
"canShowOnTitle": {
"type": "boolean",
"description": "Should this planet ever be shown on the title screen?",
"default": true
},
"Cloak": {
"description": "Add a cloaking field to this planet",
"$ref": "#/definitions/CloakModule"
},
"destroy": {
"type": "boolean",
"description": "`true` if you want to delete this planet"
},
"FocalPoint": {
"description": "Make this body into a focal point (barycenter)",
"$ref": "#/definitions/FocalPointModule"
@ -66,14 +81,6 @@
"description": "Generate the surface of this planet using a heightmap",
"$ref": "#/definitions/HeightMapModule"
},
"isQuantumState": {
"type": "boolean",
"description": "Does this config describe a quantum state of a custom planet defined in another file?"
},
"isStellarRemnant": {
"type": "boolean",
"description": "Does this config describe a stellar remnant of a custom star defined in another file?"
},
"Lava": {
"description": "Add lava to this planet",
"$ref": "#/definitions/LavaModule"
@ -94,13 +101,6 @@
"description": "Reference frame properties of this body",
"$ref": "#/definitions/ReferenceFrameModule"
},
"removeChildren": {
"type": "array",
"description": "A list of paths to child GameObjects to destroy on this planet",
"items": {
"type": "string"
}
},
"Rings": {
"type": "array",
"description": "Create rings around the planet",
@ -136,6 +136,10 @@
"description": "Add various volumes on this body",
"$ref": "#/definitions/VolumesModule"
},
"CometTail": {
"description": "Add a comet tail to this body, like the Interloper",
"$ref": "#/definitions/CometTailModule"
},
"extras": {
"type": "object",
"description": "Extra data that may be used by extension mods",
@ -515,10 +519,6 @@
"type": "boolean",
"description": "Set this to true if you are replacing the sun with a different body. Only one object in a star system should ever\nhave this set to true."
},
"cometTailRotation": {
"description": "If it has a comet tail, it'll be oriented according to these Euler angles.",
"$ref": "#/definitions/MVector3"
},
"gravityFallOff": {
"description": "How gravity falls off with distance. Most planets use linear but the sun and some moons use inverseSquared.",
"default": "linear",
@ -529,10 +529,6 @@
"description": "Radius of a simple sphere used as the ground for the planet. If you want to use more complex terrain, leave this as\n0.",
"format": "float"
},
"hasCometTail": {
"type": "boolean",
"description": "If you want the body to have a tail like the Interloper."
},
"hasMapMarker": {
"type": "boolean",
"description": "If the body should have a marker on the map screen."
@ -4255,6 +4251,24 @@
"final",
"kazoo"
]
},
"CometTailModule": {
"type": "object",
"additionalProperties": false,
"properties": {
"rotationOverride": {
"description": "Manually sets the local rotation",
"$ref": "#/definitions/MVector3"
},
"innerRadius": {
"type": [
"null",
"number"
],
"description": "Inner radius of the comet tail, defaults to match surfaceSize",
"format": "float"
}
}
}
},
"$docs": {