1
0
forked from liza/Questionable

Mini-YA II

This commit is contained in:
Liza 2024-06-07 23:21:58 +02:00
parent 9bbfbc54d3
commit d8494b347b
Signed by: liza
GPG Key ID: 7199F8D727D55F67
19 changed files with 276 additions and 29 deletions

View File

@ -59,6 +59,14 @@
}, },
"TerritoryId": 958, "TerritoryId": 958,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
128
],
"$.0": "[1]", "$.0": "[1]",
"$.1": "QuestVariables if done first: 16 1 0 0 0 128" "$.1": "QuestVariables if done first: 16 1 0 0 0 128"
}, },
@ -71,6 +79,14 @@
}, },
"TerritoryId": 958, "TerritoryId": 958,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
],
"$.0": "[2]", "$.0": "[2]",
"$.1": "QuestVariables if done first: 16 16 0 0 0 32", "$.1": "QuestVariables if done first: 16 16 0 0 0 32",
"$.2": "QuestVariables if done after [1]: 32 17 0 0 0 160" "$.2": "QuestVariables if done after [1]: 32 17 0 0 0 160"
@ -84,6 +100,14 @@
}, },
"TerritoryId": 958, "TerritoryId": 958,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
64
],
"$.0": "[3]", "$.0": "[3]",
"$.1": "QuestVariables if done first: 17 0 0 0 0 64" "$.1": "QuestVariables if done first: 17 0 0 0 0 64"
} }

View File

@ -13,7 +13,15 @@
"Z": 727.7484 "Z": 727.7484
}, },
"TerritoryId": 957, "TerritoryId": 957,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "List",
"Prompt": "TEXT_AKTKZA201_04489_Q1_000_004",
"Answer": "TEXT_AKTKZA201_04489_A1_000_002"
}
],
"Comment": "TODO I don't think dialogue choices as part of accepting a quest are handled yet"
} }
] ]
}, },

View File

@ -1,7 +1,6 @@
{ {
"$schema": "https://carvel.li/questionable/quest-1.0", "$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza", "Author": "liza",
"Comment": "TODO add aether current (2818368) here since it can't be reached later with mount speed 0",
"QuestSequence": [ "QuestSequence": [
{ {
"Sequence": 0, "Sequence": 0,
@ -23,15 +22,56 @@
"Steps": [ "Steps": [
{ {
"Position": { "Position": {
"X": 1.131261, "X": 11.922524,
"Y": -114.92335, "Y": -105.8306,
"Z": -418.2727 "Z": -397.17743
}, },
"TerritoryId": 959, "TerritoryId": 959,
"InteractionType": "WalkTo", "InteractionType": "WalkTo",
"Mount": true, "Mount": true,
"DisableNavmesh": true "DisableNavmesh": true
}, },
{
"Position": {
"X": 30.28816,
"Y": -133.50012,
"Z": -394.98798
},
"StopDistance": 5,
"TerritoryId": 959,
"InteractionType": "WalkTo",
"DisableNavmesh": true
},
{
"DataId": 2012019,
"Position": {
"X": 21.7081,
"Y": -133.5001,
"Z": -385.7313
},
"TerritoryId": 959,
"InteractionType": "AttuneAetherCurrent",
"AetherCurrentId": 2818368
},
{
"DataId": 2012019,
"Position": {
"X": 23.67959,
"Y": -133.50012,
"Z": -399.96643
},
"StopDistance": 0.5,
"TerritoryId": 959,
"InteractionType": "Jump",
"JumpDestination": {
"Position": {
"X": 22.27572,
"Y": -137,
"Z": -416.6249
},
"StopDistance": 5
}
},
{ {
"DataId": 1038897, "DataId": 1038897,
"Position": { "Position": {

View File

@ -31,10 +31,7 @@
"TerritoryId": 959, "TerritoryId": 959,
"InteractionType": "Interact", "InteractionType": "Interact",
"AetheryteShortcut": "Mare Lamentorum - Bestways Burrow", "AetheryteShortcut": "Mare Lamentorum - Bestways Burrow",
"TargetTerritoryId": 959, "TargetTerritoryId": 959
"SkipIf": [
"Never"
]
}, },
{ {
"Position": { "Position": {

View File

@ -111,10 +111,7 @@
}, },
"TerritoryId": 956, "TerritoryId": 956,
"InteractionType": "Interact", "InteractionType": "Interact",
"TargetTerritoryId": 956, "TargetTerritoryId": 956
"SkipIf": [
"Never"
]
}, },
{ {
"DataId": 1040397, "DataId": 1040397,

View File

@ -1,6 +1,10 @@
{ {
"$schema": "https://carvel.li/questionable/quest-1.0", "$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza", "Author": "liza",
"TerritoryBlacklist": [
978,
995
],
"QuestSequence": [ "QuestSequence": [
{ {
"Sequence": 0, "Sequence": 0,
@ -83,6 +87,13 @@
"AethernetShortcut": [ "AethernetShortcut": [
"[Old Sharlayan] The Rostra", "[Old Sharlayan] The Rostra",
"[Old Sharlayan] The Baldesion Annex" "[Old Sharlayan] The Baldesion Annex"
],
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMF111_04449_Q4_000_344",
"Yes": true
}
] ]
} }
] ]

View File

@ -82,8 +82,39 @@
"Z": -62.485718 "Z": -62.485718
}, },
"TerritoryId": 962, "TerritoryId": 962,
"InteractionType": "WaitForManualProgress", "InteractionType": "Interact",
"Comment": "Talk (2, 2, 2, N/A, 2)" "DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG101_04450_Q2_000_221",
"Yes": true
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMG101_04450_Q3_000_240",
"Answer": "TEXT_AKTKMG101_04450_A3_000_241"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMG101_04450_Q4_000_256",
"Answer": "TEXT_AKTKMG101_04450_A4_000_258"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMG101_04450_Q5_000_276",
"Answer": "TEXT_AKTKMG101_04450_A5_000_278"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMG101_04450_Q6_000_298",
"Answer": "TEXT_AKTKMG101_04450_A6_000_300"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMG101_04450_Q7_000_305",
"Answer": "TEXT_AKTKMG101_04450_A7_000_307"
}
]
} }
] ]
}, },

View File

@ -121,6 +121,13 @@
"AethernetShortcut": [ "AethernetShortcut": [
"[Old Sharlayan] The Leveilleur Estate", "[Old Sharlayan] The Leveilleur Estate",
"[Old Sharlayan] The Baldesion Annex" "[Old Sharlayan] The Baldesion Annex"
],
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG102_04451_Q1_000_143",
"Yes": true
}
] ]
} }
] ]

View File

@ -33,7 +33,8 @@
"AetheryteShortcut": "Labyrinthos - Aporia", "AetheryteShortcut": "Labyrinthos - Aporia",
"SkipIf": [ "SkipIf": [
"FlyingUnlocked" "FlyingUnlocked"
] ],
"TargetTerritoryId": 956
}, },
{ {
"DataId": 1039827, "DataId": 1039827,
@ -59,7 +60,14 @@
"Z": 311.9402 "Z": 311.9402
}, },
"TerritoryId": 956, "TerritoryId": 956,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG103_04452_Q1_000_183",
"Yes": true
}
]
} }
] ]
}, },

View File

@ -45,6 +45,14 @@
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
128
],
"$.0": "[1]", "$.0": "[1]",
"$.1": "QuestVariables if done first: 16 1 0 0 0 128" "$.1": "QuestVariables if done first: 16 1 0 0 0 128"
}, },
@ -57,6 +65,14 @@
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
64
],
"$.0": "[2]", "$.0": "[2]",
"$.1": "QuestVariables if done after [1]: 33 1 0 0 0 192" "$.1": "QuestVariables if done after [1]: 33 1 0 0 0 192"
}, },
@ -69,6 +85,14 @@
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact", "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
],
"$.0": "[3]", "$.0": "[3]",
"$.2": "QuestVariables if done first: 16 16 0 0 0 32" "$.2": "QuestVariables if done first: 16 16 0 0 0 32"
} }

View File

@ -55,7 +55,14 @@
"Z": -319.50867 "Z": -319.50867
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG110_04459_Q1_000_041",
"Yes": true
}
]
}, },
{ {
"DataId": 2012286, "DataId": 2012286,
@ -176,7 +183,15 @@
"Z": 329.76257 "Z": 329.76257
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
64
]
}, },
{ {
"DataId": 1038041, "DataId": 1038041,
@ -186,7 +201,15 @@
"Z": 345.44885 "Z": 345.44885
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
]
}, },
{ {
"DataId": 1038045, "DataId": 1038045,
@ -196,7 +219,15 @@
"Z": 347.64624 "Z": 347.64624
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
128
]
} }
] ]
}, },

View File

@ -170,7 +170,14 @@
"Z": 241.77905 "Z": 241.77905
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG111_04460_Q1_000_135",
"Yes": true
}
]
}, },
{ {
"DataId": 1041157, "DataId": 1041157,

View File

@ -44,7 +44,14 @@
"Z": 365.43823 "Z": 365.43823
}, },
"TerritoryId": 960, "TerritoryId": 960,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG113_04462_Q1_000_040",
"Yes": true
}
]
}, },
{ {
"DataId": 1041165, "DataId": 1041165,

View File

@ -37,6 +37,13 @@
null, null,
128 128
], ],
"DialogueChoices": [
{
"Type": "List",
"Prompt": "TEXT_AKTKMG114_04463_Q1_000_031",
"Answer": "TEXT_AKTKMG114_04463_A1_000_033"
}
],
"$.0": "[1]", "$.0": "[1]",
"$.1": "QuestVariables if done first: 16 0 0 16 0 128" "$.1": "QuestVariables if done first: 16 0 0 16 0 128"
}, },
@ -137,6 +144,13 @@
null, null,
64 64
], ],
"DialogueChoices": [
{
"Type": "List",
"Prompt": "TEXT_AKTKMG114_04463_Q2_000_061",
"Answer": "TEXT_AKTKMG114_04463_A2_000_063"
}
],
"$.0": "[6]", "$.0": "[6]",
"$.1": "QuestVariables if done first: 16 0 1 0 0 64" "$.1": "QuestVariables if done first: 16 0 1 0 0 64"
} }

View File

@ -2,7 +2,9 @@
"$schema": "https://carvel.li/questionable/quest-1.0", "$schema": "https://carvel.li/questionable/quest-1.0",
"Author": "liza", "Author": "liza",
"TerritoryBlacklist": [ "TerritoryBlacklist": [
973 973,
997,
1013
], ],
"QuestSequence": [ "QuestSequence": [
{ {
@ -234,7 +236,14 @@
"Z": -7.1870728 "Z": -7.1870728
}, },
"TerritoryId": 351, "TerritoryId": 351,
"InteractionType": "Interact" "InteractionType": "Interact",
"DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMG115_04464_Q13_000_391",
"Yes": true
}
]
} }
] ]
} }

View File

@ -48,8 +48,39 @@
"Z": -225.42157 "Z": -225.42157
}, },
"TerritoryId": 963, "TerritoryId": 963,
"InteractionType": "WaitForManualProgress", "InteractionType": "Interact",
"Comment": "Talk (1, 1, 1, 2)" "DialogueChoices": [
{
"Type": "YesNo",
"Prompt": "TEXT_AKTKMH102_04527_Q9_100_111",
"Yes": true
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMH102_04527_Q1_000_000",
"Answer": "TEXT_AKTKMH102_04527_A1_000_001"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMH102_04527_Q2_000_000",
"Answer": "TEXT_AKTKMH102_04527_A2_000_001"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMH102_04527_Q3_000_000",
"Answer": "TEXT_AKTKMH102_04527_A3_000_001"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMH102_04527_Q4_000_000",
"Answer": "TEXT_AKTKMH102_04527_A4_000_001"
},
{
"Type": "List",
"Prompt": "TEXT_AKTKMH102_04527_Q5_000_000",
"Answer": "TEXT_AKTKMH102_04527_A5_000_002"
}
]
} }
] ]
}, },

View File

@ -79,6 +79,7 @@
"TerritoryId": 956, "TerritoryId": 956,
"InteractionType": "Interact", "InteractionType": "Interact",
"AetheryteShortcut": "Labyrinthos - Aporia", "AetheryteShortcut": "Labyrinthos - Aporia",
"TargetTerritoryId": 956,
"SkipIf": [ "SkipIf": [
"FlyingUnlocked" "FlyingUnlocked"
] ]

View File

@ -444,7 +444,7 @@ internal sealed class QuestController
$"Aethernet shortcut not unlocked (from: {step.AethernetShortcut.From}, to: {step.AethernetShortcut.To}), walking manually"); $"Aethernet shortcut not unlocked (from: {step.AethernetShortcut.From}, to: {step.AethernetShortcut.To}), walking manually");
} }
if (step.TargetTerritoryId == _clientState.TerritoryType && !step.SkipIf.Contains(ESkipCondition.Never)) if (step.TargetTerritoryId.HasValue && step.TerritoryId != step.TargetTerritoryId && step.TargetTerritoryId == _clientState.TerritoryType)
{ {
// we assume whatever e.g. interaction, walkto etc. we have will trigger the zone transition // we assume whatever e.g. interaction, walkto etc. we have will trigger the zone transition
_pluginLog.Information("Zone transition, skipping rest of step"); _pluginLog.Information("Zone transition, skipping rest of step");

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<Version>0.3</Version> <Version>0.4</Version>
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>