Espionage Uniques, Buildings and Policy (#11401)

* Added OneTimeSpiesLevelUp, OneTimeGainSpy, SpyEffectiveness, EnemySpyEffectiveness and HiddenWithoutEspionage Uniques

* Spy effectiveness affects stealing tech and rigging elections

* Fixed HiddenWithoutEspionage

* Added Constabulary and Police Station

* Added cityFilter to SpyEffectiveness

* Added national Intelligence agency

* Added Great Firewall

* Fixed great firewall having a float value

* EspionageManager addSpy now returns Spy instead of name

* Added some simple espionage tests

* Fixed OneTimeSpiesLevelUp still wanting parameter

* Spy efficiency occurs after skill modifier

* Added another test

* Added Police State spy efficiency reduction unique

* Fixed "Hidden when espionage is disabled" wording

* Fixed "effectiveness" wording

* Changed "enemy spy effectiveness" unique to use negative matters

* Spy effectiveness only affect tech steal rate

* Changed "Gain an extra spy" and "Promotes all spies" uniques

* Removed Police State comment that is no longer accurate

* Changed spy effectiveness to be multiplicative
This commit is contained in:
Oskar Niesen
2024-04-09 15:12:21 -05:00
committed by GitHub
parent 35c3f7b191
commit ef9965e218
13 changed files with 203 additions and 18 deletions

View File

@ -577,9 +577,9 @@
"name": "Police State",
"uniques": [
"[+3 Happiness] from every [Courthouse]",
"[+100]% Production when constructing [Courthouse] buildings [in all cities]"
"[+100]% Production when constructing [Courthouse] buildings [in all cities]",
"[-25]% enemy spy effectiveness [in all cities]"
],
// There are also some uniques regarding espoinage, which as of this writing is not yet implemented
"requires": ["Militarism"],
"row": 2,
"column": 4