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,