From bd16a814321c584326022398c9ccb5ea7fd9d9bf Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 25 Nov 2022 22:34:10 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index f6a68d6f..29b15f17 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -2575,6 +2575,18 @@ "type": "object", "additionalProperties": false, "properties": { + "layer": { + "type": "integer", + "description": "The layer of this volume.", + "format": "int32", + "default": 0 + }, + "priority": { + "type": "integer", + "description": "The priority for this volume's effects to be applied. \nEx, a player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.", + "format": "int32", + "default": 1 + }, "position": { "description": "The location of this volume. Optional (will default to 0,0,0).", "$ref": "#/definitions/MVector3" @@ -2614,6 +2626,24 @@ "default": 1.0, "maximum": 1.0, "minimum": 0.0 + }, + "fadeSeconds": { + "type": "number", + "description": "How long it will take to fade this sound in and out when entering/exiting this volume.", + "format": "float", + "default": 2.0 + }, + "noFadeFromBeginning": { + "type": "boolean", + "description": "Play the sound instantly without any fading." + }, + "randomizePlayhead": { + "type": "boolean", + "description": "Randomize what time the audio starts at." + }, + "pauseOnFadeOut": { + "type": "boolean", + "description": "Pause the music when exiting the volume." } } },