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

Quest items bug/redscreen #505

Closed Xymanek closed 4 years ago

Xymanek commented 4 years ago

See https://github.com/WOTCStrategyOverhaul/CovertInfiltration/pull/471#discussion_r407934214

Xymanek commented 4 years ago

A bit of investigation:

The quest items are filtered based on:

CI: ===============================
CI: Missions with quest items:
CI:   Recover
CI:   Recover_ADV
CI:   Recover_Train
CI:   Recover_Vehicle
CI:   Hack
CI:   Hack_ADV
CI:   Hack_Train
CI:   ProtectDevice
CI:   GP_Blacksite
CI:   GP_Forge
CI:   ChallengeHackWaterfrontRadio
CI:   ChallengeRecoverMissiles
CI:   ChallengeRecoverRotor
CI:   ChallengeRecoverChair
CI:   ChallengeRecoverManual
CI: ===============================

Excluding the GP and challenge missions, I would need a list of the infil/assault uses of these mission types with the applied reward types @cannonfodder1

cannonfodder1 commented 4 years ago

Activity_IntelligenceInfiltrate = Hack and Recover Activity_IntelligenceAssault = ProtectDevice Both of those have two rewards, Reward_Rumor first and Reward_SmallIntel second

I don't think that Infiltrations are affected by this bug, I've only ever gotten the redscreen with Assaults, which means we're already covered with the existing config entry in XComMissionSources:

[XComGame.XComTacticalMissionManager]
+arrSourceRewardMissionTypes=(MissionSource="MissionSource_ActivityCI", RewardType="Reward_Rumor", MissionFamily="ProtectDevice")
Xymanek commented 4 years ago

I want to actually fix the problem instead of bandaiding it (now in 2 places) - that's why I asked for all of them. Anyway, thanks, will take a look later