City state election rigging (#11577)

* Added city-state Elections

* Added Elections notifications

* Removed temporary rigging elections in Spy.kt

* Modified votes from influence a little

* Fixed rigging election turns

* Fixed elections

* Randomised city-state election days

* Refactored geCapital

* Refactored election random to use randomWeighted

* Fixed getSkillModifier being private

* Updated translations and fixed a notification for election rigging
This commit is contained in:
Oskar Niesen
2024-05-14 02:58:07 -05:00
committed by GitHub
parent 5b002acfee
commit eb79a777a2
6 changed files with 70 additions and 39 deletions

View File

@ -1773,9 +1773,10 @@ Your spy [spyName] stole the Technology [techName] from [cityName]! =
Your spy [spyName] was killed trying to steal Technology in [cityName]! =
# Rigging elections
A spy from [civName] tried to rig elections and was found and killed in [cityName] by [spyName]! =
Your spy [spyName] was killed trying to rig the election in [cityName]! =
Your spy successfully rigged the election in [cityName]! =
Your spy lost the election in [cityStateName] to [civName]! =
The election in [cityStateName] were rigged by [civName]! =
Your spy lost the election in [cityName]! =
# Spy fleeing city
After the city of [cityName] was destroyed, your spy [spyName] has fled back to our hideout. =