Consommer nourriture et boisson WIP

This commit is contained in:
Vincent Vandemeulebrouck
2021-04-06 23:44:57 +02:00
parent 8770b29a5e
commit 4efa321693
6 changed files with 277 additions and 6 deletions

View File

@ -117,6 +117,20 @@ Hooks.once("init", async function () {
default: true,
type: Boolean
});
/* -------------------------------------------- */
game.settings.register("foundryvtt-reve-de-dragon", "appliquer-famine-soif", {
name: "Notifier de la famine et la soif pour",
hint: "Indique si les cas de famine et de soif seront indiqués durant Château Dormant",
scope: "world",
config: true,
type: String,
choices: {
"aucun": "ni la famine, ni la soif",
"famine": "seulement la famine",
"famine-soif": "la famine et la soif",
},
default: "aucun"
});
/* -------------------------------------------- */
// Set an initiative formula for the system