"Y": -14.999356,
"Z": 204.42505
},
- "StopDistance": 5,
+ "StopDistance": 7,
"TerritoryId": 1185,
"InteractionType": "CompleteQuest"
}
"Z": 618.2803
},
"TerritoryId": 957,
- "InteractionType": "Interact"
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Thavnair - Yedlihmad"
}
]
},
--- /dev/null
+{
+ "$schema": "https://carvel.li/questionable/quest-1.0",
+ "Author": "liza",
+ "QuestSequence": [
+ {
+ "Sequence": 0,
+ "Steps": [
+ {
+ "DataId": 1051434,
+ "Position": {
+ "X": 28.580078,
+ "Y": -14,
+ "Z": 75.66943
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "AcceptQuest"
+ }
+ ]
+ },
+ {
+ "Sequence": 1,
+ "Steps": [
+ {
+ "DataId": 1051435,
+ "Position": {
+ "X": 383.1692,
+ "Y": -17.700003,
+ "Z": -771.3283
+ },
+ "TerritoryId": 1190,
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Shaaloani - Mehwahhetsoan",
+ "Fly": true
+ }
+ ]
+ },
+ {
+ "Sequence": 2,
+ "Steps": [
+ {
+ "TerritoryId": 1190,
+ "InteractionType": "Duty",
+ "ContentFinderConditionId": 834
+ }
+ ]
+ },
+ {
+ "Sequence": 3,
+ "Steps": [
+ {
+ "DataId": 1051435,
+ "Position": {
+ "X": 383.1692,
+ "Y": -17.700003,
+ "Z": -771.3283
+ },
+ "TerritoryId": 1190,
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Shaaloani - Mehwahhetsoan",
+ "SkipIf": [
+ "AetheryteShortcutIfInSameTerritory"
+ ]
+ }
+ ]
+ },
+ {
+ "Sequence": 4,
+ "Steps": [
+ {
+ "DataId": 1051436,
+ "Position": {
+ "X": 476.73767,
+ "Y": 114.935,
+ "Z": 661.6769
+ },
+ "TerritoryId": 1187,
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Urqopacha - Worlar's Echo"
+ }
+ ]
+ },
+ {
+ "Sequence": 255,
+ "Steps": [
+ {
+ "DataId": 1051438,
+ "Position": {
+ "X": -498.7717,
+ "Y": 59.21188,
+ "Z": 145.00647
+ },
+ "TerritoryId": 1187,
+ "InteractionType": "CompleteQuest"
+ }
+ ]
+ }
+ ]
+}
--- /dev/null
+{
+ "$schema": "https://carvel.li/questionable/quest-1.0",
+ "Author": "liza",
+ "QuestSequence": [
+ {
+ "Sequence": 0,
+ "Steps": [
+ {
+ "DataId": 1051413,
+ "Position": {
+ "X": -75.21173,
+ "Y": -10.00001,
+ "Z": 138.8418
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "AcceptQuest"
+ }
+ ]
+ },
+ {
+ "Sequence": 255,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "CompleteQuest",
+ "NextQuestId": 5010
+ }
+ ]
+ }
+ ]
+}
--- /dev/null
+{
+ "$schema": "https://carvel.li/questionable/quest-1.0",
+ "Author": "liza",
+ "QuestSequence": [
+ {
+ "Sequence": 0,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "AcceptQuest"
+ }
+ ]
+ },
+ {
+ "Sequence": 1,
+ "Steps": [
+ {
+ "DataId": 1051414,
+ "Position": {
+ "X": -90.348694,
+ "Y": -19.6019,
+ "Z": 212.54285
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "Interact"
+ }
+ ]
+ },
+ {
+ "Sequence": 255,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "CompleteQuest",
+ "NextQuestId": 5011
+ }
+ ]
+ }
+ ]
+}
--- /dev/null
+{
+ "$schema": "https://carvel.li/questionable/quest-1.0",
+ "Author": "liza",
+ "QuestSequence": [
+ {
+ "Sequence": 0,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "AcceptQuest"
+ }
+ ]
+ },
+ {
+ "Sequence": 1,
+ "Steps": [
+ {
+ "DataId": 1049457,
+ "Position": {
+ "X": -223.92621,
+ "Y": 30,
+ "Z": -603.11285
+ },
+ "TerritoryId": 1191,
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Heritage Found - The Outskirts"
+ }
+ ]
+ },
+ {
+ "Sequence": 2,
+ "Steps": [
+ {
+ "Position": {
+ "X": -65.20557,
+ "Y": 38.80659,
+ "Z": -459.1674
+ },
+ "TerritoryId": 1186,
+ "InteractionType": "WalkTo",
+ "AetheryteShortcut": "Solution Nine",
+ "AethernetShortcut": [
+ "[Solution Nine] Aetheryte Plaza",
+ "[Solution Nine] Resolution"
+ ]
+ },
+ {
+ "DataId": 1049180,
+ "Position": {
+ "X": -67.27704,
+ "Y": 38.80659,
+ "Z": -459.22028
+ },
+ "TerritoryId": 1186,
+ "InteractionType": "Interact"
+ }
+ ]
+ },
+ {
+ "Sequence": 3,
+ "Steps": [
+ {
+ "DataId": 1051415,
+ "Position": {
+ "X": -400.351,
+ "Y": 14.029996,
+ "Z": 112.26062
+ },
+ "TerritoryId": 1186,
+ "InteractionType": "Interact",
+ "AethernetShortcut": [
+ "[Solution Nine] Resolution",
+ "[Solution Nine] Residential Sector"
+ ]
+ }
+ ]
+ },
+ {
+ "Sequence": 255,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "CompleteQuest",
+ "AetheryteShortcut": "Tuliyollal",
+ "AethernetShortcut": [
+ "[Tuliyollal] Aetheryte Plaza",
+ "[Tuliyollal] Bayside Bevy Marketplace"
+ ],
+ "NextQuestId": 5012
+ }
+ ]
+ }
+ ]
+}
--- /dev/null
+{
+ "$schema": "https://carvel.li/questionable/quest-1.0",
+ "Author": "liza",
+ "QuestSequence": [
+ {
+ "Sequence": 0,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "AcceptQuest"
+ }
+ ]
+ },
+ {
+ "Sequence": 1,
+ "Steps": [
+ {
+ "DataId": 1051415,
+ "Position": {
+ "X": -400.351,
+ "Y": 14.029996,
+ "Z": 112.26062
+ },
+ "TerritoryId": 1186,
+ "InteractionType": "Interact",
+ "AetheryteShortcut": "Solution Nine",
+ "AethernetShortcut": [
+ "[Solution Nine] Aetheryte Plaza",
+ "[Solution Nine] Residential Sector"
+ ]
+ }
+ ]
+ },
+ {
+ "Sequence": 255,
+ "Steps": [
+ {
+ "DataId": 1048541,
+ "Position": {
+ "X": 23.5141,
+ "Y": -14,
+ "Z": 137.40747
+ },
+ "TerritoryId": 1185,
+ "InteractionType": "CompleteQuest",
+ "AetheryteShortcut": "Tuliyollal",
+ "AethernetShortcut": [
+ "[Tuliyollal] Aetheryte Plaza",
+ "[Tuliyollal] Bayside Bevy Marketplace"
+ ]
+ }
+ ]
+ }
+ ]
+}
if (arguments.Length >= 1 && ushort.TryParse(arguments[0], out ushort questId))
{
- if (_questRegistry.IsKnownQuest(questId))
+ if (_questRegistry.TryGetQuest(questId, out Quest? quest))
{
_debugOverlay.HighlightedQuest = questId;
- _chatGui.Print($"[Questionable] Set highlighted quest to {questId}.");
+ _chatGui.Print($"[Questionable] Set highlighted quest to {questId} ({quest.Info.Name}).");
}
else
_chatGui.PrintError($"[Questionable] Unknown quest {questId}.");
if (_questRegistry.TryGetQuest(questId, out Quest? quest))
{
_questController.SetNextQuest(quest);
- _chatGui.Print($"[Questionable] Set next quest to {questId}.");
+ _chatGui.Print($"[Questionable] Set next quest to {questId} ({quest.Info.Name}).");
}
else
{
if (_questRegistry.TryGetQuest(questId, out Quest? quest))
{
_questController.SimulateQuest(quest);
- _chatGui.Print($"[Questionable] Simulating quest {questId}.");
+ _chatGui.Print($"[Questionable] Simulating quest {questId} ({quest.Info.Name}).");
}
else
_chatGui.PrintError($"[Questionable] Unknown quest {questId}.");
{
lock (_lock)
{
+ _logger.LogInformation("Reload, resetting curent quest progress");
+
_startedQuest = null;
_nextQuest = null;
_simulatedQuest = null;
{
_logger.LogInformation("Stopping automatic questing");
_automatic = false;
+ _nextQuest = null;
}
-
- _nextQuest = null;
}
public void SimulateQuest(Quest? quest)
}
public ETaskResult Update() => ETaskResult.TaskComplete;
+
+ public override string ToString() => $"SetNextQuest({NextQuestId})";
}
}
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
<PropertyGroup>
- <Version>1.3</Version>
+ <Version>1.4</Version>
<OutputPath>dist</OutputPath>
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
</PropertyGroup>
serviceCollection.AddTaskWithFactory<Move.Factory, Move.MoveInternal, Move.ExpectToBeNearDataId>();
serviceCollection.AddTransient<Move.MoveBuilder>();
+ serviceCollection.AddTaskWithFactory<NextQuest.Factory, NextQuest.SetQuest>();
serviceCollection.AddTaskWithFactory<AetherCurrent.Factory, AetherCurrent.DoAttune>();
serviceCollection.AddTaskWithFactory<AethernetShard.Factory, AethernetShard.DoAttune>();
serviceCollection.AddTaskWithFactory<Aetheryte.Factory, Aetheryte.DoAttune>();
WaitAtEnd.WaitObjectAtPosition>();
serviceCollection.AddTransient<WaitAtEnd.WaitQuestAccepted>();
serviceCollection.AddTransient<WaitAtEnd.WaitQuestCompleted>();
- serviceCollection.AddTaskWithFactory<NextQuest.Factory, NextQuest.SetQuest>();
serviceCollection.AddSingleton<MovementController>();
serviceCollection.AddSingleton<QuestRegistry>();