Files
vermine2047/module/system/settings.mjs
T
François-Xavier Guillois 2b5e639e9e from totem to vermine - v0.0.12
2023-06-06 11:06:04 +02:00

18 lines
526 B
JavaScript

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