From b26c8a1eb530cc4da1a6ac44d1d76397fb397918 Mon Sep 17 00:00:00 2001 From: Daan Verstraten Date: Mon, 14 Mar 2022 12:59:17 +0100 Subject: [PATCH] Added sounds --- source/resource/sounds/sound_definitions.json | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/source/resource/sounds/sound_definitions.json b/source/resource/sounds/sound_definitions.json index e415adfa..030580c0 100644 --- a/source/resource/sounds/sound_definitions.json +++ b/source/resource/sounds/sound_definitions.json @@ -41,19 +41,15 @@ "title": "Sounds", "description": "UNDOCUMENTED: sounds", "anyOf": [ + { "type": "string", "$ref": "#/definitions/SoundPath" }, { - "$id": "#/Sound/sounds/stringItem", - "type": "string", - "$ref": "#/definitions/SoundPath", - "description": "UNDOCUMENTED", + "title": "Sounds", + "description": "A collection of sounds to choice from", "$comment": "UNDOCUMENTED", - "title": "Sounds" - }, - { "additionalProperties": false, - "$id": "#/Sound/sounds/ObjectItem", "type": "object", "required": ["name"], + "examples": [{ "load_on_low_memory": false, "name": "sounds/fx/example" }], "properties": { "is3D": { "description": "UNDOCUMENTED", @@ -83,10 +79,7 @@ "type": "integer", "minimum": 0 } - }, - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Sounds" + } } ] }