{
"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": {
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": {
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": {
{
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