Add support for Crystarium leves

This commit is contained in:
Liza 2024-09-29 20:22:28 +02:00
parent ffb65babd6
commit 01e657dbdd
Signed by: liza
GPG Key ID: 7199F8D727D55F67
6 changed files with 186 additions and 2 deletions

View File

@ -0,0 +1,120 @@
{
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/GatheringPaths/gatheringlocation-v1.json",
"Author": "liza",
"Steps": [
{
"TerritoryId": 814,
"InteractionType": "None"
}
],
"Groups": [
{
"Nodes": [
{
"DataId": 32512,
"Locations": [
{
"Position": {
"X": -221.5365,
"Y": 88.75751,
"Z": 36.51096
},
"MinimumAngle": -100,
"MaximumAngle": 25
}
]
}
]
},
{
"Nodes": [
{
"DataId": 32513,
"Locations": [
{
"Position": {
"X": -227.0897,
"Y": 89.90434,
"Z": 37.42806
},
"MinimumAngle": -20,
"MaximumAngle": 60
}
]
}
]
},
{
"Nodes": [
{
"DataId": 32514,
"Locations": [
{
"Position": {
"X": -233.9371,
"Y": 89.18435,
"Z": 42.91663
},
"MinimumAngle": -110,
"MaximumAngle": -25
}
]
}
]
},
{
"Nodes": [
{
"DataId": 32515,
"Locations": [
{
"Position": {
"X": -243.0384,
"Y": 88.70179,
"Z": 48.95438
},
"MinimumAngle": -70,
"MaximumAngle": 45
}
]
}
]
},
{
"Nodes": [
{
"DataId": 32516,
"Locations": [
{
"Position": {
"X": -256.5147,
"Y": 90.32328,
"Z": 51.07351
},
"MinimumAngle": -75,
"MaximumAngle": 90
}
]
}
]
},
{
"Nodes": [
{
"DataId": 32517,
"Locations": [
{
"Position": {
"X": -265.2769,
"Y": 90.43383,
"Z": 45.49376
},
"MinimumAngle": -40,
"MaximumAngle": 40
}
]
}
]
}
]
}

View File

@ -1,6 +1,7 @@
{
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/GatheringPaths/gatheringlocation-v1.json",
"Author": "liza",
"FlyBetweenNodes": false,
"Steps": [
{
"TerritoryId": 956,
@ -157,4 +158,4 @@
]
}
]
}
}

View File

@ -0,0 +1,38 @@
{
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
"Author": "liza",
"QuestSequence": [
{
"Sequence": 1,
"Steps": [
{
"Position": {
"X": -213.94563,
"Y": 84.02199,
"Z": 43.544315
},
"TerritoryId": 814,
"InteractionType": "InitiateLeve",
"AetheryteShortcut": "Kholusia - Wright",
"Fly": true,
"SkipConditions": {
"AetheryteShortcutIf": {
"InSameTerritory": true
}
}
},
{
"TerritoryId": 814,
"InteractionType": "Gather",
"ItemsToGather": [
{
"ItemId": 2002785,
"AlternativeItemId": 2002786,
"ItemCount": 999
}
]
}
]
}
]
}

View File

@ -52,7 +52,6 @@
"Fly": true
},
{
"Comment": "TODO Verify",
"DataId": 1033818,
"Position": {
"X": 24.551636,

View File

@ -0,0 +1,21 @@
{
"$schema": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
"Author": "liza",
"QuestSequence": [
{
"Sequence": 0,
"Steps": [
{
"DataId": 1031106,
"Position": {
"X": -8.255188,
"Y": -3.1851232E-07,
"Z": 10.543945
},
"TerritoryId": 819,
"InteractionType": "AcceptQuest"
}
]
}
]
}

View File

@ -13,6 +13,11 @@ internal sealed class LeveData
{
private static readonly List<LeveStepData> Leves =
[
new(
aetheryteLocation: EAetheryteLocation.Crystarium,
aethernetShortcut: new AethernetShortcut{From = EAetheryteLocation.Crystarium, To = EAetheryteLocation.CrystariumCrystallineMean},
issuerDataId: 1027847,
issuerPosition: new(-73.94349f, 19.999794f, -110.86395f)),
new(
aetheryteLocation: EAetheryteLocation.OldSharlayan,
aethernetShortcut: new AethernetShortcut