From 0fac02ad01dfcbdbbc788faf1fa83a33dfec713b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 Jul 2022 04:19:22 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 10 +++++++++- NewHorizons/Schemas/star_system_schema.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 97d73d0d..60684d67 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -231,7 +231,7 @@ "type": "integer", "description": "The alpha (opacity) component of this colour", "format": "int32", - "default": 255.0, + "default": 255, "maximum": 255.0, "minimum": 0.0 } @@ -675,6 +675,14 @@ "textureMap": { "type": "string", "description": "Relative filepath to the texture used for the terrain." + }, + "resolution": { + "type": "integer", + "description": "Resolution of the heightmap.\nHigher values means more detail but also more memory/cpu/gpu usage.", + "format": "int32", + "default": 51, + "maximum": 2147483647.0, + "minimum": 0.0 } } }, diff --git a/NewHorizons/Schemas/star_system_schema.json b/NewHorizons/Schemas/star_system_schema.json index be0acb8b..1779f8ce 100644 --- a/NewHorizons/Schemas/star_system_schema.json +++ b/NewHorizons/Schemas/star_system_schema.json @@ -234,7 +234,7 @@ "type": "integer", "description": "The alpha (opacity) component of this colour", "format": "int32", - "default": 255.0, + "default": 255, "maximum": 255.0, "minimum": 0.0 }