Add non-flying waypoints to 'Gwok Away'

This commit is contained in:
Liza 2024-12-28 22:26:51 +01:00
parent 187427045b
commit f20b5e08a7
Signed by: liza
GPG Key ID: 2C41B84815CF6445
2 changed files with 142 additions and 0 deletions

View File

@ -20,6 +20,52 @@
{
"Sequence": 1,
"Steps": [
{
"Position": {
"X": -212.22218,
"Y": 30,
"Z": -620.3656
},
"TerritoryId": 1191,
"InteractionType": "WalkTo",
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
64
]
}
}
},
{
"DataId": 2014079,
"Position": {
"X": -213.24487,
"Y": 30.838379,
"Z": -618.0362
},
"TerritoryId": 1191,
"InteractionType": "UseItem",
"ItemId": 2003594,
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked"
}
},
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
64
]
},
{
"DataId": 2014079,
"Position": {
@ -41,6 +87,52 @@
64
]
},
{
"Position": {
"X": -274.73184,
"Y": 36.99997,
"Z": -506.5031
},
"TerritoryId": 1191,
"InteractionType": "WalkTo",
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
128
]
}
}
},
{
"DataId": 2014078,
"Position": {
"X": -272.8161,
"Y": 37.857544,
"Z": -504.9058
},
"TerritoryId": 1191,
"InteractionType": "UseItem",
"ItemId": 2003594,
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked"
}
},
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
128
]
},
{
"DataId": 2014078,
"Position": {
@ -62,6 +154,52 @@
128
]
},
{
"Position": {
"X": -346.93515,
"Y": 37.00001,
"Z": -611.26953
},
"TerritoryId": 1191,
"InteractionType": "WalkTo",
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked",
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
]
}
}
},
{
"DataId": 2014080,
"Position": {
"X": -349.1112,
"Y": 37.857544,
"Z": -610.5898
},
"TerritoryId": 1191,
"InteractionType": "UseItem",
"ItemId": 2003594,
"SkipConditions": {
"StepIf": {
"Flying": "Unlocked"
}
},
"CompletionQuestVariablesFlags": [
null,
null,
null,
null,
null,
32
]
},
{
"DataId": 2014080,
"Position": {

View File

@ -11,6 +11,10 @@ internal sealed class CompletionFlagsValidator : IQuestValidator
{
public IEnumerable<ValidationIssue> Validate(Quest quest)
{
// this maybe should check for skipconditions, but this applies to one quest only atm
if (quest.Id.Value == 5149)
yield break;
foreach (var sequence in quest.AllSequences())
{
var mappedCompletionFlags = sequence.Steps