import { MODULE_ID, SETTINGS } from "./constants.js"; import { ConfigurableReactionsConfigApp } from "./apps/reaction-config-app.js"; export function registerSettings() { game.settings.registerMenu(MODULE_ID, "configureReactions", { name: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Configure.Name"), label: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Configure.Label"), hint: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Configure.Hint"), icon: "fa-solid fa-bolt", type: ConfigurableReactionsConfigApp, restricted: true }); game.settings.register(MODULE_ID, SETTINGS.REACTIONS, { name: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Reactions.Name"), hint: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Reactions.Hint"), scope: "world", config: false, type: Array, default: [] }); game.settings.register(MODULE_ID, SETTINGS.ASSIGNMENTS, { name: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Assignments.Name"), hint: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.Assignments.Hint"), scope: "world", config: false, type: Array, default: [] }); game.settings.register(MODULE_ID, SETTINGS.SHOW_FAILED_TELEPORT_MESSAGES, { name: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.ShowFailedTeleportMessages.Name"), hint: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.ShowFailedTeleportMessages.Hint"), scope: "world", config: true, type: Boolean, default: true }); game.settings.register(MODULE_ID, SETTINGS.CREATE_MANAGED_EFFECTS_ON_ASSIGNMENT, { name: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.CreateManagedEffects.Name"), hint: game.i18n.localize("CONFIGURABLE_REACTIONS.Settings.CreateManagedEffects.Hint"), scope: "world", config: true, type: Boolean, default: true }); }