From 40531bf4542a4ac18127fa7ce22d0990d2aa07f4 Mon Sep 17 00:00:00 2001 From: "Nick J. Connors" Date: Sun, 9 Jan 2022 16:39:48 -0500 Subject: [PATCH] Update schema --- NewHorizons/manifest.json | 2 +- NewHorizons/schema.json | 42 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 4 deletions(-) diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index 29356c07..76dad771 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -3,7 +3,7 @@ "author": "xen", "name": "New Horizons", "uniqueName": "xen.NewHorizons", - "version": "0.6.1", + "version": "0.6.2", "owmlVersion": "2.1.0", "dependencies": [ "PacificEngine.OW_CommonResources" ] } diff --git a/NewHorizons/schema.json b/NewHorizons/schema.json index d919a4d7..acad379a 100644 --- a/NewHorizons/schema.json +++ b/NewHorizons/schema.json @@ -2,9 +2,7 @@ "title": "Planet", "type": "object", "required": [ - "name", - "Base", - "Orbit" + "name" ], "properties": { "name": { @@ -61,6 +59,35 @@ "default": 0, "description": "Sea level for the planet. Optional" }, + "waterTint": { + "type": "object", + "properties": { + "R": { + "type": "integer", + "default": 0, + "minimum": 0, + "maximum": 255 + }, + "G": { + "type": "integer", + "default": 0, + "minimum": 0, + "maximum": 255 + }, + "B": { + "type": "integer", + "default": 0, + "minimum": 0, + "maximum": 255 + }, + "A": { + "type": "integer", + "default": 0, + "minimum": 0, + "maximum": 255 + } + } + }, "groundSize": { "type": "number", "default": 0, @@ -141,6 +168,11 @@ "type": "string", "description": "Relative filepath to the cloud ramp texture, if the planet has clouds. Optional." }, + "useBasicCloudShader": { + "type": "boolean", + "default": false, + "description" : "Use Giant's deep shader or just apply the cloud texture as is." + }, "fogTint": { "type": "object", "description": "Colour of fog on the planet.", @@ -349,6 +381,10 @@ "texture": { "type": "string", "description": "Relative filepath to the texture used for the rings." + }, + "rotationSpeed": { + "type": "number", + "default": 0 } } },