2021-01-19 03:31:40 +01:00
|
|
|
export function registerSystemSettings(): void {
|
|
|
|
/**
|
2021-01-20 22:11:53 +01:00
|
|
|
* Track the migrations version of the latest migration that has been applied
|
2021-01-19 03:31:40 +01:00
|
|
|
*/
|
|
|
|
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-01-19 03:31:40 +01:00
|
|
|
});
|
|
|
|
}
|