Add event quest prereqs

This commit is contained in:
Chomp 2023-08-05 08:47:03 +01:00
parent b685c8531f
commit 8e8d5f31ab

View File

@ -771,6 +771,30 @@ namespace QuestValidator.Common.Helpers
{ Quest.Tourist, GetQuestData(Quest.Tourist)}, { Quest.Tourist, GetQuestData(Quest.Tourist)},
{ Quest.Hustle, GetQuestData(Quest.Hustle)}, { Quest.Hustle, GetQuestData(Quest.Hustle)},
{ Quest.FailedSetup, GetQuestData(Quest.FailedSetup)}, { Quest.FailedSetup, GetQuestData(Quest.FailedSetup)},
{ Quest.TerraGroupTrailP2, GetQuestData(Quest.TerraGroupTrailP2).AddPrerequisiteQuest(Quest.TerraGroupTrailP1, QuestStatus.Success)},
{ Quest.TerraGroupTrailP3, GetQuestData(Quest.TerraGroupTrailP3).AddPrerequisiteQuest(Quest.TerraGroupTrailP2, QuestStatus.Success)},
{ Quest.TerraGroupTrailP4, GetQuestData(Quest.TerraGroupTrailP4).AddPrerequisiteQuest(Quest.TerraGroupTrailP3, QuestStatus.Success)},
{ Quest.TerraGroupTrailP5, GetQuestData(Quest.TerraGroupTrailP5).AddPrerequisiteQuest(Quest.TerraGroupTrailP4, QuestStatus.Success)},
{ Quest.TerraGroupTrailP6, GetQuestData(Quest.TerraGroupTrailP6).AddPrerequisiteQuest(Quest.TerraGroupTrailP5, QuestStatus.Success)},
{ Quest.TerraGroupTrailP7, GetQuestData(Quest.TerraGroupTrailP7).AddPrerequisiteQuest(Quest.TerraGroupTrailP6, QuestStatus.Success)},
{ Quest.TerraGroupTrailP8, GetQuestData(Quest.TerraGroupTrailP8).AddPrerequisiteQuest(Quest.TerraGroupTrailP7, QuestStatus.Started)},
{ Quest.TerraGroupTrailP9, GetQuestData(Quest.TerraGroupTrailP9).AddPrerequisiteQuest(Quest.TerraGroupTrailP8, QuestStatus.Success)},
{ Quest.TerraGroupTrailP10, GetQuestData(Quest.TerraGroupTrailP10).AddPrerequisiteQuest(Quest.TerraGroupTrailP9, QuestStatus.Success)},
{ Quest.TerraGroupTrailP11, GetQuestData(Quest.TerraGroupTrailP11).AddPrerequisiteQuest(Quest.TerraGroupTrailP6, QuestStatus.Success)},
{ Quest.TerraGroupTrailP12, GetQuestData(Quest.TerraGroupTrailP12).AddPrerequisiteQuest(Quest.TerraGroupTrailP11, QuestStatus.Success)},
{ Quest.TerraGroupTrailP13, GetQuestData(Quest.TerraGroupTrailP13).AddPrerequisiteQuest(Quest.TerraGroupTrailP12, QuestStatus.Success)},
{ Quest.TerraGroupTrailP14, GetQuestData(Quest.TerraGroupTrailP14).AddPrerequisiteQuest(Quest.TerraGroupTrailP6, QuestStatus.Success)},
{ Quest.TerraGroupTrailP15, GetQuestData(Quest.TerraGroupTrailP15)
.AddPrerequisiteQuest(Quest.TerraGroupTrailP14, QuestStatus.Success)
.AddPrerequisiteQuest(Quest.TerraGroupTrailP10, QuestStatus.Success)},
{ Quest.TerraGroupTrailP16, GetQuestData(Quest.TerraGroupTrailP16).AddPrerequisiteQuest(Quest.TerraGroupTrailP15, QuestStatus.Success)},
{ Quest.TerraGroupTrailP17, GetQuestData(Quest.TerraGroupTrailP17).AddPrerequisiteQuest(Quest.TerraGroupTrailP15, QuestStatus.Success)},
{ Quest.TerraGroupTrailP18, GetQuestData(Quest.TerraGroupTrailP18).AddPrerequisiteQuest(Quest.TerraGroupTrailP15, QuestStatus.Success)},
{ Quest.TerraGroupTrailP19, GetQuestData(Quest.TerraGroupTrailP19)
.AddPrerequisiteQuest(Quest.TerraGroupTrailP16, QuestStatus.Success)
.AddPrerequisiteQuest(Quest.TerraGroupTrailP17, QuestStatus.Success)
.AddPrerequisiteQuest(Quest.TerraGroupTrailP18, QuestStatus.Success)},
// Collector requires a large amount of requisite tasks, so it's at the end // Collector requires a large amount of requisite tasks, so it's at the end
{ Quest.Collector, GetQuestData(Quest.Collector) { Quest.Collector, GetQuestData(Quest.Collector)
.AddPrerequisiteLevel(50) .AddPrerequisiteLevel(50)
@ -996,7 +1020,6 @@ namespace QuestValidator.Common.Helpers
.AddPrerequisiteQuest(Quest.StrayDogs, QuestStatus.Success) .AddPrerequisiteQuest(Quest.StrayDogs, QuestStatus.Success)
.AddPrerequisiteQuest(Quest.TheDeliciousSausage, QuestStatus.Success) .AddPrerequisiteQuest(Quest.TheDeliciousSausage, QuestStatus.Success)
} }
}; };
private static QuestData GetQuestData(Quest quest) private static QuestData GetQuestData(Quest quest)