Skip to content

Implement a script to import dataset information from the game files#179

Merged
happyleavesaoc merged 3 commits intoSiegeEngineers:masterfrom
Kjir:master
Jan 31, 2026
Merged

Implement a script to import dataset information from the game files#179
happyleavesaoc merged 3 commits intoSiegeEngineers:masterfrom
Kjir:master

Conversation

@Kjir
Copy link
Contributor

@Kjir Kjir commented Jan 30, 2026

Add a script that will read the data from the game files and update the 100.json dataset file with that data. This should help reduce the cases where technologies and maps are missing in this library in comparison to what is found in the game.

The dataset was also updated with the output of the script.

"838": "Siege Elephant",
"840": "Elite Ghulam",
"843": "Elite Shrivamsha Rider",
"843": "E. Shrivamsha Rider",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is the description that is used in the Tech Tree, which is where I gather all the techs names. I agree the explicit version is better, and we can manually revert to that, but the script will always pick the translations as they are in the game

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just apply a rule, something like:

if name.startswith("E. "):
    name = "Elite" + name[2:]

There are already other rules in the script, so there's precedent I suppose

@happyleavesaoc happyleavesaoc merged commit b3bd293 into SiegeEngineers:master Jan 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants