#93 - Option de controle des bruitages

This commit is contained in:
2021-01-12 20:58:30 +01:00
parent f3ed299ac9
commit ad00a3f700
3 changed files with 17 additions and 8 deletions

View File

@ -171,8 +171,15 @@ Hooks.once("init", async function() {
default: true,
type: Boolean
});
//game.settings.get("<systemName>","<settingName>") to retrieve it and game.settings.set("<systemName>","<settingName>", <newValue>)
/* -------------------------------------------- */
game.settings.register("foundryvtt-reve-de-dragon", "activer-sons-audio", {
name: "Activer les bruitages intégrés",
hint: "Si activé, certaines actions en jeu déclenchent un son d'ambiance",
scope: "world",
config: true,
default: true,
type: Boolean
});
/* -------------------------------------------- */
// Set an initiative formula for the system