Center to Capital and cycle through cities keybindings

Center to Capital and cycle through cities keybindings 0.0.4

0.0.4
- Configurable city cycling order: 1. Grouped, 2. Alphabetical, 3. Geographical 4. Game default
- Improved city cycling logic — city list now refreshes only when cycling for better performance.
- Added ENABLE_CONSOLE_ERRORS flag for easily toggling debug messages (set true for development, false for release).
- Added timestamp logic to refresh the city table only if the previous refresh was over 20 seconds ago.
- Fixed issue where pressing 'Home' on a focused Capital wouldn't open the city details panel.
- Improved internal logging system for better debugging during development.
  • Removed dependency on lib-register-keybinding. input-action-default-gestures.xml now holds the keybindings so they are no longer changeable from the game settings menu.
  • Added user-configurable camera movement (zoom vs. instant).
  • Ensured mod loads last to prevent conflicts.
  • The default keys for Center to Capital is Home and city cycling PageUp=Next city, PageDown=Previous city.
  • If capital is centered and the center-to-capital key is pressed again it opens the Capital city details panel.
Hotkeys now assignable also in game settings menu, not just main menu. (Thanks maddachshund).

This mod requires latest lib-register-keybinding mod to be installed if you want to be able to customize the keybinding.
Back
Top Bottom