You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting or loading a game fails with a JSON error. Having had a similar issue #44608 a few days ago, I've taken the liberty to assume I know whats going on. The thousand separator in line 1637 and 1655 is parsed incorrectly due to locale issues.
Changing "max_contains_volume" from "1.25 L" to "1250 ml" on lines 1637 and 1655 in data/items/containers.json fixes the issues on my system.
Steps To Reproduce
Start / load a game on a system with incompatible locale.
While loading JSON files, the game will error complaining about "invalid quantity unit".
Expected behavior
A systems locale should not affect the functionality of the game.
Versions and configuration
OS: Linux
OS Version: Distributor ID: Ubuntu; Description: Ubuntu 18.04.4 LTS; Release: 18.04; Codename: bionic;
Game Version: 0.E-6769-g7c94b126f8 [64-bit]
Graphics Version: Tiles
Game Language: System language []
Mods loaded: [
Dark Days Ahead [dda],
]
The text was updated successfully, but these errors were encountered:
marningmol
changed the title
Decimal separator in items/containers.json breaks on locale
Decimal separator in items/containers.json breaks on my locale
Oct 11, 2020
Starting or loading a game fails with a JSON error. Having had a similar issue #44608 a few days ago, I've taken the liberty to assume I know whats going on. The thousand separator in line 1637 and 1655 is parsed incorrectly due to locale issues.
Changing "max_contains_volume" from "1.25 L" to "1250 ml" on lines 1637 and 1655 in data/items/containers.json fixes the issues on my system.
Steps To Reproduce
Expected behavior
A systems locale should not affect the functionality of the game.
Versions and configuration
Additional context
The text was updated successfully, but these errors were encountered: