From 6ca3ee7ae6b28754e8dba3ab30e87dd4751d8351 Mon Sep 17 00:00:00 2001 From: Ben C Date: Tue, 18 Jul 2023 05:50:23 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 37 +++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index c1442778..83e87e10 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -3214,10 +3214,9 @@ "default": "default", "$ref": "#/definitions/StellarRemnantType" }, - "solarFlareScaleFactor": { - "type": "number", - "description": "Size multiuplier for solar flares. Defaults to 1.", - "format": "float" + "solarFlareSettings": { + "description": "Allows overriding solar flare graphical settings.", + "$ref": "#/definitions/SolarFlareModule" } } }, @@ -3257,6 +3256,36 @@ "custom" ] }, + "SolarFlareModule": { + "type": "object", + "additionalProperties": false, + "properties": { + "scaleFactor": { + "type": "number", + "description": "Size multiuplier for solar flares. Defaults to 1.", + "format": "float", + "default": 1 + }, + "lifeLength": { + "type": "number", + "description": "How long a solar flare is visible for. Defaults to 15.", + "format": "float", + "default": 15.0 + }, + "minTimeBetweenFlares": { + "type": "number", + "description": "Solar flares are emitted randomly. This is the minimum ammount of time between solar flares.", + "format": "float", + "default": 5.0 + }, + "maxTimeBetweenFlares": { + "type": "number", + "description": "Solar flares are emitted randomly. This is the maximum ammount of time between solar flares.", + "format": "float", + "default": 30.0 + } + } + }, "WaterModule": { "type": "object", "additionalProperties": false,