This is a port of Super Spies for BTS 3.19. Source code files are included for modders to merge. Source code is commented with Super_Spies or Tsheep. Thanks to Vincentz who collaborated with me to figure out how to extract the source code from RevDCM.
SUPER SPIES v2.0 for Beyond the Sword v3.19
Super Spies adds seven new promotion lines and another single promotion to spies and allows them to gain experience from successful missions. Espionage buildings are now expanded to grant spies extra experience and cities can convert production into espionage points. Finally, two new espionage missions are added, allowing spies to bribe workers and assassinate great specialists.
-Spies escape to nearest city instead of the capital w/Custom GameOption
-Spies have a chance to be turned into a double agent with capture w/ Custom GameOption
-Double Agents have 50% reduction in mission cost toward previous civ
-15 New Promotion Lines
-Promotions Affect All Spy Mission
-Spies don't start with the use of enemy roads
-16 New Spy Missions
-Improved Spy AI
-Sleep for Espionage Mission
-Automated Counterespionage Mission
-3 Buildings provide Spy XP or a Promotion
-Espionage Process for Cities
-3 New Spy Attribute Modifiers
-Alchemist (I-III): Increases the bonus from poisoning missions and can irradiate tiles.
-Deception (I-III): Allows the spy to avoid discovery
-Escape Artist (I-II): Allows the spy to escape, even after being caught.
-Improviser (I-V): Gives the spy free preparation bonuses.
-Security (I-III): Increases the spy's odds to catch enemy spies and increases visibility.
-Instigator (I-III): More unrest from Unhappiness missions and can increase Revolt time.
-Logistics (I-III): Increases the spy's movement and can unlock the use of enemy roads.
-Loyalty: The spy never reveals their nationality or cannot be captured.
-Treachery (I-III): % Assistantion Chance Bonus
-Conspiracy (I-III): % diplo penalty of Cause Incident (merge with Instigator)
-Instigation (I-III): % duration of Incite Anarchy
-Seduction (I-III): % diplo bonus of Political Marriage
-Intrigue (I-III): % duration of Create Building Missions
-----OPTIONS FOR CITIES-----
-Intelligence Agency: Provides new spies with +2 XP.
-Security Bureau: Spies start with Informant I promotion.
-Scotland Yard: Provides new spies with +3 XP.
-Espionage Process: Allows conversion of production into espionage points (available with Paper)
-Assassinate: The spy attempts to kill a settled great specialist in the target city.
-Bribe Worker: The spy attempts to bribe a worker.
-Nuke City-Causes a Nuclear Bomb to detonate in the city. If caught, the victim nation may declare war on you.
-Disable Power: Destroys Power Supply temporarily
-War Wearniness: Increases war weariness
-Bribe city: The spy attempts to annex a target city.
-Sabotage research: Sabotages research in a target civ
-Remove religion: Removes a chosen religion in a target city
-Remove corporation: Removes a chosen corporation in a target city
-Spread Lies: Creates Misinformation building (-20% production, +4 unhappy for 5 turns)
-Exert Influence: Creates External Influence building (-75% culture for 5 turns)
-Cause Incident: -2 diplo modifier between target civ and the civ of your choice
-Political Marriage: +1 diplo modifier between target civ and you
-Incite Anarchy: Puts target player into Anarchy for 2 turns)
-Seduce Leaders: Creates Seduced Leaders building (-50% culture, -10% production for 5 turns)
-Establish Den of Spies: Creates a Den of Spies in target city (-2 production, -4 happiness for 10 turns).
-Better Global Espionage Use - AIs will now prioritize their espionage targets by focusing on tech leaders and enemies rather than simply having an ever escalating EP war with everyone.
-Counter Espionage- AIs will now use counter espionage units against enemies and those who have proven they cannot be trusted (those whose spies they've caught). This is a large change from vanilla where they were never used at all.
-Better Mission Choice - AIs will now prioritize tech thievery while avoiding petty needless strikes against people they don't even care about.
-Auto mission for counter espionage against enemies.
-Mainly to Trojan Sheep who invented and did most of the work of this mod component and glider1 who took over and integrated it into the BTS scheme of espionage missions. Also thanks to deanej, who did the the "convert into espionage" in the first place. I only did some clean-up to make the Super Spies mod standalone again.
-Also many thanks to Dresden, solver and co. who worked on the unofficial patch, along with the RevDCM Team, Afforess, & the Dune Wars Team.
SpyEvasionModifier--% defense against detection ("detection evasion")
SpyEscapeModifier -% defense against detection after captured ("detection evasion")
SpyInterfectModifer -% spy detection bonus
-Commenting as david allen/advanced espionage/afforess/Super_Spies, Super Spies, TSheep, Dune Wars
-Bribe Barbs mission from RFC Classical World
-Move Double Agent text higher in gametextmanager
Super Spies v2.0 (BTS 3.19) 2016-10-05
Super Spies v2.0 (BTS 3.19)