From 059beedca3bbf2206f49f9d45ab05647a05bd250 Mon Sep 17 00:00:00 2001 From: Ben C Date: Sat, 26 Nov 2022 21:03:46 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 66e70e23..03fedb7f 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -575,10 +575,10 @@ "format": "float", "default": 750.0 }, - "hasVines": { - "type": "boolean", - "description": "Whether this dimensions has vines.\nSet to false if you want to create your own vines.", - "default": true + "vinePrefab": { + "description": "The dimension the vines will be copied from.\nOnly a handful are available due to batched colliders.", + "default": "hub", + "$ref": "#/definitions/VinePrefabType" }, "allowedEntrances": { "type": "array", @@ -590,6 +590,24 @@ } } }, + "VinePrefabType": { + "type": "string", + "description": "", + "x-enumNames": [ + "None", + "Hub", + "Cluster", + "SmallNest", + "ExitOnly" + ], + "enum": [ + "none", + "hub", + "cluster", + "smallNest", + "exitOnly" + ] + }, "BrambleNodeInfo": { "type": "object", "additionalProperties": false,