Updated Schemas

This commit is contained in:
github-actions[bot] 2022-08-09 05:42:53 +00:00
parent e470e7ecb4
commit bd034dbaa8
2 changed files with 22 additions and 10 deletions

View File

@ -8,6 +8,16 @@
"name" "name"
], ],
"properties": { "properties": {
"name": {
"type": "string",
"description": "Unique name of your planet",
"minLength": 1
},
"starSystem": {
"type": "string",
"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"
},
"AsteroidBelt": { "AsteroidBelt": {
"description": "Generate asteroids around this body", "description": "Generate asteroids around this body",
"$ref": "#/definitions/AsteroidBeltModule" "$ref": "#/definitions/AsteroidBeltModule"
@ -63,11 +73,6 @@
"description": "Add lava to this planet", "description": "Add lava to this planet",
"$ref": "#/definitions/LavaModule" "$ref": "#/definitions/LavaModule"
}, },
"name": {
"type": "string",
"description": "Unique name of your planet",
"minLength": 1
},
"Orbit": { "Orbit": {
"description": "Describes this Body's orbit (or lack there of)", "description": "Describes this Body's orbit (or lack there of)",
"$ref": "#/definitions/OrbitModule" "$ref": "#/definitions/OrbitModule"
@ -111,11 +116,6 @@
"description": "Make this body a star", "description": "Make this body a star",
"$ref": "#/definitions/StarModule" "$ref": "#/definitions/StarModule"
}, },
"starSystem": {
"type": "string",
"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"
},
"version": { "version": {
"type": "string", "type": "string",
"description": "Version of New Horizons this config is using (Doesn't do anything)" "description": "Version of New Horizons this config is using (Doesn't do anything)"
@ -2262,6 +2262,12 @@
"description": "Should this star explode after 22 minutes?", "description": "Should this star explode after 22 minutes?",
"default": true "default": true
}, },
"lifespan": {
"type": "number",
"description": "How long this star will last until it supernovas.",
"format": "float",
"default": 22.0
},
"hasStarController": { "hasStarController": {
"type": "boolean", "type": "boolean",
"description": "Should we add a star controller to this body? If you want clouds to work on a binary brown dwarf system, set this to false.", "description": "Should we add a star controller to this body? If you want clouds to work on a binary brown dwarf system, set this to false.",

View File

@ -24,6 +24,12 @@
"type": "string", "type": "string",
"description": "Set to the FactID that must be revealed before it can be warped to. Don't set `CanEnterViaWarpDrive` to `false` if\nyou're using this, that would make no sense." "description": "Set to the FactID that must be revealed before it can be warped to. Don't set `CanEnterViaWarpDrive` to `false` if\nyou're using this, that would make no sense."
}, },
"loopDuration": {
"type": "number",
"description": "The duration of the time loop.",
"format": "float",
"default": 22.0
},
"mapRestricted": { "mapRestricted": {
"type": "boolean", "type": "boolean",
"description": "Should the player not be able to view the map in this system?" "description": "Should the player not be able to view the map in this system?"