From a571db27e94b6434bfc48da351861aa79530e336 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Wed, 13 Aug 2025 00:27:36 +0200 Subject: [PATCH] Add Patch 7.3 Fantasia --- .../Unlocks/Misc/U568_Patch 7 3 Fantasia.json | 34 +++++++++++++++++++ Questionable/Data/QuestData.cs | 1 + Questionable/Functions/QuestFunctions.cs | 2 ++ .../QuestComponents/EventInfoComponent.cs | 3 +- 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 QuestPaths/7.x - Dawntrail/Unlocks/Misc/U568_Patch 7 3 Fantasia.json diff --git a/QuestPaths/7.x - Dawntrail/Unlocks/Misc/U568_Patch 7 3 Fantasia.json b/QuestPaths/7.x - Dawntrail/Unlocks/Misc/U568_Patch 7 3 Fantasia.json new file mode 100644 index 00000000..b48a33f0 --- /dev/null +++ b/QuestPaths/7.x - Dawntrail/Unlocks/Misc/U568_Patch 7 3 Fantasia.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json", + "Author": "liza", + "QuestSequence": [ + { + "Sequence": 0, + "Steps": [ + { + "DataId": 1052475, + "Position": { + "X": -22.354492, + "Y": 10.13581, + "Z": -241.41296 + }, + "TerritoryId": 133, + "InteractionType": "AcceptQuest", + "AetheryteShortcut": "Gridania", + "AethernetShortcut": [ + "[Gridania] Aetheryte Plaza", + "[Gridania] Mih Khetto's Amphitheatre" + ], + "SkipConditions": { + "AetheryteShortcutIf": { + "InSameTerritory": true, + "InTerritory": [ + 133 + ] + } + } + } + ] + } + ] +} diff --git a/Questionable/Data/QuestData.cs b/Questionable/Data/QuestData.cs index 26f0cc53..d563c851 100644 --- a/Questionable/Data/QuestData.cs +++ b/Questionable/Data/QuestData.cs @@ -144,6 +144,7 @@ internal sealed class QuestData })); quests.Add(new UnlockLinkQuestInfo(new UnlockLinkId(506), "Patch 7.2 Fantasia", 1052475)); + quests.Add(new UnlockLinkQuestInfo(new UnlockLinkId(568), "Patch 7.3 Fantasia", 1052475)); _quests = quests.ToDictionary(x => x.QuestId, x => x); diff --git a/Questionable/Functions/QuestFunctions.cs b/Questionable/Functions/QuestFunctions.cs index 9d99f2bb..ded8287e 100644 --- a/Questionable/Functions/QuestFunctions.cs +++ b/Questionable/Functions/QuestFunctions.cs @@ -754,6 +754,8 @@ internal sealed unsafe class QuestFunctions { if (unlockLinkId.Value == 506) return !IsFestivalActive(160, 2); + else if (unlockLinkId.Value == 568) + return !IsFestivalActive(160, 3); else return true; } diff --git a/Questionable/Windows/QuestComponents/EventInfoComponent.cs b/Questionable/Windows/QuestComponents/EventInfoComponent.cs index b27bcbe3..b4f4f189 100644 --- a/Questionable/Windows/QuestComponents/EventInfoComponent.cs +++ b/Questionable/Windows/QuestComponents/EventInfoComponent.cs @@ -23,8 +23,7 @@ internal sealed class EventInfoComponent [SuppressMessage("ReSharper", "CollectionNeverUpdated.Local")] private readonly List _eventQuests = [ - new EventQuest("Limited Time Items", [new UnlockLinkId(506)], DateTime.MaxValue), - new EventQuest("Make It Rain", [new QuestId(5322)], AtDailyReset(new(2025, 6, 11))) + new EventQuest("Limited Time Items", [new UnlockLinkId(568)], DateTime.MaxValue), ]; private readonly QuestData _questData; -- 2.20.1