Disable some tribal quests for now
authorLiza Carvelli <liza@carvel.li>
Tue, 16 Jul 2024 18:41:27 +0000 (20:41 +0200)
committerLiza Carvelli <liza@carvel.li>
Tue, 16 Jul 2024 18:41:27 +0000 (20:41 +0200)
QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4562_Waste Not, Want None of That.json
QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4562_Waste Not, Want None of That.md [new file with mode: 0644]
QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4563_Seedy Affair.json
QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4563_Seedy Affair.md [new file with mode: 0644]
Questionable/Windows/QuestWindow.cs

index 391185dc01821eb7f09dfa4a9bdd2d2d1c0b56ee..20ee2a3d3288c0fb8e96444eebb37487ee8320a7 100644 (file)
@@ -1,6 +1,7 @@
 {
   "$schema": "https://carvel.li/questionable/quest-1.0",
   "Author": "liza",
+  "Disabled": true,
   "QuestSequence": [
     {
       "Sequence": 0,
diff --git a/QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4562_Waste Not, Want None of That.md b/QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4562_Waste Not, Want None of That.md
new file mode 100644 (file)
index 0000000..0568195
--- /dev/null
@@ -0,0 +1,12 @@
+## Seedy Affair
+
+First NPC:
+```
+0 ?? 0 0 0 0
+  32          → 1042390
+```
+
+Second NPC:
+```
+1 16 0 0 0 64 → 1042389
+```
index 039d3c69541652dbff238c168f4af41f5a749aca..3215d4c5caecaf69c953d4a152a2377559d278e1 100644 (file)
@@ -1,6 +1,7 @@
 {
   "$schema": "https://carvel.li/questionable/quest-1.0",
   "Author": "liza",
+  "Disabled": true,
   "QuestSequence": [
     {
       "Sequence": 0,
diff --git a/QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4563_Seedy Affair.md b/QuestPaths/6.x - Endwalker/Tribal/Arkasodara/Dailies/4563_Seedy Affair.md
new file mode 100644 (file)
index 0000000..17a1c88
--- /dev/null
@@ -0,0 +1,7 @@
+## Seedy Affair
+
+QuestWork:
+```
+0 ?? 0 0 0 0
+  19         → 2012884
+```
index 9fd5c9ec26728e8e98a934ea56f399c44e2ecf57..1f3f617ccfb4b9929b4f6f3211833131eb97d228 100644 (file)
@@ -49,6 +49,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
     private readonly IGameGui _gameGui;
     private readonly QuestSelectionWindow _questSelectionWindow;
     private readonly QuestValidationWindow _questValidationWindow;
+    private readonly ICommandManager _commandManager;
     private readonly ILogger<QuestWindow> _logger;
 
     public QuestWindow(IDalamudPluginInterface pluginInterface,
@@ -70,6 +71,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
         IGameGui gameGui,
         QuestSelectionWindow questSelectionWindow,
         QuestValidationWindow questValidationWindow,
+        ICommandManager commandManager,
         ILogger<QuestWindow> logger)
         : base("Questionable###Questionable", ImGuiWindowFlags.AlwaysAutoResize)
     {
@@ -92,6 +94,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
         _gameGui = gameGui;
         _questSelectionWindow = questSelectionWindow;
         _questValidationWindow = questValidationWindow;
+        _commandManager = commandManager;
         _logger = logger;
 
 #if DEBUG
@@ -264,6 +267,13 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
                 ImGui.PopStyleColor();
             ImGui.EndDisabled();
 
+            if (_commandManager.Commands.TryGetValue("/questinfo", out var commandInfo))
+            {
+                ImGui.SameLine();
+                if (ImGuiComponents.IconButton(FontAwesomeIcon.Atlas))
+                    _commandManager.DispatchCommand("/questinfo", currentQuest.Quest.QuestId.ToString(CultureInfo.InvariantCulture), commandInfo);
+            }
+
             bool autoAcceptNextQuest = _configuration.General.AutoAcceptNextQuest;
             if (ImGui.Checkbox("Automatically accept next quest", ref autoAcceptNextQuest))
             {