ds4/src/module/settings.ts

22 lines
655 B
TypeScript
Raw Normal View History

export function registerSystemSettings(): void {
/**
2021-01-20 22:11:53 +01:00
* Track the migrations version of the latest migration that has been applied
*/
game.settings.register("ds4", "systemMigrationVersion", {
name: "System Migration Version",
scope: "world",
config: false,
2021-01-20 22:11:53 +01:00
type: Number,
default: -1,
});
2021-03-18 08:52:02 +01:00
game.settings.register("ds4", "useSlayingDiceForAutomatedChecks", {
name: "DS4.SettingUseSlayingDiceForAutomatedChecksName",
hint: "DS4.SettingUseSlayingDiceForAutomatedChecksHint",
scope: "world",
config: true,
type: Boolean,
default: false,
});
}