From dc4d216fba69b39bd7321f6ffbf6fef26d737e29 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sat, 30 Nov 2024 00:11:47 +0100 Subject: [PATCH] =?UTF-8?q?Sort=20'A=20Relic=20Reborn'=20quests=20under=20?= =?UTF-8?q?Weapon=20Enhancement=20Quests=20=E2=86=92=20Zodiac=20Weapons=20?= =?UTF-8?q?instead=20of=20job=20quests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Questionable/Data/QuestData.cs | 10 +++++++++- Questionable/Model/QuestInfo.cs | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Questionable/Data/QuestData.cs b/Questionable/Data/QuestData.cs index 77b20e01..b1f26524 100644 --- a/Questionable/Data/QuestData.cs +++ b/Questionable/Data/QuestData.cs @@ -177,9 +177,17 @@ internal sealed class QuestData foreach (var questId in uldahSideQuests) ((QuestInfo)_quests[new QuestId(questId)]).StartingCity = 3; - // follow-up quests to picking a GC AddGcFollowUpQuests(); + + // update relic quests to be in a different journal category + ushort[] zodiacStartingQuests = [1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1579]; + foreach (var questId in zodiacStartingQuests) + { + var quest = ((QuestInfo)_quests[new QuestId(questId)]); + quest.JournalGenre = 82; + quest.SortKey = 0; + } } private void AddPreviousQuest(QuestId questToUpdate, QuestId requiredQuestId) diff --git a/Questionable/Model/QuestInfo.cs b/Questionable/Model/QuestInfo.cs index bc766b67..bc3d1838 100644 --- a/Questionable/Model/QuestInfo.cs +++ b/Questionable/Model/QuestInfo.cs @@ -79,8 +79,8 @@ internal sealed class QuestInfo : IQuestInfo public EQuestJoin QuestLockJoin { get; private set; } public List PreviousInstanceContent { get; } public EQuestJoin PreviousInstanceContentJoin { get; } - public uint? JournalGenre { get; } - public ushort SortKey { get; } + public uint? JournalGenre { get; set; } + public ushort SortKey { get; set; } public bool IsMainScenarioQuest { get; } public bool CompletesInstantly { get; } public GrandCompany GrandCompany { get; }