mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 05:41:11 +07:00

* Added getSpiesInCity method in EspionageManager * Expanded stealing technology code * Spies can now die and revive * Added basic rigging elections * Spies rigging elections can now be caught * Added spy rank * Players can now move spies to city-states * Spies at a higher rank steal tech quicker * EspionageAutomation now sends spies to city-states and to do counter intelligence * Fixed some EspionageAutomation logic * Fixed EspionageAutomation error * Spy.location is now stored as a vector2 * Accounted for the only able to be one spy of a civ in each city * Spies level up when successfully stealing tech. * Increased tech steal rate by spy rank * Increased influence gained by rigging elections * Added a spy level cap * Spies no longer get stuck on counter-intelligence action * Spy automation no longer tries to rig elections in city states that it is at war with * canMoveTo now checks if the city tile is visible * Added espionage translations * Changed automateSpySteal/Rig/Counter intelligence return types * Simplifies automateSpies in EspionageAutomation * Added blank lines before titles * Improved spy being found and killed message phrasing