Tactical Grid Range Band
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { L5r5eSetField } from "./data/l5r5e-setfield.js";
|
||||
import { TacticalGridSettingsL5R5E } from "./settings/tactical-grid-settings.js"
|
||||
|
||||
/**
|
||||
* Custom system settings register
|
||||
@@ -236,4 +237,29 @@ export const RegisterSettings = function () {
|
||||
default: [],
|
||||
onChange: () => game.l5r5e.HelpersL5r5e.refreshLocalAndSocket("l5r5e-gm-monitor"),
|
||||
});
|
||||
|
||||
/* -------------------------------------- */
|
||||
/* Grid Settings (GM only) */
|
||||
/* -------------------------------------- */
|
||||
|
||||
// UI Configuration
|
||||
game.settings.register(CONFIG.l5r5e.namespace, "tactical-grid-settings-world", {
|
||||
scope: "world",
|
||||
config: false,
|
||||
type: TacticalGridSettingsL5R5E.worldSchema,
|
||||
});
|
||||
|
||||
game.settings.register(CONFIG.l5r5e.namespace, "tactical-grid-settings-client", {
|
||||
scope: "client",
|
||||
config: false,
|
||||
type: TacticalGridSettingsL5R5E.clientSchema,
|
||||
});
|
||||
|
||||
game.settings.registerMenu(CONFIG.l5r5e.namespace, "tactical-grid-settings", {
|
||||
name: "l5r5e.tactical_grid.settings.title",
|
||||
label: "l5r5e.tactical_grid.settings.label",
|
||||
hint: "l5r5e.tactical_grid.settings.hint",
|
||||
icon: "fa-solid fa-table-layout",
|
||||
type: TacticalGridSettingsL5R5E
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user