From a0889e4fa9da167311c45b7295c58b62787135cc Mon Sep 17 00:00:00 2001 From: datdamnzotz Date: Mon, 5 Jun 2023 09:20:45 -0500 Subject: [PATCH] Add support for moulinette --- module.json | 7 +++++-- scripts/moulinette.js | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 scripts/moulinette.js diff --git a/module.json b/module.json index c43f654..c3dcef8 100644 --- a/module.json +++ b/module.json @@ -3,7 +3,7 @@ "id": "gAudioBundle-3", "title": "Game Audio Bundle 3", "description": "

High-quality sound effects from many of the best sound recordists and designers in the World. Use them personally or commercially without attribution. Sonniss LTD.

", - "version": "3.0", + "version": "3.0", "compatibility": { "minimum": "0.5.0", "verified": 11 @@ -18,7 +18,10 @@ "type": "Playlist" } ], + "scripts": [ + "scripts/moulinette.js" + ], "url": "https://github.com/datdamnzotz/FoundryVTT-Game-Audio-Bundle-3", "manifest": "https://raw.githubusercontent.com/datdamnzotz/FoundryVTT-Game-Audio-Bundle-3/master/module.json", - "download": "https://github.com/datdamnzotz/FoundryVTT-Game-Audio-Bundle-3/releases/download/v3.0/v3.0.zip" + "download": "https://github.com/datdamnzotz/FoundryVTT-Game-Audio-Bundle-3/releases/download/v3.0/v3.0.zip" } diff --git a/scripts/moulinette.js b/scripts/moulinette.js new file mode 100644 index 0000000..bdd6546 --- /dev/null +++ b/scripts/moulinette.js @@ -0,0 +1,5 @@ +Hooks.once("ready", async function () { + if(game.moulinette) { + game.moulinette.sources.push({ type: "sounds", publisher: "Sonniss", pack: "FoundryVTT Game Audio Bundle 3", source: "data", path: "modules/gAudioBundle-3/src" }) + } + }); \ No newline at end of file