mclemente / fvtt-module-polyglot

Talk to others using a language you can speak and scrambles text you can't understand.
MIT License
41 stars 48 forks source link

Pathfinder 1e is not working anymore. #376

Closed MiZielek closed 4 months ago

MiZielek commented 4 months ago

What happened?

To explain it simply, even though my players have their languages on their sheets, they can't actually use it. They can't select them on the chat, as well as read anything I type in those languages.

The only language they can choose is common, so I assume the variable names have changed and the module needs to adjust.

Reproduction Steps

Nothing specific, just use the system.

Which game system, and which version, are you using?

pf 1e 10.1

Which Polyglot version are you using?

2.4.14

mkahvi commented 4 months ago

IIRC the issue is the module reading languages.custom as a string which is now an array.

The module should instead read languages.customTotal that collects custom languages from all sources the actor has access to. It's an array of strings.

The structure changed with PF1v10, so supporting older versions still needs reading the old string, but you can do that if the .customTotal array doesn't exist.