forked from liza/Questionable
Compare commits
1 Commits
9f737ee674
...
50805643d5
Author | SHA1 | Date |
---|---|---|
Fifi | 50805643d5 |
|
@ -128,10 +128,6 @@ internal static class SkipConditionsExtensions
|
|||
skipAetheryteCondition.InSameTerritory, emptyAetheryte.InSameTerritory),
|
||||
AssignmentList(nameof(SkipAetheryteCondition.InTerritory),
|
||||
skipAetheryteCondition.InTerritory),
|
||||
AssignmentList(nameof(SkipAetheryteCondition.QuestsAccepted),
|
||||
skipAetheryteCondition.QuestsAccepted),
|
||||
AssignmentList(nameof(skipAetheryteCondition.QuestsCompleted),
|
||||
skipAetheryteCondition.QuestsCompleted),
|
||||
Assignment(nameof(SkipAetheryteCondition.AetheryteLocked),
|
||||
skipAetheryteCondition.AetheryteLocked, emptyAetheryte.AetheryteLocked)
|
||||
.AsSyntaxNodeOrToken(),
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 118.88306
|
||||
},
|
||||
"TerritoryId": 131,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Ul'dah",
|
||||
"AethernetShortcut": [
|
||||
"[Ul'dah] Aetheryte Plaza",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 190.41736
|
||||
},
|
||||
"TerritoryId": 128,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Limsa Lominsa",
|
||||
"AethernetShortcut": [
|
||||
"[Limsa Lominsa] Aetheryte Plaza",
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSARM011_00273_Q1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 273
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 59.952637
|
||||
},
|
||||
"TerritoryId": 130,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Ul'dah",
|
||||
"AethernetShortcut": [
|
||||
"[Ul'dah] Aetheryte Plaza",
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
"TerritoryId": 153,
|
||||
"InteractionType": "CompleteQuest",
|
||||
"Fly": true,
|
||||
"NextQuestId": 1086
|
||||
"NextQuestId": 1085
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"DialogueChoices": [
|
||||
{
|
||||
"Type": "YesNo",
|
||||
"Prompt": "TEXT_CLSBSM011_00291_Q1_000_1",
|
||||
"Prompt": "TEXT_CLSBSM001_00185_Q1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSHRV001_00003_Q1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": -164.0498
|
||||
},
|
||||
"TerritoryId": 128,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Limsa Lominsa",
|
||||
"AethernetShortcut": [
|
||||
"[Limsa Lominsa] Aetheryte Plaza",
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSCUL011_00271_Q1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 271
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"Yes": true
|
||||
}
|
||||
],
|
||||
"InteractionType": "AcceptQuest"
|
||||
"InteractionType": "Interact"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 150.04187
|
||||
},
|
||||
"TerritoryId": 129,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Limsa Lominsa",
|
||||
"AethernetShortcut": [
|
||||
"[Limsa Lominsa] Aetheryte Plaza",
|
||||
|
|
|
@ -38,6 +38,22 @@
|
|||
"InteractionType": "AcceptQuest"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Sequence": 255,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1000857,
|
||||
"Position": {
|
||||
"X": -165.27051,
|
||||
"Y": 5.2500057,
|
||||
"Z": 164.29382
|
||||
},
|
||||
"TerritoryId": 129,
|
||||
"InteractionType": "CompleteQuest",
|
||||
"NextQuestId": 1108
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 97.24573
|
||||
},
|
||||
"TerritoryId": 131,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Ul'dah",
|
||||
"AethernetShortcut": [
|
||||
"[Ul'dah] Aetheryte Plaza",
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSGLD011_00608_A1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 608
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSTAN000_00105_Q1_000_1",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 105
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": -147.41742
|
||||
},
|
||||
"TerritoryId": 133,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Gridania",
|
||||
"AethernetShortcut": [
|
||||
"[Gridania] Aetheryte Plaza",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": -51.163513
|
||||
},
|
||||
"TerritoryId": 130,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Ul'dah",
|
||||
"SkipConditions": {
|
||||
"AetheryteShortcutIf": {
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
{
|
||||
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"Author": "Cacahuetes",
|
||||
"QuestSequence": [
|
||||
{
|
||||
"Sequence": 0,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1000895,
|
||||
"Position": {
|
||||
"X": -335.74432,
|
||||
"Y": 12.899764,
|
||||
"Z": 1.3884888
|
||||
},
|
||||
"TerritoryId": 129,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"Author": "Cacahuetes",
|
||||
"QuestSequence": [
|
||||
{
|
||||
"Sequence": 255,
|
||||
"Steps": [
|
||||
{ "DataId": 1000895,
|
||||
"Position": {
|
||||
"X": -335.74432,
|
||||
"Y": 12.899764,
|
||||
"Z": 1.3884888
|
||||
},
|
||||
"TerritoryId": 129,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"AetheryteShortcut": "Limsa Lominsa",
|
||||
"AethernetShortcut": [
|
||||
"[Limsa Lominsa] Aetheryte Plaza",
|
||||
|
@ -36,7 +35,8 @@
|
|||
],
|
||||
"NextQuestId": 452
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
"Z": -245.80762
|
||||
},
|
||||
"TerritoryId": 128,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Limsa Lominsa",
|
||||
"AethernetShortcut": [
|
||||
"[Limsa Lominsa] Aetheryte Plaza",
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"Z": -255.8786
|
||||
},
|
||||
"TerritoryId": 128,
|
||||
"InteractionType": "CompleteQuest",
|
||||
"InteractionType": "AcceptQuest",
|
||||
"DialogueChoices": [
|
||||
{
|
||||
"Type": "YesNo",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"Z": 98.039185
|
||||
},
|
||||
"TerritoryId": 131,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Ul'dah",
|
||||
"AethernetShortcut": [
|
||||
"[Ul'dah] Aetheryte Plaza",
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
"Prompt": "TEXT_CLSWVR011_00534_SYSTEM_Q0",
|
||||
"Yes": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"NextQuestId": 534
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -102,8 +102,7 @@
|
|||
"Z": 342.85498
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "CompleteQuest",
|
||||
"Mount": true
|
||||
"InteractionType": "CompleteQuest"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
{
|
||||
"Sequence": 1,
|
||||
"Steps": [
|
||||
{
|
||||
"Position": {
|
||||
"X": 323.5058,
|
||||
"Y": -16.330368,
|
||||
"Z": -254.18399
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "WalkTo"
|
||||
},
|
||||
{
|
||||
"DataId": 1050656,
|
||||
"Position": {
|
||||
|
|
|
@ -28,8 +28,7 @@
|
|||
"Z": 427.2068
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "Interact",
|
||||
"Mount": true
|
||||
"InteractionType": "Interact"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -51,27 +50,6 @@
|
|||
{
|
||||
"Sequence": 3,
|
||||
"Steps": [
|
||||
{
|
||||
"Position": {
|
||||
"X": 369.3906,
|
||||
"Y": 5.9371996,
|
||||
"Z": 417.16574
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "WalkTo",
|
||||
"$": "Shaaloani Hhusatahwi Saloon Stairs (top)"
|
||||
},
|
||||
{
|
||||
"Position": {
|
||||
"X": 359.11545,
|
||||
"Y": 1.9823306,
|
||||
"Z": 419.5714
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "WalkTo",
|
||||
"$": "Shaaloani Hhusatahwi Saloon Stairs (bottom)",
|
||||
"DisableNavmesh": true
|
||||
},
|
||||
{
|
||||
"DataId": 1051286,
|
||||
"Position": {
|
||||
|
|
|
@ -174,17 +174,6 @@
|
|||
{
|
||||
"Sequence": 255,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 2013948,
|
||||
"Position": {
|
||||
"X": 610.7728,
|
||||
"Y": 9.597839,
|
||||
"Z": 233.05103
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AttuneAetherCurrent",
|
||||
"AetherCurrentId": 2818440
|
||||
},
|
||||
{
|
||||
"DataId": 1051073,
|
||||
"Position": {
|
||||
|
|
|
@ -151,21 +151,13 @@
|
|||
"Steps": [
|
||||
{
|
||||
"Position": {
|
||||
"X": -510.37933,
|
||||
"Y": -0.39999998,
|
||||
"Z": -277.78192
|
||||
"X": -510.96463,
|
||||
"Y": -0.47684515,
|
||||
"Z": -305.96155
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "WalkTo"
|
||||
},
|
||||
{
|
||||
"Position": {
|
||||
"X": -521.0261,
|
||||
"Y": -0.40000004,
|
||||
"Z": -329.19336
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "WalkTo"
|
||||
"InteractionType": "WalkTo",
|
||||
"Comment": "Waypoint after swimming through the river"
|
||||
},
|
||||
{
|
||||
"DataId": 2013936,
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"Y": 9.773315,
|
||||
"Z": -533.135
|
||||
},
|
||||
"StopDistance": 7,
|
||||
"StopDistance": 5,
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest"
|
||||
}
|
||||
|
@ -135,28 +135,6 @@
|
|||
{
|
||||
"Sequence": 255,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1048782,
|
||||
"Position": {
|
||||
"X": -68.52832,
|
||||
"Y": 6.536739,
|
||||
"Z": -486.53394
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5064
|
||||
},
|
||||
{
|
||||
"DataId": 1051237,
|
||||
"Position": {
|
||||
"X": -251.20929,
|
||||
"Y": 5.5572896,
|
||||
"Z": -554.89435
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5081
|
||||
},
|
||||
{
|
||||
"DataId": 1046537,
|
||||
"Position": {
|
||||
|
|
|
@ -21,11 +21,6 @@
|
|||
{
|
||||
"Sequence": 1,
|
||||
"Steps": [
|
||||
{
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AttuneAetheryte",
|
||||
"Aetheryte": "Urqopacha - Wachunpelo"
|
||||
},
|
||||
{
|
||||
"DataId": 1046557,
|
||||
"Position": {
|
||||
|
@ -44,6 +39,11 @@
|
|||
128
|
||||
]
|
||||
},
|
||||
{
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AttuneAetheryte",
|
||||
"Aetheryte": "Urqopacha - Wachunpelo"
|
||||
},
|
||||
{
|
||||
"DataId": 1046559,
|
||||
"Position": {
|
||||
|
|
|
@ -52,30 +52,6 @@
|
|||
{
|
||||
"Sequence": 255,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1050684,
|
||||
"Position": {
|
||||
"X": 391.37854,
|
||||
"Y": -156.07434,
|
||||
"Z": -388.50995
|
||||
},
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5039,
|
||||
"Comment": "Traveler to the Rescue"
|
||||
},
|
||||
{
|
||||
"DataId": 1051195,
|
||||
"Position": {
|
||||
"X": 383.29138,
|
||||
"Y": -154.50243,
|
||||
"Z": -420.49292
|
||||
},
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5051,
|
||||
"Comment": "Crisis of Corruption"
|
||||
},
|
||||
{
|
||||
"DataId": 1046537,
|
||||
"Position": {
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
"Y": -19.725424,
|
||||
"Z": 203.72314
|
||||
},
|
||||
"StopDistance": 7,
|
||||
"StopDistance": 5,
|
||||
"TerritoryId": 1185,
|
||||
"InteractionType": "CompleteQuest"
|
||||
}
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
"Y": -19.725424,
|
||||
"Z": 203.72314
|
||||
},
|
||||
"StopDistance": 7,
|
||||
"TerritoryId": 1185,
|
||||
"InteractionType": "AcceptQuest"
|
||||
}
|
||||
|
|
|
@ -63,28 +63,6 @@
|
|||
{
|
||||
"Sequence": 3,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1051263,
|
||||
"Position": {
|
||||
"X": -521.0193,
|
||||
"Y": 121.63345,
|
||||
"Z": 319.38647
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5085
|
||||
},
|
||||
{
|
||||
"DataId": 1048855,
|
||||
"Position": {
|
||||
"X": -491.63043,
|
||||
"Y": 121.63846,
|
||||
"Z": 271.50366
|
||||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5074
|
||||
},
|
||||
{
|
||||
"DataId": 1046876,
|
||||
"Position": {
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"Y": 119.49004,
|
||||
"Z": 190.72253
|
||||
},
|
||||
"StopDistance": 5,
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "AcceptQuest"
|
||||
}
|
||||
|
@ -30,8 +29,7 @@
|
|||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Kozama'uka - Earthenshire",
|
||||
"Fly": true
|
||||
"AetheryteShortcut": "Kozama'uka - Earthenshire"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -46,8 +44,7 @@
|
|||
},
|
||||
"TerritoryId": 1188,
|
||||
"InteractionType": "WalkTo",
|
||||
"TargetTerritoryId": 1187,
|
||||
"Fly": true
|
||||
"TargetTerritoryId": 1187
|
||||
},
|
||||
{
|
||||
"DataId": 1046814,
|
||||
|
|
|
@ -21,30 +21,6 @@
|
|||
{
|
||||
"Sequence": 1,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1051207,
|
||||
"Position": {
|
||||
"X": 425.07043,
|
||||
"Y": 118.935005,
|
||||
"Z": 606.13403
|
||||
},
|
||||
"StopDistance": 5,
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5055
|
||||
},
|
||||
{
|
||||
"DataId": 1048730,
|
||||
"Position": {
|
||||
"X": 399.0692,
|
||||
"Y": 122.53533,
|
||||
"Z": 542.9922
|
||||
},
|
||||
"StopDistance": 5,
|
||||
"TerritoryId": 1187,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5047
|
||||
},
|
||||
{
|
||||
"DataId": 1046926,
|
||||
"Position": {
|
||||
|
|
|
@ -21,36 +21,6 @@
|
|||
{
|
||||
"Sequence": 1,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1050872,
|
||||
"Position": {
|
||||
"X": -408.71295,
|
||||
"Y": 20.420113,
|
||||
"Z": -398.8861
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"DialogueChoices": [
|
||||
{
|
||||
"Type": "List",
|
||||
"ExcelSheet": "quest/051/KinGzd201_05110",
|
||||
"Prompt": "TEXT_KINGZD201_05110_Q1_000_000",
|
||||
"Answer": "TEXT_KINGZD201_05110_A1_000_001"
|
||||
}
|
||||
],
|
||||
"PickUpQuestId": 5110
|
||||
},
|
||||
{
|
||||
"DataId": 1051073,
|
||||
"Position": {
|
||||
"X": 41.09253,
|
||||
"Y": 8.205902,
|
||||
"Z": -629.8467
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5094
|
||||
},
|
||||
{
|
||||
"DataId": 1047577,
|
||||
"Position": {
|
||||
|
@ -66,6 +36,28 @@
|
|||
{
|
||||
"Sequence": 2,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 2013948,
|
||||
"Position": {
|
||||
"X": 610.7728,
|
||||
"Y": 9.597839,
|
||||
"Z": 233.05103
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AttuneAetherCurrent",
|
||||
"AetherCurrentId": 2818440
|
||||
},
|
||||
{
|
||||
"Position": {
|
||||
"X": 614.25964,
|
||||
"Y": -29.554798,
|
||||
"Z": 202.75368
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "WalkTo",
|
||||
"DisableNavmesh": true,
|
||||
"Mount": false
|
||||
},
|
||||
{
|
||||
"DataId": 1048230,
|
||||
"Position": {
|
||||
|
@ -74,7 +66,8 @@
|
|||
"Z": 214.83167
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "Interact"
|
||||
"InteractionType": "Interact",
|
||||
"DisableNavmesh": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -24,28 +24,6 @@
|
|||
{
|
||||
"Sequence": 1,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1051052,
|
||||
"Position": {
|
||||
"X": 585.90063,
|
||||
"Y": -142.49187,
|
||||
"Z": 510.21594
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5103
|
||||
},
|
||||
{
|
||||
"DataId": 1050884,
|
||||
"Position": {
|
||||
"X": 531.0597,
|
||||
"Y": -142.49185,
|
||||
"Z": 492.0271
|
||||
},
|
||||
"TerritoryId": 1189,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5114
|
||||
},
|
||||
{
|
||||
"DataId": 1047701,
|
||||
"Position": {
|
||||
|
|
|
@ -52,62 +52,6 @@
|
|||
{
|
||||
"Sequence": 3,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1050655,
|
||||
"Position": {
|
||||
"X": 289.02112,
|
||||
"Y": -15.566031,
|
||||
"Z": -478.78235
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5138
|
||||
},
|
||||
{
|
||||
"Position": {
|
||||
"X": 386.84927,
|
||||
"Y": -0.84392637,
|
||||
"Z": 435.0579
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "WalkTo",
|
||||
"AetheryteShortcut": "Shaaloani - Hhusatahwi",
|
||||
"SkipConditions": {
|
||||
"StepIf": {
|
||||
"QuestsCompleted": [
|
||||
5140
|
||||
]
|
||||
},
|
||||
"AetheryteShortcutIf": {
|
||||
"QuestsCompleted": [
|
||||
5140
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"DataId": 1051283,
|
||||
"Position": {
|
||||
"X": 374.19702,
|
||||
"Y": -0.24794838,
|
||||
"Z": 437.2472
|
||||
},
|
||||
"StopDistance": 6,
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5140
|
||||
},
|
||||
{
|
||||
"DataId": 1049324,
|
||||
"Position": {
|
||||
"X": -108.659546,
|
||||
"Y": 4.055336,
|
||||
"Z": 319.5697
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5130
|
||||
},
|
||||
{
|
||||
"DataId": 1047001,
|
||||
"Position": {
|
||||
|
@ -117,7 +61,6 @@
|
|||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "Interact",
|
||||
"AetheryteShortcut": "Shaaloani - Sheshenewezi Springs",
|
||||
"DialogueChoices": [
|
||||
{
|
||||
"Type": "YesNo",
|
||||
|
|
|
@ -161,17 +161,6 @@
|
|||
{
|
||||
"Sequence": 7,
|
||||
"Steps": [
|
||||
{
|
||||
"DataId": 1051316,
|
||||
"Position": {
|
||||
"X": -380.30066,
|
||||
"Y": 18.718708,
|
||||
"Z": -114.24432
|
||||
},
|
||||
"TerritoryId": 1190,
|
||||
"InteractionType": "AcceptQuest",
|
||||
"PickUpQuestId": 5144
|
||||
},
|
||||
{
|
||||
"DataId": 1047082,
|
||||
"Position": {
|
||||
|
|
|
@ -234,13 +234,13 @@
|
|||
"QuestsAccepted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "string"]
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"QuestsCompleted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "string"]
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"AetheryteLocked": {
|
||||
|
@ -290,18 +290,6 @@
|
|||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"QuestsAccepted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "string"]
|
||||
}
|
||||
},
|
||||
"QuestsCompleted": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "string"]
|
||||
}
|
||||
},
|
||||
"AetheryteLocked": {
|
||||
"$ref": "https://git.carvel.li/liza/Questionable/raw/branch/master/Questionable.Model/common-schema.json#/$defs/Aetheryte"
|
||||
},
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Questionable.Model.Questing.Converter;
|
||||
|
||||
public sealed class ElementIdListConverter : JsonConverter<List<ElementId>>
|
||||
{
|
||||
public override List<ElementId> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
||||
{
|
||||
if (reader.TokenType != JsonTokenType.StartArray)
|
||||
throw new JsonException();
|
||||
|
||||
reader.Read();
|
||||
|
||||
List<ElementId> values = [];
|
||||
while (reader.TokenType != JsonTokenType.EndArray)
|
||||
{
|
||||
|
||||
if (reader.TokenType == JsonTokenType.Number)
|
||||
values.Add(new QuestId(reader.GetUInt16()));
|
||||
else
|
||||
values.Add(ElementId.FromString(reader.GetString() ?? throw new JsonException()));
|
||||
|
||||
reader.Read();
|
||||
}
|
||||
|
||||
return values;
|
||||
}
|
||||
|
||||
public override void Write(Utf8JsonWriter writer, List<ElementId> value, JsonSerializerOptions options)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
|
@ -1,7 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using Questionable.Model.Common;
|
||||
using Questionable.Model.Questing.Converter;
|
||||
|
||||
namespace Questionable.Model.Questing;
|
||||
|
||||
|
@ -10,13 +8,6 @@ public sealed class SkipAetheryteCondition
|
|||
public bool Never { get; set; }
|
||||
public bool InSameTerritory { get; set; }
|
||||
public List<ushort> InTerritory { get; set; } = new();
|
||||
|
||||
[JsonConverter(typeof(ElementIdListConverter))]
|
||||
public List<ElementId> QuestsAccepted { get; set; } = new();
|
||||
|
||||
[JsonConverter(typeof(ElementIdListConverter))]
|
||||
public List<ElementId> QuestsCompleted { get; set; } = new();
|
||||
|
||||
public EAetheryteLocation? AetheryteLocked { get; set; }
|
||||
public EAetheryteLocation? AetheryteUnlocked { get; set; }
|
||||
public bool RequiredQuestVariablesNotMet { get; set; }
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text.Json.Serialization;
|
||||
using Questionable.Model.Common;
|
||||
using Questionable.Model.Questing.Converter;
|
||||
|
||||
namespace Questionable.Model.Questing;
|
||||
|
||||
|
@ -16,13 +14,8 @@ public sealed class SkipStepConditions
|
|||
public List<ushort> InTerritory { get; set; } = new();
|
||||
public List<ushort> NotInTerritory { get; set; } = new();
|
||||
public SkipItemConditions? Item { get; set; }
|
||||
|
||||
[JsonConverter(typeof(ElementIdListConverter))]
|
||||
public List<ElementId> QuestsAccepted { get; set; } = new();
|
||||
|
||||
[JsonConverter(typeof(ElementIdListConverter))]
|
||||
public List<ElementId> QuestsCompleted { get; set; } = new();
|
||||
|
||||
public EAetheryteLocation? AetheryteLocked { get; set; }
|
||||
public EAetheryteLocation? AetheryteUnlocked { get; set; }
|
||||
public NearPositionCondition? NearPosition { get; set; }
|
||||
|
|
|
@ -41,7 +41,6 @@ internal static class Combat
|
|||
ArgumentNullException.ThrowIfNull(step.DataId);
|
||||
|
||||
yield return interactFactory.Interact(step.DataId.Value, quest, EInteractionType.None, true);
|
||||
yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(2));
|
||||
yield return CreateTask(quest, sequence, step);
|
||||
break;
|
||||
}
|
||||
|
@ -53,15 +52,11 @@ internal static class Combat
|
|||
|
||||
yield return useItemFactory.OnObject(quest.Id, step.DataId.Value, step.ItemId.Value,
|
||||
step.CompletionQuestVariablesFlags, true);
|
||||
yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(2));
|
||||
yield return CreateTask(quest, sequence, step);
|
||||
break;
|
||||
}
|
||||
|
||||
case EEnemySpawnType.AutoOnEnterArea:
|
||||
if (step.CombatDelaySecondsAtStart == null)
|
||||
yield return new WaitAtEnd.WaitDelay(TimeSpan.FromSeconds(2));
|
||||
|
||||
// automatically triggered when entering area, i.e. only unmount
|
||||
yield return CreateTask(quest, sequence, step);
|
||||
break;
|
||||
|
|
|
@ -24,7 +24,6 @@ internal static class AethernetShortcut
|
|||
MovementController movementController,
|
||||
AetheryteFunctions aetheryteFunctions,
|
||||
GameFunctions gameFunctions,
|
||||
QuestFunctions questFunctions,
|
||||
IClientState clientState,
|
||||
AetheryteData aetheryteData,
|
||||
TerritoryData territoryData,
|
||||
|
@ -47,8 +46,8 @@ internal static class AethernetShortcut
|
|||
public ITask Use(EAetheryteLocation from, EAetheryteLocation to, SkipAetheryteCondition? skipConditions = null)
|
||||
{
|
||||
return new UseAethernetShortcut(from, to, skipConditions ?? new(),
|
||||
loggerFactory.CreateLogger<UseAethernetShortcut>(), aetheryteFunctions, gameFunctions, questFunctions,
|
||||
clientState, aetheryteData, territoryData, lifestreamIpc, movementController, condition);
|
||||
loggerFactory.CreateLogger<UseAethernetShortcut>(), aetheryteFunctions, gameFunctions, clientState,
|
||||
aetheryteData, territoryData, lifestreamIpc, movementController, condition);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,7 +58,6 @@ internal static class AethernetShortcut
|
|||
ILogger<UseAethernetShortcut> logger,
|
||||
AetheryteFunctions aetheryteFunctions,
|
||||
GameFunctions gameFunctions,
|
||||
QuestFunctions questFunctions,
|
||||
IClientState clientState,
|
||||
AetheryteData aetheryteData,
|
||||
TerritoryData territoryData,
|
||||
|
@ -92,20 +90,6 @@ internal static class AethernetShortcut
|
|||
return false;
|
||||
}
|
||||
|
||||
if (skipConditions.QuestsCompleted.Count > 0 &&
|
||||
skipConditions.QuestsCompleted.All(questFunctions.IsQuestComplete))
|
||||
{
|
||||
logger.LogInformation("Skipping aethernet shortcut, all prequisite quests are complete");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (skipConditions.QuestsAccepted.Count > 0 &&
|
||||
skipConditions.QuestsAccepted.All(questFunctions.IsQuestAccepted))
|
||||
{
|
||||
logger.LogInformation("Skipping aethernet shortcut, all prequisite quests are accepted");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (skipConditions.AetheryteLocked != null &&
|
||||
!aetheryteFunctions.IsAetheryteUnlocked(skipConditions.AetheryteLocked.Value))
|
||||
{
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Dalamud.Plugin.Services;
|
||||
using FFXIVClientStructs.FFXIV.Application.Network.WorkDefinitions;
|
||||
|
@ -94,20 +93,6 @@ internal static class AetheryteShortcut
|
|||
return true;
|
||||
}
|
||||
|
||||
if (skipConditions.QuestsCompleted.Count > 0 &&
|
||||
skipConditions.QuestsCompleted.All(questFunctions.IsQuestComplete))
|
||||
{
|
||||
logger.LogInformation("Skipping aetheryte, all prequisite quests are complete");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (skipConditions.QuestsAccepted.Count > 0 &&
|
||||
skipConditions.QuestsAccepted.All(questFunctions.IsQuestAccepted))
|
||||
{
|
||||
logger.LogInformation("Skipping aetheryte, all prequisite quests are accepted");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (skipConditions.AetheryteLocked != null &&
|
||||
!aetheryteFunctions.IsAetheryteUnlocked(skipConditions.AetheryteLocked.Value))
|
||||
{
|
||||
|
|
|
@ -8,8 +8,7 @@ using LLib.GameData;
|
|||
using Lumina.Excel.GeneratedSheets;
|
||||
using Questionable.Model;
|
||||
using Questionable.Model.Questing;
|
||||
using Leve = Lumina.Excel.GeneratedSheets2.Leve;
|
||||
using Quest = Lumina.Excel.GeneratedSheets2.Quest;
|
||||
using Quest = Lumina.Excel.GeneratedSheets.Quest;
|
||||
|
||||
namespace Questionable.Data;
|
||||
|
||||
|
@ -63,7 +62,7 @@ internal sealed class QuestData
|
|||
|
||||
// workaround because the game doesn't require completion of the CT questline through normal means
|
||||
QuestInfo aTimeToEveryPurpose = (QuestInfo)_quests[new QuestId(425)];
|
||||
aTimeToEveryPurpose.AddPreviousQuest(new QuestInfo.PreviousQuestInfo(new QuestId(495)));
|
||||
aTimeToEveryPurpose.AddPreviousQuest(new QuestId(495));
|
||||
}
|
||||
|
||||
public IQuestInfo GetQuestInfo(ElementId elementId)
|
||||
|
|
|
@ -431,8 +431,7 @@ internal sealed unsafe class GameFunctions
|
|||
if (!AgentSatisfactionSupply.Instance()->IsAgentActive())
|
||||
return false;
|
||||
|
||||
var flags = _condition.AsReadOnlySet().ToHashSet();
|
||||
flags.Remove(ConditionFlag.InDutyQueue); // irrelevant
|
||||
var flags = _condition.AsReadOnlySet();
|
||||
return flags.Count == 2 &&
|
||||
flags.Contains(ConditionFlag.NormalConditions) &&
|
||||
flags.Contains(ConditionFlag.OccupiedInQuestEvent);
|
||||
|
|
|
@ -494,8 +494,7 @@ internal sealed unsafe class QuestFunctions
|
|||
if (questInfo.PreviousQuests.Count == 0)
|
||||
return true;
|
||||
|
||||
var completedQuests = questInfo.PreviousQuests.Count(x =>
|
||||
HasEnoughProgressOnPreviousQuest(x) || x.QuestId.Equals(extraCompletedQuest));
|
||||
var completedQuests = questInfo.PreviousQuests.Count(x => IsQuestComplete(x) || x.Equals(extraCompletedQuest));
|
||||
if (questInfo.PreviousQuestJoin == QuestInfo.QuestJoin.All &&
|
||||
questInfo.PreviousQuests.Count == completedQuests)
|
||||
return true;
|
||||
|
@ -505,20 +504,6 @@ internal sealed unsafe class QuestFunctions
|
|||
return false;
|
||||
}
|
||||
|
||||
private bool HasEnoughProgressOnPreviousQuest(QuestInfo.PreviousQuestInfo previousQuestInfo)
|
||||
{
|
||||
if (IsQuestComplete(previousQuestInfo.QuestId))
|
||||
return true;
|
||||
|
||||
if (previousQuestInfo.Sequence != 0 && IsQuestAccepted(previousQuestInfo.QuestId))
|
||||
{
|
||||
var progress = GetQuestProgressInfo(previousQuestInfo.QuestId);
|
||||
return progress != null && progress.Sequence >= previousQuestInfo.Sequence;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private static bool HasCompletedPreviousInstances(QuestInfo questInfo)
|
||||
{
|
||||
if (questInfo.PreviousInstanceContent.Count == 0)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using LLib.GameData;
|
||||
using Lumina.Excel.GeneratedSheets2;
|
||||
using Lumina.Excel.GeneratedSheets;
|
||||
using Questionable.Model.Questing;
|
||||
|
||||
namespace Questionable.Model;
|
||||
|
@ -14,7 +14,7 @@ internal sealed class LeveInfo : IQuestInfo
|
|||
Level = leve.ClassJobLevel;
|
||||
JournalGenre = leve.JournalGenre.Row;
|
||||
SortKey = QuestId.Value;
|
||||
IssuerDataId = leve.LevelLevemete.Value!.Object.Row;
|
||||
IssuerDataId = leve.LevelLevemete.Value!.Object;
|
||||
ClassJobs = QuestInfoUtils.AsList(leve.ClassJobCategory.Value!);
|
||||
Expansion = (EExpansionVersion)leve.LevelLevemete.Value.Territory.Value!.ExVersion.Row;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ using FFXIVClientStructs.FFXIV.Client.UI.Agent;
|
|||
using JetBrains.Annotations;
|
||||
using LLib.GameData;
|
||||
using Questionable.Model.Questing;
|
||||
using ExcelQuest = Lumina.Excel.GeneratedSheets2.Quest;
|
||||
using ExcelQuest = Lumina.Excel.GeneratedSheets.Quest;
|
||||
|
||||
namespace Questionable.Model;
|
||||
|
||||
|
@ -31,18 +31,13 @@ internal sealed class QuestInfo : IQuestInfo
|
|||
};
|
||||
|
||||
Name = $"{quest.Name}{suffix}";
|
||||
Level = quest.ClassJobLevel[0];
|
||||
IssuerDataId = quest.IssuerStart.Row;
|
||||
Level = quest.ClassJobLevel0;
|
||||
IssuerDataId = quest.IssuerStart;
|
||||
IsRepeatable = quest.IsRepeatable;
|
||||
PreviousQuests =
|
||||
new List<PreviousQuestInfo>
|
||||
{
|
||||
new(new QuestId((ushort)(quest.PreviousQuest[0].Row & 0xFFFF)), quest.Unknown7),
|
||||
new(new QuestId((ushort)(quest.PreviousQuest[1].Row & 0xFFFF))),
|
||||
new(new QuestId((ushort)(quest.PreviousQuest[1].Row & 0xFFFF)))
|
||||
}
|
||||
.Where(x => x.QuestId.Value != 0)
|
||||
.ToImmutableList();
|
||||
PreviousQuests = quest.PreviousQuest
|
||||
.Select(x => new QuestId((ushort)(x.Row & 0xFFFF)))
|
||||
.Where(x => x.Value != 0)
|
||||
.ToImmutableList();
|
||||
PreviousQuestJoin = (QuestJoin)quest.PreviousQuestJoin;
|
||||
QuestLocks = quest.QuestLock
|
||||
.Select(x => new QuestId((ushort)(x.Row & 0xFFFFF)))
|
||||
|
@ -52,7 +47,7 @@ internal sealed class QuestInfo : IQuestInfo
|
|||
JournalGenre = quest.JournalGenre?.Row;
|
||||
SortKey = quest.SortKey;
|
||||
IsMainScenarioQuest = quest.JournalGenre?.Value?.JournalCategory?.Value?.JournalSection?.Row is 0 or 1;
|
||||
CompletesInstantly = quest.TodoParams[0].ToDoCompleteSeq == 0;
|
||||
CompletesInstantly = quest.ToDoCompleteSeq[0] == 0;
|
||||
PreviousInstanceContent = quest.InstanceContent.Select(x => (ushort)x.Row).Where(x => x != 0).ToList();
|
||||
PreviousInstanceContentJoin = (QuestJoin)quest.InstanceContentJoin;
|
||||
GrandCompany = (GrandCompany)quest.GrandCompany.Row;
|
||||
|
@ -69,7 +64,7 @@ internal sealed class QuestInfo : IQuestInfo
|
|||
public ushort Level { get; }
|
||||
public uint IssuerDataId { get; }
|
||||
public bool IsRepeatable { get; }
|
||||
public ImmutableList<PreviousQuestInfo> PreviousQuests { get; set; }
|
||||
public ImmutableList<QuestId> PreviousQuests { get; set; }
|
||||
public QuestJoin PreviousQuestJoin { get; }
|
||||
public ImmutableList<QuestId> QuestLocks { get; }
|
||||
public QuestJoin QuestLockJoin { get; }
|
||||
|
@ -94,10 +89,8 @@ internal sealed class QuestInfo : IQuestInfo
|
|||
AtLeastOne = 2,
|
||||
}
|
||||
|
||||
public void AddPreviousQuest(PreviousQuestInfo questId)
|
||||
public void AddPreviousQuest(QuestId questId)
|
||||
{
|
||||
PreviousQuests = [..PreviousQuests, questId];
|
||||
}
|
||||
|
||||
public sealed record PreviousQuestInfo(QuestId QuestId, byte Sequence = 0);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using LLib.GameData;
|
||||
using Lumina.Excel.GeneratedSheets2;
|
||||
using Lumina.Excel.GeneratedSheets;
|
||||
|
||||
namespace Questionable.Model;
|
||||
|
||||
|
@ -57,8 +57,8 @@ internal static class QuestInfoUtils
|
|||
{ EClassJob.Dancer, classJobCategory.DNC },
|
||||
{ EClassJob.Reaper, classJobCategory.RPR },
|
||||
{ EClassJob.Sage, classJobCategory.SGE },
|
||||
{ EClassJob.Viper, classJobCategory.Unknown1 },
|
||||
{ EClassJob.Pictomancer, classJobCategory.Unknown2 }
|
||||
{ EClassJob.Viper, classJobCategory.VPR },
|
||||
{ EClassJob.Pictomancer, classJobCategory.PCT }
|
||||
}
|
||||
.Where(y => y.Value)
|
||||
.Select(y => y.Key)
|
||||
|
|
|
@ -19,22 +19,19 @@ internal sealed class QuestTooltipComponent
|
|||
private readonly TerritoryData _territoryData;
|
||||
private readonly QuestFunctions _questFunctions;
|
||||
private readonly UiUtils _uiUtils;
|
||||
private readonly Configuration _configuration;
|
||||
|
||||
public QuestTooltipComponent(
|
||||
QuestRegistry questRegistry,
|
||||
QuestData questData,
|
||||
TerritoryData territoryData,
|
||||
QuestFunctions questFunctions,
|
||||
UiUtils uiUtils,
|
||||
Configuration configuration)
|
||||
UiUtils uiUtils)
|
||||
{
|
||||
_questRegistry = questRegistry;
|
||||
_questData = questData;
|
||||
_territoryData = territoryData;
|
||||
_questFunctions = questFunctions;
|
||||
_uiUtils = uiUtils;
|
||||
_configuration = configuration;
|
||||
}
|
||||
|
||||
public void Draw(IQuestInfo quest)
|
||||
|
@ -108,13 +105,13 @@ internal sealed class QuestTooltipComponent
|
|||
|
||||
foreach (var q in quest.PreviousQuests)
|
||||
{
|
||||
if (_questData.TryGetQuestInfo(q.QuestId, out var qInfo))
|
||||
if (_questData.TryGetQuestInfo(q, out var qInfo))
|
||||
{
|
||||
var (iconColor, icon, _) = _uiUtils.GetQuestStyle(q.QuestId);
|
||||
var (iconColor, icon, _) = _uiUtils.GetQuestStyle(q);
|
||||
if (!_questRegistry.IsKnownQuest(qInfo.QuestId))
|
||||
iconColor = ImGuiColors.DalamudGrey;
|
||||
|
||||
_uiUtils.ChecklistItem(FormatQuestUnlockName(qInfo, _questFunctions.IsQuestComplete(q.QuestId) ? byte.MinValue : q.Sequence), iconColor, icon);
|
||||
_uiUtils.ChecklistItem(FormatQuestUnlockName(qInfo), iconColor, icon);
|
||||
|
||||
if (qInfo is QuestInfo qstInfo && (counter <= 2 || icon != FontAwesomeIcon.Check))
|
||||
DrawQuestUnlocks(qstInfo, counter + 1);
|
||||
|
@ -191,17 +188,11 @@ internal sealed class QuestTooltipComponent
|
|||
ImGui.Unindent();
|
||||
}
|
||||
|
||||
private string FormatQuestUnlockName(IQuestInfo questInfo, byte sequence = 0)
|
||||
private static string FormatQuestUnlockName(IQuestInfo questInfo)
|
||||
{
|
||||
string name = questInfo.Name;
|
||||
if (_configuration.Advanced.AdditionalStatusInformation && sequence != 0)
|
||||
name += $" {SeIconChar.ItemLevel.ToIconString()}";
|
||||
|
||||
if (questInfo.IsMainScenarioQuest)
|
||||
name += $" ({questInfo.QuestId}, MSQ)";
|
||||
return $"{questInfo.Name} ({questInfo.QuestId}, MSQ)";
|
||||
else
|
||||
name += $" {questInfo.Name} ({questInfo.QuestId})";
|
||||
|
||||
return name;
|
||||
return $"{questInfo.Name} ({questInfo.QuestId})";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue