From fe3dd1176ba214bd219bf9a67903888b8fbd6d0e Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 13 Jun 2024 20:20:45 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/star_system_schema.json | 40 +++++++++++++++++++-- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/NewHorizons/Schemas/star_system_schema.json b/NewHorizons/Schemas/star_system_schema.json index e80caae9..7d781d18 100644 --- a/NewHorizons/Schemas/star_system_schema.json +++ b/NewHorizons/Schemas/star_system_schema.json @@ -59,9 +59,9 @@ "type": "boolean", "description": "Set to `true` if you want the player to stay in this star system if they die in it." }, - "travelAudio": { - "type": "string", - "description": "The audio that will play when travelling in space. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + "GlobalMusic": { + "description": "Replace music that plays globally", + "$ref": "#/definitions/GlobalMusicModule" }, "Vessel": { "description": "Configure warping to this system with the vessel", @@ -143,6 +143,40 @@ } } }, + "GlobalMusicModule": { + "type": "object", + "additionalProperties": false, + "properties": { + "travelAudio": { + "type": "string", + "description": "The audio that will play when travelling in space. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "endTimesAudio": { + "type": "string", + "description": "The audio that will play right before the loop ends. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "endTimesDreamAudio": { + "type": "string", + "description": "The audio that will play right before the loop ends while inside the dreamworld. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "brambleDimensionAudio": { + "type": "string", + "description": "The audio that will play when travelling through a bramble dimension. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "finalEndTimesIntroAudio": { + "type": "string", + "description": "The audio that will play when you leave the ash twin project after taking out the advanced warp core. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "finalEndTimesLoopAudio": { + "type": "string", + "description": "The audio that will loop after the final end times intro. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + }, + "finalEndTimesBrambleDimensionAudio": { + "type": "string", + "description": "The audio that will loop after the final end times intro while inside a bramble dimension. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." + } + } + }, "VesselModule": { "type": "object", "additionalProperties": false,