OpenXcom Forum

Modding => Released Mods => The X-Com Files => Topic started by: norpan83 on February 12, 2024, 12:36:51 pm

Title: Suggestion: no more Ski Resort missions message
Post by: norpan83 on February 12, 2024, 12:36:51 pm
When other mission types stops spawning you get a message saying something like:
"The Council will monitor them from now on, so we should expect no more hidden cave missions."

It would be nice with a message saying you no longer need sports gear.
Title: Re: Suggestion: no more Ski Resort missions message
Post by: psavola on February 12, 2024, 01:07:02 pm
In some cases (when the mission triggers are straightforward), this is simple to do. But there could also be an excessive amount of information given (if a lot of missions stop spawning after researching X), so this could be difficult to implement. Also it could be difficult to figure out in which report this should be given if there are multiple triggers that need to be satisfied.

In the particular case of ski resort missions, the mission triggers are also quite complicated.

true Cover: Sportsmen
false Cult is contained

and:

true Cover: Sportsmen
true X-Com Summary Report #3
false Black Lotus Psi Generator
false Red Dawn Memory Card
false Church of Dagon Statue
false Brainer Cracked

This also shows the latter definition is probably not working as intended. This is because you can't get X-Com Summary Report #3 without getting "Cult is contained", which is fulfilled by any of the latter four, but then in the second  mission script at least one of the "false" statements is going to be true. Therefore, as far as I can see, the second mission script will never get triggered.
Title: Re: Suggestion: no more Ski Resort missions message
Post by: Solarius Scorch on February 12, 2024, 01:09:27 pm
I think you're right, that second script is unneeded.
Title: Re: Suggestion: no more Ski Resort missions message
Post by: norpan83 on February 12, 2024, 01:48:18 pm
Mabey something could be created for when all cults are contained, would be nice with a "good job" bonus there.

and both industrialInvestigationLate and skiResortLate could look for that.

or is there a reason industrialInvestigationLate keeps spawning indefinitely?
Title: Re: Suggestion: no more Ski Resort missions message
Post by: Solarius Scorch on February 12, 2024, 04:10:46 pm
Mabey something could be created for when all cults are contained, would be nice with a "good job" bonus there.

and both industrialInvestigationLate and skiResortLate could look for that.

or is there a reason industrialInvestigationLate keeps spawning indefinitely?

I haven't made anything higher grade, that's all.
For now I deleted the unused script.