diff --git a/QuestValidator.Common/Helpers/QuestRequirements.cs b/QuestValidator.Common/Helpers/QuestRequirements.cs index e3716a1..c57d496 100644 --- a/QuestValidator.Common/Helpers/QuestRequirements.cs +++ b/QuestValidator.Common/Helpers/QuestRequirements.cs @@ -324,29 +324,47 @@ namespace QuestValidator.Common.Helpers { Quest.LivingHighIsNotACrimeP2, GetQuestData(Quest.LivingHighIsNotACrimeP2).AddPrerequisiteQuest(Quest.TheBloodOfWarP3, QuestStatus.Success) }, { Quest.Setup, GetQuestData(Quest.Setup).AddPrerequisiteQuest(Quest.Bullshit, QuestStatus.Success) }, { Quest.PerfectMediator, GetQuestData(Quest.PerfectMediator).AddPrerequisiteQuest(Quest.ShakingUpTeller, QuestStatus.Success) }, - { Quest.Import, GetQuestData(Quest.Import).AddPrerequisiteQuest(Quest.FarmingP4, QuestStatus.Success) }, + { Quest.Import, GetQuestData(Quest.Import) + .AddPrerequisiteQuest(Quest.FarmingP4, QuestStatus.Success) }, { Quest.Collector, GetQuestData(Quest.Collector) }, { Quest.Introduction, GetQuestData(Quest.Introduction) .AddPrerequisiteQuest(Quest.GunsmithP1, QuestStatus.Started)}, - { Quest.Acquaintance, GetQuestData(Quest.Acquaintance).AddPrerequisiteQuest(Quest.Introduction, QuestStatus.Success) }, - { Quest.TheSurvivalistPathUnprotectedButDangerous, GetQuestData(Quest.TheSurvivalistPathUnprotectedButDangerous).AddPrerequisiteQuest(Quest.Acquaintance, QuestStatus.Success) }, - { Quest.TheSurvivalistPathThrifty, GetQuestData(Quest.TheSurvivalistPathThrifty).AddPrerequisiteQuest(Quest.Acquaintance, QuestStatus.Success) }, - { Quest.TheSurvivalistPathZhivchik, GetQuestData(Quest.TheSurvivalistPathZhivchik).AddPrerequisiteQuest(Quest.TheSurvivalistPathThrifty, QuestStatus.Success) }, - { Quest.TheSurvivalistPathWoundedBeast, GetQuestData(Quest.TheSurvivalistPathWoundedBeast).AddPrerequisiteQuest(Quest.TheSurvivalistPathThrifty, QuestStatus.Success) }, - { Quest.TheSurvivalistPathToughGuy, GetQuestData(Quest.TheSurvivalistPathToughGuy).AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, - { Quest.TheSurvivalistPathColdBlooded, GetQuestData(Quest.TheSurvivalistPathColdBlooded).AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, - { Quest.TheSurvivalistPathEagleOwl, GetQuestData(Quest.TheSurvivalistPathEagleOwl).AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, - { Quest.TheSurvivalistPathCombatMedic, GetQuestData(Quest.TheSurvivalistPathCombatMedic).AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, - { Quest.TheSurvivalistPathJunkie, GetQuestData(Quest.TheSurvivalistPathJunkie).AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, - { Quest.HuntsmanPathSecuredPerimeter, GetQuestData(Quest.HuntsmanPathSecuredPerimeter).AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, - { Quest.HuntsmanPathTheTrophy, GetQuestData(Quest.HuntsmanPathTheTrophy).AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, - { Quest.HuntsmanPathWoodsCleaning, GetQuestData(Quest.HuntsmanPathWoodsCleaning).AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, - { Quest.HuntsmanPathController, GetQuestData(Quest.HuntsmanPathController).AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, - { Quest.HuntsmanPathSellOut, GetQuestData(Quest.HuntsmanPathSellOut).AddPrerequisiteQuest(Quest.HuntsmanPathTheTrophy, QuestStatus.Success) }, + { Quest.Acquaintance, GetQuestData(Quest.Acquaintance) + .AddPrerequisiteQuest(Quest.Introduction, QuestStatus.Success) }, + { Quest.TheSurvivalistPathUnprotectedButDangerous, GetQuestData(Quest.TheSurvivalistPathUnprotectedButDangerous) + .AddPrerequisiteQuest(Quest.Acquaintance, QuestStatus.Success) }, + { Quest.TheSurvivalistPathThrifty, GetQuestData(Quest.TheSurvivalistPathThrifty) + .AddPrerequisiteQuest(Quest.Acquaintance, QuestStatus.Success) }, + { Quest.TheSurvivalistPathZhivchik, GetQuestData(Quest.TheSurvivalistPathZhivchik) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathThrifty, QuestStatus.Success) }, + { Quest.TheSurvivalistPathWoundedBeast, GetQuestData(Quest.TheSurvivalistPathWoundedBeast) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathThrifty, QuestStatus.Success) }, + { Quest.TheSurvivalistPathToughGuy, GetQuestData(Quest.TheSurvivalistPathToughGuy) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, + { Quest.TheSurvivalistPathColdBlooded, GetQuestData(Quest.TheSurvivalistPathColdBlooded) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, + { Quest.TheSurvivalistPathEagleOwl, GetQuestData(Quest.TheSurvivalistPathEagleOwl) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, + { Quest.TheSurvivalistPathCombatMedic, GetQuestData(Quest.TheSurvivalistPathCombatMedic) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, + { Quest.TheSurvivalistPathJunkie, GetQuestData(Quest.TheSurvivalistPathJunkie) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, + { Quest.HuntsmanPathSecuredPerimeter, GetQuestData(Quest.HuntsmanPathSecuredPerimeter) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathWoundedBeast, QuestStatus.Success) }, + { Quest.HuntsmanPathTheTrophy, GetQuestData(Quest.HuntsmanPathTheTrophy) + .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, + { Quest.HuntsmanPathWoodsCleaning, GetQuestData(Quest.HuntsmanPathWoodsCleaning) + .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, + { Quest.HuntsmanPathController, GetQuestData(Quest.HuntsmanPathController) + .AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, + { Quest.HuntsmanPathSellOut, GetQuestData(Quest.HuntsmanPathSellOut) + .AddPrerequisiteQuest(Quest.HuntsmanPathTheTrophy, QuestStatus.Success) }, { Quest.HuntsmanPathWoodsKeeper, GetQuestData(Quest.HuntsmanPathWoodsKeeper) .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, - { Quest.HuntsmanPathJustice, GetQuestData(Quest.HuntsmanPathJustice).AddPrerequisiteQuest(Quest.HuntsmanPathTheTrophy, QuestStatus.Success) }, - { Quest.HuntsmanPathEvilWatchman, GetQuestData(Quest.HuntsmanPathEvilWatchman).AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, + { Quest.HuntsmanPathJustice, GetQuestData(Quest.HuntsmanPathJustice) + .AddPrerequisiteQuest(Quest.HuntsmanPathTheTrophy, QuestStatus.Success) }, + { Quest.HuntsmanPathEvilWatchman, GetQuestData(Quest.HuntsmanPathEvilWatchman) + .AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, { Quest.HuntsmanPathFactoryChief, GetQuestData(Quest.HuntsmanPathFactoryChief) .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) .AddPrerequisiteQuest(Quest.Scout, QuestStatus.Success)}, @@ -354,7 +372,8 @@ namespace QuestValidator.Common.Helpers .AddPrerequisiteQuest(Quest.BunkerP2, QuestStatus.Success) .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, - { Quest.HuntsmanPathEraserP2, GetQuestData(Quest.HuntsmanPathEraserP2).AddPrerequisiteQuest(Quest.HuntsmanPathEraser, QuestStatus.Success) }, + { Quest.HuntsmanPathEraserP2, GetQuestData(Quest.HuntsmanPathEraserP2) + .AddPrerequisiteQuest(Quest.HuntsmanPathEraser, QuestStatus.Success) }, { Quest.HuntsmanPathSadist, GetQuestData(Quest.HuntsmanPathSadist) .AddPrerequisiteQuest(Quest.ColleaguesP2, QuestStatus.Success) .AddPrerequisiteQuest(Quest.RiggedGame, QuestStatus.Success) @@ -363,44 +382,66 @@ namespace QuestValidator.Common.Helpers { Quest.HuntsmanPathOutcasts, GetQuestData(Quest.HuntsmanPathOutcasts) .AddPrerequisiteQuest(Quest.HuntsmanPathTheTrophy, QuestStatus.Success) }, { Quest.HuntsmanPathRelentless, GetQuestData(Quest.HuntsmanPathRelentless) }, - { Quest.Ambulance, GetQuestData(Quest.Ambulance).AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, - { Quest.CourtesyVisit, GetQuestData(Quest.CourtesyVisit).AddPrerequisiteQuest(Quest.TheSurvivalistPathToughGuy, QuestStatus.Success) }, - { Quest.ShadyBusiness, GetQuestData(Quest.ShadyBusiness).AddPrerequisiteQuest(Quest.WhatsOnTheFlashDrive, QuestStatus.Success) }, - { Quest.Nostalgia, GetQuestData(Quest.Nostalgia).AddPrerequisiteQuest(Quest.CourtesyVisit, QuestStatus.Success) }, - { Quest.FishingPlace, GetQuestData(Quest.FishingPlace).AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, - { Quest.HuntingTrip, GetQuestData(Quest.HuntingTrip).AddPrerequisiteQuest(Quest.HuntsmanPathWoodsKeeper, QuestStatus.Success) }, - { Quest.Reserv, GetQuestData(Quest.Reserv).AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, - { Quest.RegulatedMaterials, GetQuestData(Quest.RegulatedMaterials).AddPrerequisiteQuest(Quest.PolikhimHobo, QuestStatus.Success) }, - { 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.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.TextileP1Bear, QuestStatus.Success) }, + { Quest.Ambulance, GetQuestData(Quest.Ambulance) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathColdBlooded, QuestStatus.Success) }, + { Quest.CourtesyVisit, GetQuestData(Quest.CourtesyVisit) + .AddPrerequisiteQuest(Quest.TheSurvivalistPathToughGuy, QuestStatus.Success) }, + { Quest.ShadyBusiness, GetQuestData(Quest.ShadyBusiness) + .AddPrerequisiteQuest(Quest.WhatsOnTheFlashDrive, QuestStatus.Success) }, + { Quest.Nostalgia, GetQuestData(Quest.Nostalgia) + .AddPrerequisiteQuest(Quest.CourtesyVisit, QuestStatus.Success) }, + { Quest.FishingPlace, GetQuestData(Quest.FishingPlace) + .AddPrerequisiteQuest(Quest.HuntsmanPathWoodsCleaning, QuestStatus.Success) }, + { Quest.HuntingTrip, GetQuestData(Quest.HuntingTrip) + .AddPrerequisiteQuest(Quest.HuntsmanPathWoodsKeeper, QuestStatus.Success) }, + { Quest.Reserv, GetQuestData(Quest.Reserv) + .AddPrerequisiteQuest(Quest.HuntsmanPathSecuredPerimeter, QuestStatus.Success) }, + { Quest.RegulatedMaterials, GetQuestData(Quest.RegulatedMaterials) + .AddPrerequisiteQuest(Quest.PolikhimHobo, QuestStatus.Success) }, + { 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.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.TextileP1Bear, 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) }, - { Quest.Samples, GetQuestData(Quest.Samples).AddPrerequisiteQuest(Quest.Anesthesia, QuestStatus.Success) }, - { Quest.ColleaguesP1, GetQuestData(Quest.ColleaguesP1).AddPrerequisiteQuest(Quest.GeneralWares, QuestStatus.Success) }, - { Quest.ColleaguesP2, GetQuestData(Quest.ColleaguesP2).AddPrerequisiteQuest(Quest.ColleaguesP1, QuestStatus.Success) }, + { Quest.Anesthesia, GetQuestData(Quest.Anesthesia) + .AddPrerequisiteQuest(Quest.ShakingUpTeller, QuestStatus.Success) }, + { Quest.Samples, GetQuestData(Quest.Samples) + .AddPrerequisiteQuest(Quest.Anesthesia, QuestStatus.Success) }, + { Quest.ColleaguesP1, GetQuestData(Quest.ColleaguesP1) + .AddPrerequisiteQuest(Quest.GeneralWares, QuestStatus.Success) }, + { Quest.ColleaguesP2, GetQuestData(Quest.ColleaguesP2) + .AddPrerequisiteQuest(Quest.ColleaguesP1, QuestStatus.Success) }, { Quest.ColleaguesP3, GetQuestData(Quest.ColleaguesP3) // .AddPrerequisiteQuest(Quest.HuntsmanPathSadist, QuestStatus.Started) // TODO - what happens when player completes sadist? .AddPrerequisiteQuest(Quest.ColleaguesP2, QuestStatus.Success) .AddPrerequisiteQuest(Quest.RiggedGame, QuestStatus.Success) .AddPrerequisiteQuest(Quest.TheChemistryCloset, QuestStatus.Success) }, - { Quest.RiggedGame, GetQuestData(Quest.RiggedGame).AddPrerequisiteQuest(Quest.Anesthesia, QuestStatus.Success) }, + { Quest.RiggedGame, GetQuestData(Quest.RiggedGame) + .AddPrerequisiteQuest(Quest.Anesthesia, QuestStatus.Success) }, { Quest.TerraGroupEmployee, GetQuestData(Quest.TerraGroupEmployee) .AddPrerequisiteQuest(Quest.HuntsmanPathSadist, QuestStatus.Success) .AddPrerequisiteQuest(Quest.Samples, QuestStatus.Success) }, { Quest.TheChemistryCloset, GetQuestData(Quest.TheChemistryCloset) .AddPrerequisiteQuest(Quest.ColleaguesP1, QuestStatus.Success) }, - { Quest.SearchMission, GetQuestData(Quest.SearchMission).AddPrerequisiteQuest(Quest.Debut, QuestStatus.Success) }, + { Quest.SearchMission, GetQuestData(Quest.SearchMission) + .AddPrerequisiteQuest(Quest.Debut, QuestStatus.Success) }, { Quest.Hunter, GetQuestData(Quest.Hunter) }, - { Quest.Revision, GetQuestData(Quest.Revision).AddPrerequisiteQuest(Quest.EagleEye, QuestStatus.Success) }, + { Quest.Revision, GetQuestData(Quest.Revision) + .AddPrerequisiteQuest(Quest.EagleEye, QuestStatus.Success) }, { Quest.PestControl, GetQuestData(Quest.PestControl) .AddPrerequisiteQuest(Quest.HuntsmanPathWoodsKeeper, QuestStatus.Success) }, { Quest.BackDoor, GetQuestData(Quest.BackDoor) @@ -419,13 +460,16 @@ namespace QuestValidator.Common.Helpers }, { Quest.SurplusGoods, GetQuestData(Quest.SurplusGoods) .AddPrerequisiteQuest(Quest.Scout, QuestStatus.Success) }, - { Quest.ExperienceExchange, GetQuestData(Quest.ExperienceExchange).AddPrerequisiteQuest(Quest.Revision, QuestStatus.Success) }, + { Quest.ExperienceExchange, GetQuestData(Quest.ExperienceExchange) + .AddPrerequisiteQuest(Quest.Revision, QuestStatus.Success) }, { Quest.LongLine, GetQuestData(Quest.LongLine) .AddPrerequisiteQuest(Quest.Supervisor, QuestStatus.Success) }, - { Quest.Booze, GetQuestData(Quest.Booze).AddPrerequisiteQuest(Quest.LongLine, QuestStatus.Success) }, + { Quest.Booze, GetQuestData(Quest.Booze) + .AddPrerequisiteQuest(Quest.LongLine, QuestStatus.Success) }, { Quest.SwiftOne, GetQuestData(Quest.SwiftOne) .AddPrerequisiteQuest(Quest.HuntsmanPathSadist, QuestStatus.Success) }, - { Quest.TheChoice, GetQuestData(Quest.TheChoice).AddPrerequisiteQuest(Quest.ThePunisherP6, QuestStatus.Success) }, + { Quest.TheChoice, GetQuestData(Quest.TheChoice) + .AddPrerequisiteQuest(Quest.ThePunisherP6, QuestStatus.Success) }, { Quest.EasyJobPart1, GetQuestData(Quest.EasyJobPart1) .AddPrerequisiteQuest(Quest.ThePunisherP2, QuestStatus.Success) }, { Quest.EasyJobPart2, GetQuestData(Quest.EasyJobPart2) @@ -457,7 +501,9 @@ namespace QuestValidator.Common.Helpers .AddPrerequisiteQuest(Quest.FarmingP3, QuestStatus.Success) }, { Quest.NightSweep, GetQuestData(Quest.NightSweep) .AddPrerequisiteQuest(Quest.RiggedGame, QuestStatus.Success) }, - { Quest.NoPlaceForRenegades, GetQuestData(Quest.NoPlaceForRenegades).AddPrerequisiteQuest(Quest.BunkerP2, QuestStatus.Success).AddPrerequisiteQuest(Quest.IceCreamCones, QuestStatus.Success) }, + { Quest.NoPlaceForRenegades, GetQuestData(Quest.NoPlaceForRenegades) + .AddPrerequisiteQuest(Quest.BunkerP2, QuestStatus.Success) + .AddPrerequisiteQuest(Quest.IceCreamCones, QuestStatus.Success) }, { Quest.Escort, GetQuestData(Quest.Escort) .AddPrerequisiteQuest(Quest.ThePunisherP6, QuestStatus.Success) }, { Quest.CapturingOutposts, GetQuestData(Quest.CapturingOutposts)