rolling
This commit is contained in:
@@ -1,29 +1,18 @@
|
||||
export const registerSettings = function () {
|
||||
game.settings.register("totem", "game-level", {
|
||||
name: game.i18n.localize("TOTEM.WorldSettings.GameLevel.Name"),
|
||||
hint: game.i18n.localize("TOTEM.WorldSettings.GameLevel.Hint"),
|
||||
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: {
|
||||
"e": "Totem",
|
||||
"c": "Céphale",
|
||||
"b": "Bohème",
|
||||
"a": "Amertume"
|
||||
"1": "Survie",
|
||||
"2": "Cauchemar",
|
||||
"3": "Apocalypse"
|
||||
},
|
||||
default: 'e',
|
||||
onChange: value => {
|
||||
console.log(value);
|
||||
// console.log(value);
|
||||
}
|
||||
});
|
||||
|
||||
game.settings.register("totem", "granting_cephalie", {
|
||||
name: game.i18n.localize("TOTEM.WorldSettings.GrantingCephales.Label"),
|
||||
hint: game.i18n.localize("TOTEM.WorldSettings.GrantingCephales.Description"),
|
||||
scope: "system",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: !1
|
||||
})
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user