long-war-2 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
342 stars 89 forks source link

I sometimes have 75 supplies in place of an intel package for mission rewards #555

Closed allenhu0912 closed 8 months ago

allenhu0912 commented 5 years ago

I thought giving 75 supplies was a temporary measure in a LW2 patch where intel packages were busted?

pledbrook commented 5 years ago

Save? Screenshot? I've never seen this. Unless you mean you had an Point Of Interest reward that gave supplies.

allenhu0912 commented 5 years ago

Will take a screenshot next time. Basically instead of an intel package, I instantly received 75 supplies for escorting a scientist to evac

pledbrook commented 5 years ago

So the mission had an Intel Package as a reward, but instead of a POI you got supplies? And you didn't get that from a hack?

allenhu0912 commented 5 years ago

No. On the geoscape, when I am choosing the mission to begin infiltrating, rewards look like: Amy King (Scientist), 75 Supplies. Or something like that. Usually you would expect something like Amy King (Scientist), Intel Package

allenhu0912 commented 5 years ago

20190917222715_1 Not quite the same, but close. IIRC, supplies were never a reward for taking in dark vip alive in LW2

allenhu0912 commented 5 years ago

Never mind, found what I was talking about 20190915183021_1

pledbrook commented 5 years ago

This is the code:

if (MissionFamily == 'Neutralize_LW')
{
    if (CanAddPOI())
    {
        RewardArray[0] = 'Reward_POI_LW'; // this will only be granted if captured
        RewardArray[1] = 'Reward_Dummy_POI'; // The first POI rewarded on any mission doesn't display in rewards, so this corrects for that
        RewardArray[2] = 'Reward_Intel';
    }
    else
    {
        RewardArray[0] = 'Reward_Supplies';
        RewardArray[1] = 'Reward_Intel';
    }
}

It's similar for the rescue mission you were talking about. My guess is that CanAddPOI() is no longer returning true for you for some reason. Why that is, I don't know. If you have a save file from shortly before that mission spawned, I may be able to find out.

allenhu0912 commented 3 years ago

This is still occurring continuously on the current version for me. I don't know what causes this; most of my campaigns don't have this. But in my current one it pops up all the time.

wdanny69 commented 8 months ago

this is an old issue and we have not seen much reports on this recently.

if it still occurs, please provide a save if reproducible, a mod list and as much details leading up to the issue