Shadowdarklings importer won't work with Babele translations
Steps to reproduce:
- Get the system, Babele, libWrapper and the translation (In this case, shadowdark-rpg-fr)
- Activate the translation module and it's dependencies. Also choose the language of the translation.
- Try to import the character from Shadowdarklings
- ???
- Profit.
Here's the video with the replication of the issue. https://youtu.be/e420yWmz3YU
If you are having a problem with that module, I would suggest opening a ticket on that modules project page. We can't support fixing problem in other modules.
Turns out there is a minor bug in the importer that causes it to error out before displaying the issue. The root problem is that babele changes how lookups are done to compendiums, so our code can't match items because the searches are being done in english, but the results are being translated. I can fix the bug so it will work, but no easy way to fix matching up the correct properties of a character.
Reminder: Fix ShadowdarklingImporterSD.mjs lines 387 and 394 using optional chaining operators
Implemented in v4.0.0