Improved the build script code replacement errors: now the problematic raw code is shown too, previously it would just display a "no match" error for the regular expression;
Removed some old commented code from the build script;
In the build script, added constants for easy usage of otherwise long variable access expressions (like the playerId variable which is now a property of the "game" object, meaning you would have to reference the dictionary twice, which is long and repetitive; now you can just use the computed playerId constant)
- Added a leaderboard filter with tabs "All" and "Clan"
- Added the "hovering tooltip" (constantly displaying the territory information normally visible when right clicking on the map) and an option to toggle it in the settings
- The absolute keybinds' value is now displayed as a percentage
Fixed the win counter not counting wins correctly,
disabled win tracking for singleplayer games,
added a clarification in the settings menu about which wins are actually tracked (only solo multiplayer wins),
and fixed the win counter text in the main menu becoming black when the emoji or color picker were opened.
Improvements to the build script:
Regular expressions can now be generated and used automatically just by providing raw code segments of the original and the modified code;
Dictionary expressions can be generated with a similar mechanism.
Other changes:
The settings controls are now programmatically generated;
Removed the custom font setting because this was added to the base game; "Trebuchet MS" is now the default font for that setting instead of "sans-serif";
Removed the "hide all links" setting (the "Hide Links" option was removed from the base game), this could be replaced with a new "hide links" setting.