From 6e5e86260055051b6d9d5a42933e02da569c344c Mon Sep 17 00:00:00 2001 From: Daan Verstraten Date: Sat, 12 Mar 2022 10:14:16 +0100 Subject: [PATCH] Added documentation to terrain textures --- source/resource/textures/terrain_texture.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/resource/textures/terrain_texture.json b/source/resource/textures/terrain_texture.json index bc075a1c..20b2c99f 100644 --- a/source/resource/textures/terrain_texture.json +++ b/source/resource/textures/terrain_texture.json @@ -25,7 +25,7 @@ "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, "tint_color": { "title": "Tint Color", - "description": "UNDOCUMENTED", + "description": "The tint color to be applied to the texture", "$comment": "UNDOCUMENTED", "format": "color-hex", "examples": ["#FFFFFF"], @@ -34,17 +34,17 @@ "variations": { "type": "array", "title": "Variantions", - "description": "UNDOCUMENTED", + "description": "The possible variations to use for this texture", "$comment": "UNDOCUMENTED", "items": { "type": "object", "title": "Variantion", - "description": "UNDOCUMENTED", + "description": "One of the variantions, specified along with a possible weight", "$comment": "UNDOCUMENTED", "required": ["path"], "properties": { "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, - "weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + "weight": { "type": "integer", "title": "Weight", "description": "The weight of the texture", "$comment": "UNDOCUMENTED" } } } }