Disable some tribal quests for now

pull/7/head
Liza 2024-07-16 20:41:27 +02:00
parent 9eeda20d88
commit 5e8de17b55
Signed by: liza
GPG Key ID: 7199F8D727D55F67
5 changed files with 31 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{
"$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza",
"Disabled": true,
"QuestSequence": [
{
"Sequence": 0,

View File

@ -0,0 +1,12 @@
## Seedy Affair
First NPC:
```
0 ?? 0 0 0 0
32 → 1042390
```
Second NPC:
```
1 16 0 0 0 64 → 1042389
```

View File

@ -1,6 +1,7 @@
{
"$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza",
"Disabled": true,
"QuestSequence": [
{
"Sequence": 0,

View File

@ -0,0 +1,7 @@
## Seedy Affair
QuestWork:
```
0 ?? 0 0 0 0
19 → 2012884
```

View 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))
{