XCOM 2
[CI] New Activity Chain: Contact New Resistance Cell
Showing 1-10 of 20 entries
< 1  2 >
Update: 14 Oct, 2022 @ 12:22pm

Added additional check to make sure the mod doesn't give out another region unlock if the chain works as intended.

Update: 6 Oct, 2022 @ 9:56am

Attempted fix for activity chains not unlocking: does a manual check if the unlock region reward isn't given out when the activity chain is completed and gives it out then.

*Should* work retroactively on games where the chain is still in progress.

Update: 9 Sep, 2022 @ 12:37pm

Added logging statements for when the chain is completed: this is for the reports of the chain being successfully completed but the region unlock reward not being given out.

Update: 17 Jul, 2022 @ 10:35am

Potentially fixed a bug in the reward cleanup logic. Send me logs if it still occurs after this.

Update: 4 Jul, 2022 @ 9:47pm

Added logging statements + additional guards for region clean up. If you experience an issue with regions not having their scan times reset, please, *please* send me a log of your game because it will be way more informative for what I need to actually fix the issue.

Update: 18 Jun, 2022 @ 2:10pm

Chain now cleans itself automatically when the chain expires. This should cover any remaining scenarios where the region state doesn't get the modifiers cleaned up after expiry.

Note that this may not apply retroactively to chains that were already made: the SetRegionResLevel can be used to deal with said cases. (It'll reset any changes to scan times when a region is contacted/has an outpost built on it)

Update: 16 Jun, 2022 @ 11:30am

1) Modifies the contact timers of the region for the activity chain, so it should be way harder to contact a region that the activity wants to unlock. (Also a helpful signifier that it has an activity chain going on when you see a region that suddenly has 40 days of contact time).

2) Adds custom cleanup reward functionality. The game's default assumption about rewards works fine in normal contexts but turns out to do very bad things like "eliminating the entire region from the game world" in the context of mods. Also means scan timers for contacting a region return to normal

Will look at why the reward sometimes doesn't get handed out after this update.

Update: 9 Feb, 2022 @ 11:13pm

Added check so the chain won't spawn on a region you're already scanning for.

Update: 9 Feb, 2022 @ 11:58am

This is a reminder that arrays in a lot of computer languages start at 0.


(Should fix wrong localization appearing for rewards).

Update: 9 Feb, 2022 @ 1:24am

Forgot to change localization due to the previous update changes, should be good now.