From bd034dbaa8e15cc7360c0690485ce38cfe63ce0e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 9 Aug 2022 05:42:53 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 26 +++++++++++++-------- NewHorizons/Schemas/star_system_schema.json | 6 +++++ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 4b099793..5201b710 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -8,6 +8,16 @@ "name" ], "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": { "description": "Generate asteroids around this body", "$ref": "#/definitions/AsteroidBeltModule" @@ -63,11 +73,6 @@ "description": "Add lava to this planet", "$ref": "#/definitions/LavaModule" }, - "name": { - "type": "string", - "description": "Unique name of your planet", - "minLength": 1 - }, "Orbit": { "description": "Describes this Body's orbit (or lack there of)", "$ref": "#/definitions/OrbitModule" @@ -111,11 +116,6 @@ "description": "Make this body a star", "$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": { "type": "string", "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?", "default": true }, + "lifespan": { + "type": "number", + "description": "How long this star will last until it supernovas.", + "format": "float", + "default": 22.0 + }, "hasStarController": { "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.", diff --git a/NewHorizons/Schemas/star_system_schema.json b/NewHorizons/Schemas/star_system_schema.json index 4f3a5805..47a2b787 100644 --- a/NewHorizons/Schemas/star_system_schema.json +++ b/NewHorizons/Schemas/star_system_schema.json @@ -24,6 +24,12 @@ "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." }, + "loopDuration": { + "type": "number", + "description": "The duration of the time loop.", + "format": "float", + "default": 22.0 + }, "mapRestricted": { "type": "boolean", "description": "Should the player not be able to view the map in this system?"