From f3b803111e56b6d3a80e31f95ef0992b551fc6a5 Mon Sep 17 00:00:00 2001 From: p4535992 Date: Thu, 29 Sep 2022 23:50:02 +0200 Subject: [PATCH] version 2.2.11 --- changelog.md | 2 +- package.json | 2 +- src/languages/en.json | 24 +++++ src/module.json | 6 +- src/scripts/ArmsReachHelper.ts | 106 +++++++++++++++++++- src/scripts/module.ts | 33 ++++--- src/scripts/settings.ts | 176 ++++++++++++++++++++++++++++++--- 7 files changed, 313 insertions(+), 36 deletions(-) diff --git a/changelog.md b/changelog.md index ed8584a..f27bdcd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,5 @@ # CHANGELOG -### 2.2.10 +### 2.2.10-11 - Bug fix : [[BUG] PF2e LootSheet Characters still able to be interacted with from distance ](https://github.com/p4535992/foundryvtt-arms-reach/issues/65) diff --git a/package.json b/package.json index 1f1ebce..7622452 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "foundryvtt-arms-reach", "title": "FoundryVTT Arms Reach", "description": "Allows the GM to limit the distance that a player can interacted with a placeable object like door, journal, stairway, token, ecc..", - "version": "2.2.10", + "version": "2.2.11", "main": "foundryvtt-arms-reach.js", "scripts": { "publish": "gulp publish --update", diff --git a/src/languages/en.json b/src/languages/en.json index 7170271..7dd33a6 100644 --- a/src/languages/en.json +++ b/src/languages/en.json @@ -120,6 +120,30 @@ "foundryvtt-arms-reach.settingNameTaggerIntegrationFeature": "Enable/Disable Tagger Module integration", "foundryvtt-arms-reach.settingHintTaggerIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + "foundryvtt-arms-reach.settingNameTaggerStairwayIntegrationFeature": "Enable/Disable Tagger Stairway Module integration", + "foundryvtt-arms-reach.settingHintTaggerStairwayIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerTokenIntegrationFeature": "Enable/Disable Tagger Token Module integration", + "foundryvtt-arms-reach.settingHintTaggerTokenIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerNoteIntegrationFeature": "Enable/Disable Tagger Note Module integration", + "foundryvtt-arms-reach.settingHintTaggerNoteIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerLightIntegrationFeature": "Enable/Disable Tagger Light Module integration", + "foundryvtt-arms-reach.settingHintTaggerLightIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerSoundIntegrationFeature": "Enable/Disable Tagger Sound Module integration", + "foundryvtt-arms-reach.settingHintTaggerSoundIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerDrawingIntegrationFeature": "Enable/Disable Tagger Drawing Module integration", + "foundryvtt-arms-reach.settingHintTaggerDrawingIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerTileIntegrationFeature": "Enable/Disable Tagger Tile Module integration", + "foundryvtt-arms-reach.settingHintTaggerTileIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + + "foundryvtt-arms-reach.settingNameTaggerWallIntegrationFeature": "Enable/Disable Tagger Wall Module integration", + "foundryvtt-arms-reach.settingHintTaggerWallIntegrationFeature": "All the distance calculation are limited now to placeable object with the 'armsreach' tag on it. Remember you need to activate the tagger module for this", + "foundryvtt-arms-reach.settingNameResetDoorsAndFogFeature": "Reset Doors And Fog Feature", "foundryvtt-arms-reach.settingHintResetDoorsAndFogFeature": "Add a voice on context menu for close all the doors and reset the fog on a scene", diff --git a/src/module.json b/src/module.json index 9d9c8c7..ae9dadf 100644 --- a/src/module.json +++ b/src/module.json @@ -2,7 +2,7 @@ "id": "foundryvtt-arms-reach", "title": "FoundryVTT Arms Reach", "description": "Allows the GM to limit the distance that a player can interacted with a placeable object like door, journal, stairway, token, ecc..", - "version": "2.2.10", + "version": "2.2.11", "authors": [ { "name": "Psyny" @@ -83,8 +83,8 @@ "url": "https://github.com/p4535992/foundryvtt-arms-reach", "manifest": "https://github.com/p4535992/foundryvtt-arms-reach/releases/latest/download/module.json", "download": "https://github.com/p4535992/foundryvtt-arms-reach/releases/latest/download/module.zip", - "readme": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.2.10/README.md", - "changelog": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.2.10/changelog.md", + "readme": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.2.11/README.md", + "changelog": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.2.11/changelog.md", "bugs": "https://github.com/p4535992/foundryvtt-arms-reach/issues", "allowBugReporter": true, "relationships": { diff --git a/src/scripts/ArmsReachHelper.ts b/src/scripts/ArmsReachHelper.ts index 4354f1d..a022265 100644 --- a/src/scripts/ArmsReachHelper.ts +++ b/src/scripts/ArmsReachHelper.ts @@ -379,7 +379,101 @@ export const reselectTokenAfterInteraction = function (character: Token): void { } }; -export const checkTaggerForAmrsreach = function (placeable: PlaceableObject) { +export const checkTaggerForAmrsreachForStairway = function (placeable: PlaceableObject) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerStairwayIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForToken = function (placeable: Token) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerTokenIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForNote = function (placeable: Note) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerNoteIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForLight = function (placeable: AmbientLight) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerLightIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForSound = function (placeable: AmbientSound) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerSoundIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForDrawing = function (placeable: Drawing) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerDrawingIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForTile = function (placeable: Tile) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerTileIntegration"))) { + return true; + } + //@ts-ignore + const tags = Tagger?.getTags(placeable) || []; + if (tags.includes(CONSTANTS.TAGGER_FLAG)) { + return true; + } else { + return false; + } +}; + +export const checkTaggerForAmrsreachForWall = function (placeable: Wall) { + if (!(game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerWallIntegration"))) { + return true; + } //@ts-ignore const tags = Tagger?.getTags(placeable) || []; if (tags.includes(CONSTANTS.TAGGER_FLAG)) { @@ -389,6 +483,16 @@ export const checkTaggerForAmrsreach = function (placeable: PlaceableObject) { } }; +// export const checkTaggerForAmrsreach = function (placeable: PlaceableObject) { +// //@ts-ignore +// const tags = Tagger?.getTags(placeable) || []; +// if (tags.includes(CONSTANTS.TAGGER_FLAG)) { +// return true; +// } else { +// return false; +// } +// }; + export const getMousePosition = function (canvas: Canvas, event): { x: number; y: number } { // const transform = canvas?.tokens?.worldTransform; // return { diff --git a/src/scripts/module.ts b/src/scripts/module.ts index c98225a..2d7a545 100644 --- a/src/scripts/module.ts +++ b/src/scripts/module.ts @@ -2,7 +2,13 @@ import { warn, error, debug, i18n, i18nFormat, getCharacterName } from "./lib/li import { StairwaysReach } from "./StairwaysReach"; import { ResetDoorsAndFog } from "./resetdoorsandfog"; import { - checkTaggerForAmrsreach, + checkTaggerForAmrsreachForDrawing, + checkTaggerForAmrsreachForLight, + checkTaggerForAmrsreachForNote, + checkTaggerForAmrsreachForSound, + checkTaggerForAmrsreachForTile, + checkTaggerForAmrsreachForToken, + checkTaggerForAmrsreachForWall, getFirstPlayerToken, getFirstPlayerTokenNo, getFirstPlayerTokenSelected, @@ -36,9 +42,8 @@ export const initHooks = () => { warn("Init Hooks processing"); Hooks.once("socketlib.ready", registerSocket); - taggerModuleActive = - game.modules.get(CONSTANTS.TAGGER_MODULE_NAME)?.active && - game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerIntegration"); + taggerModuleActive = game.modules.get(CONSTANTS.TAGGER_MODULE_NAME)?.active; + // game.settings.get(CONSTANTS.MODULE_NAME, "enableTaggerIntegration"); if (game.settings.get(CONSTANTS.MODULE_NAME, "enableArmsReach")) { if (game.settings.get(CONSTANTS.MODULE_NAME, "enableDoorsIntegration")) { @@ -272,7 +277,7 @@ export const readyHooks = async () => { ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(drawing)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForDrawing(drawing)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -308,7 +313,7 @@ export const readyHooks = async () => { ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(tile)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForTile(tile)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -344,7 +349,7 @@ export const readyHooks = async () => { ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(wall)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForWall(wall)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -528,7 +533,7 @@ export const TokenPrototypeOnClickLeft2Handler = async function (wrapped, ...arg if ( isTokenNameChecked || (isNPCLootSheet && enableNPCLootSheet) || - (taggerModuleActive && checkTaggerForAmrsreach(token)) + (taggerModuleActive && checkTaggerForAmrsreachForToken(token)) ) { const nameSourceToken = game.settings.get(CONSTANTS.MODULE_NAME, "tokensIntegrationExplicitName"); let tokenSelected; @@ -563,7 +568,7 @@ export const TokenPrototypeOnClickLeft2Handler = async function (wrapped, ...arg ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(token)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForToken(token)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -630,7 +635,7 @@ export const NotePrototypeOnClickLeft2Handler = async function (wrapped, ...args ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(note)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForNote(note)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -671,7 +676,7 @@ export const DoorControlPrototypeOnMouseDownHandler = async function (wrapped, . ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(doorControl.wall)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForWall(doorControl.wall)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -734,7 +739,7 @@ export const DoorControlPrototypeOnRightDownHandler = async function (wrapped, . ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(doorControl.wall)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForWall(doorControl.wall)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -771,7 +776,7 @@ export const AmbientLightPrototypeOnClickRightHandler = async function (wrapped, ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(light)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForLight(light)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } @@ -808,7 +813,7 @@ export const AmbientSoundPrototypeOnClickRightHandler = async function (wrapped, ) { doNotReselectIfGM = true; } - if (taggerModuleActive && !checkTaggerForAmrsreach(sound)) { + if (taggerModuleActive && !checkTaggerForAmrsreachForSound(sound)) { if (!doNotReselectIfGM) { reselectTokenAfterInteraction(tokenSelected); } diff --git a/src/scripts/settings.ts b/src/scripts/settings.ts index 16310ff..953ae07 100644 --- a/src/scripts/settings.ts +++ b/src/scripts/settings.ts @@ -245,6 +245,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerStairwayIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerStairwayIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerStairwayIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // JOURNAL SUPPORT // ======================================================== @@ -267,6 +276,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerNoteIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerNoteIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerNoteIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // TOKEN SUPPORT // ======================================================== @@ -316,6 +334,15 @@ export const registerSettings = function () { type: String, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerTokenIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerTokenIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerTokenIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // LIGHT SUPPORT // ======================================================== @@ -338,6 +365,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerLightIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerLightIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerLightIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // SOUNDS SUPPORT // ======================================================== @@ -360,6 +396,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerSoundIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerSoundIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerSoundIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // DRAWING SUPPORT // ======================================================== @@ -382,6 +427,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerDrawingIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerDrawingIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerDrawingIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // TILE SUPPORT // ======================================================== @@ -404,6 +458,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerTileIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerTileIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerTileIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // WALL SUPPORT // ======================================================== @@ -426,6 +489,15 @@ export const registerSettings = function () { type: Boolean, }); + game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerWallIntegration", { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerWallIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerWallIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }); + // ======================================================== // TEMPLATES SUPPORT // ======================================================== @@ -443,14 +515,14 @@ export const registerSettings = function () { // TAGGER SUPPORT // ======================================================== - game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerIntegration", { - name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerIntegrationFeature`), - hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerIntegrationFeature`), - scope: "world", - config: true, - default: false, - type: Boolean, - }); + // game.settings.register(CONSTANTS.MODULE_NAME, "enableTaggerIntegration", { + // name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerIntegrationFeature`), + // hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerIntegrationFeature`), + // scope: "world", + // config: true, + // default: false, + // type: Boolean, + // }); // ======================================================== // Reset Doors and Fog @@ -932,6 +1004,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerStairwayIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerStairwayIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerStairwayIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // JOURNAL SUPPORT // ======================================================== @@ -954,6 +1035,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerNoteIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerNoteIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerNoteIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // TOKEN SUPPORT // ======================================================== @@ -1003,6 +1093,15 @@ function otherSettings(apply = false) { type: String, }, + enableTaggerTokenIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerTokenIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerTokenIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // LIGHT SUPPORT // ======================================================== @@ -1025,6 +1124,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerLightIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerLightIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerLightIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // SOUNDS SUPPORT // ======================================================== @@ -1047,6 +1155,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerSoundIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerSoundIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerSoundIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // DRAWING SUPPORT // ======================================================== @@ -1069,6 +1186,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerDrawingIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerDrawingIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerDrawingIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // TILE SUPPORT // ======================================================== @@ -1091,6 +1217,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerTileIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerTileIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerTileIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // WALL SUPPORT // ======================================================== @@ -1113,6 +1248,15 @@ function otherSettings(apply = false) { type: Boolean, }, + enableTaggerWallIntegration: { + name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerWallIntegrationFeature`), + hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerWallIntegrationFeature`), + scope: "world", + config: true, + default: false, + type: Boolean, + }, + // ======================================================== // TEMPLATES SUPPORT // ======================================================== @@ -1130,14 +1274,14 @@ function otherSettings(apply = false) { // TAGGER SUPPORT // ======================================================== - enableTaggerIntegration: { - name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerIntegrationFeature`), - hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerIntegrationFeature`), - scope: "world", - config: true, - default: false, - type: Boolean, - }, + // enableTaggerIntegration: { + // name: i18n(`${CONSTANTS.MODULE_NAME}.settingNameTaggerIntegrationFeature`), + // hint: i18n(`${CONSTANTS.MODULE_NAME}.settingHintTaggerIntegrationFeature`), + // scope: "world", + // config: true, + // default: false, + // type: Boolean, + // }, // ======================================================== // Reset Doors and Fog