From fcdb2f152d0f54dc84a0cb9c12994750ae5a15ad Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 10 Jan 2022 23:38:08 +0000 Subject: [PATCH] add quest prereqs --- .../Helpers/QuestRequirements.cs | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/QuestValidator.Common/Helpers/QuestRequirements.cs b/QuestValidator.Common/Helpers/QuestRequirements.cs index 531344d..820c5e2 100644 --- a/QuestValidator.Common/Helpers/QuestRequirements.cs +++ b/QuestValidator.Common/Helpers/QuestRequirements.cs @@ -213,8 +213,10 @@ namespace QuestValidator.Common.Helpers { Quest.AnAppleADayKeepsTheDoctorAway, GetQuestData(Quest.AnAppleADayKeepsTheDoctorAway).AddPrerequisiteQuest(Quest.HealthCarePrivacyP3, QuestStatus.Success) }, { Quest.Mentor, GetQuestData(Quest.Mentor).AddPrerequisiteQuest(Quest.WetJobP4, QuestStatus.Success) }, { Quest.TheStylishOne, GetQuestData(Quest.TheStylishOne).AddPrerequisiteQuest(Quest.TheKeyToSuccess, QuestStatus.Success) }, - { Quest.TextileP1, GetQuestData(Quest.TextileP1).AddPrerequisiteQuest(Quest.SewItGoodP4, QuestStatus.Success) }, - { Quest.TextileP2, GetQuestData(Quest.TextileP2).AddPrerequisiteQuest(Quest.TextileP1, QuestStatus.Success) }, + { Quest.TextileP1Usec, GetQuestData(Quest.TextileP1Usec).AddPrerequisiteQuest(Quest.SewItGoodP4, QuestStatus.Success) }, + { Quest.TextileP2Usec, GetQuestData(Quest.TextileP2Usec).AddPrerequisiteQuest(Quest.TextileP1Usec, QuestStatus.Success) }, + { Quest.TextileP1Bear, GetQuestData(Quest.TextileP1Bear).AddPrerequisiteQuest(Quest.SewItGoodP4, QuestStatus.Success) }, + { Quest.TextileP2Bear, GetQuestData(Quest.TextileP2Bear).AddPrerequisiteQuest(Quest.TextileP1Usec, QuestStatus.Success) }, { Quest.BunkerP1, GetQuestData(Quest.BunkerP1).AddPrerequisiteQuest(Quest.BPDepot, QuestStatus.Success) }, { Quest.BunkerP2, GetQuestData(Quest.BunkerP2).AddPrerequisiteQuest(Quest.BunkerP1, QuestStatus.Success) }, { Quest.Anesthesia, GetQuestData(Quest.Anesthesia).AddPrerequisiteQuest(Quest.ShakingUpTeller, QuestStatus.Success) }, @@ -243,6 +245,17 @@ namespace QuestValidator.Common.Helpers { Quest.TheChoice, GetQuestData(Quest.TheChoice).AddPrerequisiteQuest(Quest.ThePunisherP6, QuestStatus.Success) }, { Quest.NightSweep, GetQuestData(Quest.NightSweep) }, { Quest.Intimidator, GetQuestData(Quest.Intimidator) }, + { Quest.EasyJobPart1, GetQuestData(Quest.EasyJobPart1).AddPrerequisiteQuest(Quest.ThePunisherP2, QuestStatus.Success) }, + { Quest.EasyJobPart2, GetQuestData(Quest.EasyJobPart2).AddPrerequisiteQuest(Quest.EasyJobPart1, QuestStatus.Success) }, + { Quest.SeasideVacation, GetQuestData(Quest.SeasideVacation).AddPrerequisiteQuest(Quest.Pharmacist, QuestStatus.Success) }, + { Quest.LostContact, GetQuestData(Quest.LostContact).AddPrerequisiteQuest(Quest.HealthCarePrivacyP2, QuestStatus.Success) }, + { Quest.RevisionPart2, GetQuestData(Quest.RevisionPart2).AddPrerequisiteQuest(Quest.EagleEye, QuestStatus.Success) }, + { Quest.TheHermit, GetQuestData(Quest.TheHermit).AddPrerequisiteQuest(Quest.TheSurvivalistPathToughGuy, QuestStatus.Success) }, + { Quest.LongRoad, GetQuestData(Quest.LongRoad).AddPrerequisiteQuest(Quest.FriendFromTheWestP2, QuestStatus.Success) }, + { Quest.MissingCargo, GetQuestData(Quest.MissingCargo).AddPrerequisiteQuest(Quest.LongRoad, QuestStatus.Success) }, + { Quest.CargoXP4, GetQuestData(Quest.CargoXP4).AddPrerequisiteQuest(Quest.CargoXP3, QuestStatus.Success) }, + { Quest.Counteraction, GetQuestData(Quest.Counteraction).AddPrerequisiteQuest(Quest.SpaTourP3, QuestStatus.Success) }, + { Quest.Overpopulation, GetQuestData(Quest.Overpopulation).AddPrerequisiteQuest(Quest.SpaTourP1, QuestStatus.Success) }, }; private static readonly Dictionary questWithPreceedingQuest = new Dictionary @@ -480,9 +493,9 @@ namespace QuestValidator.Common.Helpers //{ "60e71bb4e456d449cd47ca75", new QuestRequirement{QuestStatus = 4, PreceedingQuest=""}}, // Intimidator //{ "60e71c48c1bfa3050473b8e5", new QuestRequirement{QuestStatus = 4, PreceedingQuest=""}}, // Crisis //{ "60e71b9bbd90872cb85440f3", new QuestRequirement{QuestStatus = 4, PreceedingQuest="" }}, // Capturing Outposts, - { "60e71b62a0beca400d69efc4", new QuestRequirement{QuestStatus = 4, PreceedingQuest="59ca2eb686f77445a80ed049" }}, // Escort, The Punisher. Part 6 - { "60e71d23c1bfa3050473b8e6", new QuestRequirement{QuestStatus = 4, PreceedingQuest="" }}, // Calibration - { "60e71c9ad54b755a3b53eb66", new QuestRequirement{QuestStatus = 4, PreceedingQuest="5c0d4e61d09282029f53920e" } } // Mutual Interest, The guide + //{ "60e71b62a0beca400d69efc4", new QuestRequirement{QuestStatus = 4, PreceedingQuest="59ca2eb686f77445a80ed049" }}, // Escort, The Punisher. Part 6 + //{ "60e71d23c1bfa3050473b8e6", new QuestRequirement{QuestStatus = 4, PreceedingQuest="" }}, // Calibration + //{ "60e71c9ad54b755a3b53eb66", new QuestRequirement{QuestStatus = 4, PreceedingQuest="5c0d4e61d09282029f53920e" } } // Mutual Interest, The guide }; private static QuestData GetQuestData(Quest quest)