WOTCStrategyOverhaul / CovertInfiltration

A mod that overhauls the Covert Actions system to bring back the Infiltration mechanic from Long War 2
MIT License
21 stars 8 forks source link

Ensure a scanning site spawns if none are available #590

Closed cannonfodder1 closed 3 years ago

cannonfodder1 commented 4 years ago

Closes #500

By default, when a POI is completed, the game checks to see if there are less than 3 POIs remaining. If so, there's a 50% chance for a new POI to be spawned immediately.

The less than 3 part is hardcoded and would require a highlander edit, but the 50% part is exposed to config, so I flipped it to 100% on all difficulties.

If the player chooses to sit at HQ and not scan any POIs, they will still run out of POIs, but another will spawn when a mission with the associated reward is completed, and when that one is scanned the logic described above will trigger to give the player another POI.