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.", "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" "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": { "AmbientLights": {
"type": "array", "type": "array",
"description": "Add ambient lights to this body", "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", "description": "Add bramble nodes to this planet and/or make this planet a bramble dimension",
"$ref": "#/definitions/BrambleModule" "$ref": "#/definitions/BrambleModule"
}, },
"canShowOnTitle": {
"type": "boolean",
"description": "Should this planet ever be shown on the title screen?",
"default": true
},
"Cloak": { "Cloak": {
"description": "Add a cloaking field to this planet", "description": "Add a cloaking field to this planet",
"$ref": "#/definitions/CloakModule" "$ref": "#/definitions/CloakModule"
}, },
"destroy": {
"type": "boolean",
"description": "`true` if you want to delete this planet"
},
"FocalPoint": { "FocalPoint": {
"description": "Make this body into a focal point (barycenter)", "description": "Make this body into a focal point (barycenter)",
"$ref": "#/definitions/FocalPointModule" "$ref": "#/definitions/FocalPointModule"
@ -66,14 +81,6 @@
"description": "Generate the surface of this planet using a heightmap", "description": "Generate the surface of this planet using a heightmap",
"$ref": "#/definitions/HeightMapModule" "$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": { "Lava": {
"description": "Add lava to this planet", "description": "Add lava to this planet",
"$ref": "#/definitions/LavaModule" "$ref": "#/definitions/LavaModule"
@ -94,13 +101,6 @@
"description": "Reference frame properties of this body", "description": "Reference frame properties of this body",
"$ref": "#/definitions/ReferenceFrameModule" "$ref": "#/definitions/ReferenceFrameModule"
}, },
"removeChildren": {
"type": "array",
"description": "A list of paths to child GameObjects to destroy on this planet",
"items": {
"type": "string"
}
},
"Rings": { "Rings": {
"type": "array", "type": "array",
"description": "Create rings around the planet", "description": "Create rings around the planet",
@ -136,6 +136,10 @@
"description": "Add various volumes on this body", "description": "Add various volumes on this body",
"$ref": "#/definitions/VolumesModule" "$ref": "#/definitions/VolumesModule"
}, },
"CometTail": {
"description": "Add a comet tail to this body, like the Interloper",
"$ref": "#/definitions/CometTailModule"
},
"extras": { "extras": {
"type": "object", "type": "object",
"description": "Extra data that may be used by extension mods", "description": "Extra data that may be used by extension mods",
@ -515,10 +519,6 @@
"type": "boolean", "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." "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": { "gravityFallOff": {
"description": "How gravity falls off with distance. Most planets use linear but the sun and some moons use inverseSquared.", "description": "How gravity falls off with distance. Most planets use linear but the sun and some moons use inverseSquared.",
"default": "linear", "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.", "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" "format": "float"
}, },
"hasCometTail": {
"type": "boolean",
"description": "If you want the body to have a tail like the Interloper."
},
"hasMapMarker": { "hasMapMarker": {
"type": "boolean", "type": "boolean",
"description": "If the body should have a marker on the map screen." "description": "If the body should have a marker on the map screen."
@ -4255,6 +4251,24 @@
"final", "final",
"kazoo" "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": { "$docs": {