Files
vermine2047/module/system/settings.mjs
T
François-Xavier Guillois 8e2e3d1ebf rolling
2023-05-17 17:39:50 +02:00

18 lines
516 B
JavaScript

export const registerSettings = function () {
game.settings.register("totem", "game-mode", {
name: game.i18n.localize("TOTEM.WorldSettings.GameMode.Name"),
hint: game.i18n.localize("TOTEM.WorldSettings.GameMode.Hint"),
scope: "system",
config: true,
type: String,
choices: {
"1": "Survie",
"2": "Cauchemar",
"3": "Apocalypse"
},
default: 'e',
onChange: value => {
// console.log(value);
}
});
}