Muriel-Salvan / modsvaskr

Stronghold for mods acting like companions: The Modsvaskr
Other
5 stars 3 forks source link

Some in-game test statuses are ignored because of case sensitiveness #51

Closed Muriel-Salvan closed 3 years ago

Muriel-Salvan commented 3 years ago

In-game test names should always be considered as lower-case in JSON files handled in-game, even if they are written with upper-cases. This is due to a Papyrus limitation that does not store 2 different strings internally when those strings differ only in case. The strings "aBcdE" and "Abcde" cannot coexist in the same game instance: 1 of them will be chosen (the first defined one) and the second one will always refer to the first one internally. Therefore if Papyrus writes "Abcde" in JSON, what will effectively be written is "aBcdE".