From 4be3d408dde501e80bb6c06ba2281c24487f5f9a Mon Sep 17 00:00:00 2001 From: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Date: Thu, 11 May 2023 17:39:55 -0700 Subject: [PATCH 1/2] - Add pre-reqs for 'Special Equipment' and 'Green Corridor' --- QuestValidator.Common/Helpers/QuestRequirements.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/QuestValidator.Common/Helpers/QuestRequirements.cs b/QuestValidator.Common/Helpers/QuestRequirements.cs index 81c1928..6341a71 100644 --- a/QuestValidator.Common/Helpers/QuestRequirements.cs +++ b/QuestValidator.Common/Helpers/QuestRequirements.cs @@ -634,6 +634,7 @@ namespace QuestValidator.Common.Helpers .RemovePrerequisiteQuest(Quest.HuntsmanPathForestCleaning) .AddPrerequisiteQuest(Quest.TheGuide, QuestStatus.Success)}, { Quest.SpecialEquipment, GetQuestData(Quest.SpecialEquipment) + .AddPrerequisiteLevel(60) .AddPrerequisiteQuest(Quest.Trophies, QuestStatus.Success)}, { Quest.TheCourier, GetQuestData(Quest.TheCourier) .AddPrerequisiteLevel(52) @@ -680,8 +681,9 @@ namespace QuestValidator.Common.Helpers .AddPrerequisiteQuest(Quest.Audiophile, QuestStatus.Success)}, { Quest.TheHuntsmanPathAdministrator, GetQuestData(Quest.TheHuntsmanPathAdministrator) .AddPrerequisiteQuest(Quest.HuntsmanPathForestCleaning, QuestStatus.Success) }, - // { Quest.GreenCorridor, GetQuestData(Quest.GreenCorridor) - // .AddPrerequisiteQuest(Quest., QuestStatus.Success)}, // NO DATA YET + { Quest.GreenCorridor, GetQuestData(Quest.GreenCorridor) + .AddPrerequisiteLevel(20) + .AddPrerequisiteQuest(Quest.SpaTourP7, QuestStatus.Success)}, { Quest.RevisionStreetsOfTarkov, GetQuestData(Quest.RevisionStreetsOfTarkov) .AddPrerequisiteQuest(Quest.RevisionReserve, QuestStatus.Success) }, { Quest.Surveillance, GetQuestData(Quest.Surveillance) From 83c59a6e5eaae9b202e80fdc741cd87ffa56221e Mon Sep 17 00:00:00 2001 From: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Date: Thu, 11 May 2023 18:26:15 -0700 Subject: [PATCH 2/2] - AvailableForFinish _prop id's are used for displaying the quest objectives, so don't copy those from the existing quests.json --- GenerateQuestFile/Program.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/GenerateQuestFile/Program.cs b/GenerateQuestFile/Program.cs index 7f4f97d..cb6ab8c 100644 --- a/GenerateQuestFile/Program.cs +++ b/GenerateQuestFile/Program.cs @@ -319,7 +319,6 @@ namespace GenerateQuestFile CopyRewardRandomIds(originalQuest.rewards.Fail, quest.rewards.Fail); CopyConditionRandomIds(originalQuest.conditions.AvailableForStart, quest.conditions.AvailableForStart); - CopyConditionRandomIds(originalQuest.conditions.AvailableForFinish, quest.conditions.AvailableForFinish); } private static void CopyRewardRandomIds(List originalRewards, List rewards)