Update schema

This commit is contained in:
Nick J. Connors 2022-01-09 16:39:48 -05:00
parent ff105e9f0d
commit 40531bf454
2 changed files with 40 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"author": "xen", "author": "xen",
"name": "New Horizons", "name": "New Horizons",
"uniqueName": "xen.NewHorizons", "uniqueName": "xen.NewHorizons",
"version": "0.6.1", "version": "0.6.2",
"owmlVersion": "2.1.0", "owmlVersion": "2.1.0",
"dependencies": [ "PacificEngine.OW_CommonResources" ] "dependencies": [ "PacificEngine.OW_CommonResources" ]
} }

View File

@ -2,9 +2,7 @@
"title": "Planet", "title": "Planet",
"type": "object", "type": "object",
"required": [ "required": [
"name", "name"
"Base",
"Orbit"
], ],
"properties": { "properties": {
"name": { "name": {
@ -61,6 +59,35 @@
"default": 0, "default": 0,
"description": "Sea level for the planet. Optional" "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": { "groundSize": {
"type": "number", "type": "number",
"default": 0, "default": 0,
@ -141,6 +168,11 @@
"type": "string", "type": "string",
"description": "Relative filepath to the cloud ramp texture, if the planet has clouds. Optional." "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": { "fogTint": {
"type": "object", "type": "object",
"description": "Colour of fog on the planet.", "description": "Colour of fog on the planet.",
@ -349,6 +381,10 @@
"texture": { "texture": {
"type": "string", "type": "string",
"description": "Relative filepath to the texture used for the rings." "description": "Relative filepath to the texture used for the rings."
},
"rotationSpeed": {
"type": "number",
"default": 0
} }
} }
}, },