From 8d7201819cb69c252213a965dc2242ee070a831c Mon Sep 17 00:00:00 2001 From: Ben C Date: Wed, 22 Mar 2023 03:14:49 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/star_system_schema.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/NewHorizons/Schemas/star_system_schema.json b/NewHorizons/Schemas/star_system_schema.json index 40d7e8f4..f7d281b8 100644 --- a/NewHorizons/Schemas/star_system_schema.json +++ b/NewHorizons/Schemas/star_system_schema.json @@ -152,13 +152,18 @@ "description": "Whether to always spawn the player on the vessel, even if it wasn't used to warp to the system." }, "hasPhysics": { - "type": "boolean", - "description": "Whether the vessel should have physics enabled. This must be set to false for the vessel to stay attached to a parent body.", - "default": true + "type": [ + "boolean", + "null" + ], + "description": "Whether the vessel should have physics enabled. Defaults to false if parentBody is set, and true otherwise." }, "hasZeroGravityVolume": { - "type": "boolean", - "description": "Whether the vessel should have a zero-gravity volume around it that ignores any other sources of gravity, like the vessel works in Dark Bramble." + "type": [ + "boolean", + "null" + ], + "description": "Whether the vessel should have a zero-gravity volume around it. Defaults to false if parentBody is set, and true otherwise." }, "vesselSpawn": { "description": "The location that the vessel will warp to.",