trioderegion / dnd5e-helpers

Little helpers for little 5e tasks.
MIT License
27 stars 22 forks source link

Features not working on Localized Foundry #182

Closed ariakas2008 closed 2 years ago

ariakas2008 commented 3 years ago

I am wondering why my DND5e helpers doesn't prompt me for Undead Fortitude nor Regeneration is working. My foundry is set in Italian, while my NPCs features are in english. Not sure if that's the issue... Foundry 0.8.9, D&D system 1.4.3 Active Modules:

About Time v 1.0.4; Actually Private Rolls v 0.2; Ammo Tracker v 0.1.4; Arbron’s Improved HP Bar v 2.0.5; Babele v 2.0.6; Better Rolls for 5e v 1.6.8; Better Roofs v 0.9.9.2; CodeMirror v 5.58.3-fvtt3; Colored Folder Contents v 1.01; Combat Utility Belt v 1.6.2; Core Italian Translation v 0.24; Crash's Automatic Blind Rolls (5e) v 0.8.1; Custom Css v 2.1.0; DF Quality of Life v 1.5.2; DFreds Droppables v 1.2.10; DF Settings Clarity v 3.2.1; Dice So Nice! v 4.1.4; Dice Tray v 1.2.1; Disable Mouse Wheel Control for Sliders v 1.2.3; DnD5e Helpers v 3.0.1; DnD5e Italian Translation v 0.43; DnD5e Ui v 1.4.2; Drag Ruler v 1.8.1; Drag Upload (Get Over Here!) v 2.0.0; Dynamic effects using Active Effects v 0.8.50; Force Client Settings v 1.0.1; FoundryVTT Arms Reach v 2.0.9; FXMaster v 1.2.1; GM Notes v 0.4.1; Illandril's Inventory Sorter (5e) v 1.1.3; Illandril's Token HUD scaler v 1.4.2; Initiative Double Click v 1.1; Item Containers v 1.8.5; Item Delete Check v 1.1.4; Laptop Form Fix v 0.0.8; Lazy Money v 0.9.13; Less Fog v 0.8.6; Let's Trade 5e v 0.3.0; Levels v 1.8.9.4; lib - Color Settings v 2.8.0; Library: DF Hotkeys v 2.3.5; libWrapper v 1.10.5.0; Lichtgeschwindigkeit (Lightspeed) v 1.4.4; Loot Sheet NPC 5e v 3.1.0; Maestro v 0.7.5; Magic Items v 2.1.2; Multilevel Tokens v 1.5.2; Perfect Vision v 2.9.7; Permission Viewer v 0.8.10; Ping Logger v 1.2.10; Pings v 1.2.12+0.8.6; Polyglot v 1.7.18; Search Anywhere v 2.2.0; Settings Extender v 1.1.6+0.8.6; Show Notes v 0.5; Simple Calendar v v1.3.39; Simple Dice Roller v 1.3.0; Simplefog - Manual Fog of War v 0.1.18; socketlib v 1.0.9; Switch to Chat v 1.1.1; Tidy5e Sheet v 0.5.14; Tidy UI - Game Settings v 0.1.25; Token Action HUD v 1.3.6; Token Auras v 1.14; Token HUD Wildcard v 1.4.0; Token Magic FX v 0.5.2.1; Track Tracker v 0.4.5; Turn Marker v 2.8.1; Variant Encumbrance+Midi v 0.4.6; Vehicles and Mechanisms v 0.4.0; Wall Height v 3.5.3.9; Your Tokens Visible v 2.7.0;

trioderegion commented 3 years ago

Can you run the following command in the console with 5e Helpers enabled?

game.i18n.localize('DND5EH.AutoRegen_HP')

This is the string that helpers will be searching for to detect a regeneration item. Am I correct in assuming that the text of your Regeneration item says something like "regains X hit points at the start..."?

ariakas2008 commented 3 years ago

the command returns: 'hit points' And this is my Regeneration item: image

trioderegion commented 3 years ago

thank you for that information. That is extremely odd as I would expect that to work -- everything is reporting what I expect it to be reporting.

I will have to try to replicate on my end with the Italian foundry translation. I'm sorry you are running into this issue 😞

trioderegion commented 2 years ago

Oh, duh, the solution is simple. Helpers is looking for a feature named "Regeneration" not "Regeneration." (with a period). Whatever importer you used appended periods to the end of features and will confuse Helpers for other functionality as well.

This exact match is required in case other features have "Regeneration" in their name, but is not the basic "Regeneration" feature.