chore: reformat with 2 spaces
This commit is contained in:
parent
d659e4bed9
commit
7670d7f808
1577 changed files with 70010 additions and 70042 deletions
|
@ -5,36 +5,36 @@
|
|||
import { getGame } from "./utils/utils";
|
||||
|
||||
export function registerSystemSettings() {
|
||||
const game = getGame();
|
||||
const game = getGame();
|
||||
|
||||
/**
|
||||
* Track the migration version of the latest migration that has been applied.
|
||||
*/
|
||||
game.settings.register("ds4", "systemMigrationVersion", {
|
||||
name: "System Migration Version",
|
||||
scope: "world",
|
||||
config: false,
|
||||
type: Number,
|
||||
default: -1,
|
||||
});
|
||||
/**
|
||||
* Track the migration version of the latest migration that has been applied.
|
||||
*/
|
||||
game.settings.register("ds4", "systemMigrationVersion", {
|
||||
name: "System Migration Version",
|
||||
scope: "world",
|
||||
config: false,
|
||||
type: Number,
|
||||
default: -1,
|
||||
});
|
||||
|
||||
game.settings.register("ds4", "useSlayingDiceForAutomatedChecks", {
|
||||
name: "DS4.SettingUseSlayingDiceForAutomatedChecksName",
|
||||
hint: "DS4.SettingUseSlayingDiceForAutomatedChecksHint",
|
||||
scope: "world",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
game.settings.register("ds4", "useSlayingDiceForAutomatedChecks", {
|
||||
name: "DS4.SettingUseSlayingDiceForAutomatedChecksName",
|
||||
hint: "DS4.SettingUseSlayingDiceForAutomatedChecksHint",
|
||||
scope: "world",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
|
||||
game.settings.register("ds4", "showSlayerPoints", {
|
||||
name: "DS4.SettingShowSlayerPointsName",
|
||||
hint: "DS4.SettingShowSlayerPointsHint",
|
||||
scope: "world",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
game.settings.register("ds4", "showSlayerPoints", {
|
||||
name: "DS4.SettingShowSlayerPointsName",
|
||||
hint: "DS4.SettingShowSlayerPointsHint",
|
||||
scope: "world",
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -49,10 +49,10 @@ export function registerSystemSettings() {
|
|||
* @returns {DS4Settings}
|
||||
*/
|
||||
export function getDS4Settings() {
|
||||
const game = getGame();
|
||||
return {
|
||||
systemMigrationVersion: game.settings.get("ds4", "systemMigrationVersion"),
|
||||
useSlayingDiceForAutomatedChecks: game.settings.get("ds4", "useSlayingDiceForAutomatedChecks"),
|
||||
showSlayerPoints: game.settings.get("ds4", "showSlayerPoints"),
|
||||
};
|
||||
const game = getGame();
|
||||
return {
|
||||
systemMigrationVersion: game.settings.get("ds4", "systemMigrationVersion"),
|
||||
useSlayingDiceForAutomatedChecks: game.settings.get("ds4", "useSlayingDiceForAutomatedChecks"),
|
||||
showSlayerPoints: game.settings.get("ds4", "showSlayerPoints"),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue