From 69e05722c8c371164e9a720a08777989ec7b9500 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 5 Jan 2025 14:26:51 +0100 Subject: [PATCH] Rework `IsMainScenarioQuest` to be less reliant on actual journal ids --- Questionable/Model/QuestInfo.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Questionable/Model/QuestInfo.cs b/Questionable/Model/QuestInfo.cs index 751470b5..5f261275 100644 --- a/Questionable/Model/QuestInfo.cs +++ b/Questionable/Model/QuestInfo.cs @@ -60,8 +60,7 @@ internal sealed class QuestInfo : IQuestInfo _ => quest.JournalGenre.ValueNullable?.RowId, }; SortKey = quest.SortKey; - IsMainScenarioQuest = quest.JournalGenre.ValueNullable?.JournalCategory.ValueNullable?.JournalSection - .ValueNullable?.RowId is 0 or 1; + IsMainScenarioQuest = quest.JournalGenre.ValueNullable?.Icon == 61412; CompletesInstantly = quest.TodoParams[0].ToDoCompleteSeq == 0; PreviousInstanceContent = quest.InstanceContent.Select(x => (ushort)x.RowId).Where(x => x != 0).ToList(); PreviousInstanceContentJoin = (EQuestJoin)quest.InstanceContentJoin;