From 9fe2845900c9485399c251a8101f6c09ad3ba6a8 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 4 Oct 2024 16:48:58 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 6582e215..75aee4e0 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -3631,6 +3631,18 @@ "description": "Offsets the player/ship by this local vector when spawning. Used to prevent spawning in the floor. Optional: defaults to (0, 4, 0).", "$ref": "#/definitions/MVector3" }, + "isDefault": { + "type": "boolean", + "description": "Whether this planet's spawn point is the one the player/ship will initially spawn at, if multiple spawn points exist.\nDo not use at the same time as makeDefaultIfFactRevealed or makeDefaultIfPersistentCondition\nSpawns unlocked with this have lowest priority" + }, + "makeDefaultIfFactRevealed": { + "type": "string", + "description": "If the given ship log fact is revealed, this spawn point will be used\nDo not use at the same time as isDefault or makeDefaultIfPersistentCondition\nSpawns unlocked with this have highest priority" + }, + "makeDefaultIfPersistentCondition": { + "type": "string", + "description": "If the given persistent condition is true, this spawn point will be used\nDo not use at the same time as isDefault or makeDefaultIfFactRevealed\nSpawns unlocked with this have second highest priority" + }, "rotation": { "description": "Rotation of the object", "$ref": "#/definitions/MVector3" @@ -3661,10 +3673,6 @@ "startWithSuit": { "type": "boolean", "description": "If you spawn on a planet with no oxygen, you probably want to set this to true ;;)" - }, - "isDefault": { - "type": "boolean", - "description": "Whether this planet's spawn point is the one the player will initially spawn at, if multiple spawn points exist." } } }, @@ -3676,6 +3684,18 @@ "description": "Offsets the player/ship by this local vector when spawning. Used to prevent spawning in the floor. Optional: defaults to (0, 4, 0).", "$ref": "#/definitions/MVector3" }, + "isDefault": { + "type": "boolean", + "description": "Whether this planet's spawn point is the one the player/ship will initially spawn at, if multiple spawn points exist.\nDo not use at the same time as makeDefaultIfFactRevealed or makeDefaultIfPersistentCondition\nSpawns unlocked with this have lowest priority" + }, + "makeDefaultIfFactRevealed": { + "type": "string", + "description": "If the given ship log fact is revealed, this spawn point will be used\nDo not use at the same time as isDefault or makeDefaultIfPersistentCondition\nSpawns unlocked with this have highest priority" + }, + "makeDefaultIfPersistentCondition": { + "type": "string", + "description": "If the given persistent condition is true, this spawn point will be used\nDo not use at the same time as isDefault or makeDefaultIfFactRevealed\nSpawns unlocked with this have second highest priority" + }, "rotation": { "description": "Rotation of the object", "$ref": "#/definitions/MVector3"