Disable some tribal quests for now

This commit is contained in:
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", "$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza", "Author": "liza",
"Disabled": true,
"QuestSequence": [ "QuestSequence": [
{ {
"Sequence": 0, "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", "$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza", "Author": "liza",
"Disabled": true,
"QuestSequence": [ "QuestSequence": [
{ {
"Sequence": 0, "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 IGameGui _gameGui;
private readonly QuestSelectionWindow _questSelectionWindow; private readonly QuestSelectionWindow _questSelectionWindow;
private readonly QuestValidationWindow _questValidationWindow; private readonly QuestValidationWindow _questValidationWindow;
private readonly ICommandManager _commandManager;
private readonly ILogger<QuestWindow> _logger; private readonly ILogger<QuestWindow> _logger;
public QuestWindow(IDalamudPluginInterface pluginInterface, public QuestWindow(IDalamudPluginInterface pluginInterface,
@ -70,6 +71,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
IGameGui gameGui, IGameGui gameGui,
QuestSelectionWindow questSelectionWindow, QuestSelectionWindow questSelectionWindow,
QuestValidationWindow questValidationWindow, QuestValidationWindow questValidationWindow,
ICommandManager commandManager,
ILogger<QuestWindow> logger) ILogger<QuestWindow> logger)
: base("Questionable###Questionable", ImGuiWindowFlags.AlwaysAutoResize) : base("Questionable###Questionable", ImGuiWindowFlags.AlwaysAutoResize)
{ {
@ -92,6 +94,7 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
_gameGui = gameGui; _gameGui = gameGui;
_questSelectionWindow = questSelectionWindow; _questSelectionWindow = questSelectionWindow;
_questValidationWindow = questValidationWindow; _questValidationWindow = questValidationWindow;
_commandManager = commandManager;
_logger = logger; _logger = logger;
#if DEBUG #if DEBUG
@ -264,6 +267,13 @@ internal sealed class QuestWindow : LWindow, IPersistableWindowConfig
ImGui.PopStyleColor(); ImGui.PopStyleColor();
ImGui.EndDisabled(); 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; bool autoAcceptNextQuest = _configuration.General.AutoAcceptNextQuest;
if (ImGui.Checkbox("Automatically accept next quest", ref autoAcceptNextQuest)) if (ImGui.Checkbox("Automatically accept next quest", ref autoAcceptNextQuest))
{ {