master #4

Merged
cacahuetes merged 75 commits from liza/Questionable:master into master 2024-09-02 21:50:11 +00:00
19 changed files with 79 additions and 25 deletions
Showing only changes of commit 617e1d11c3 - Show all commits

View File

@ -109,6 +109,9 @@ internal static class SkipConditionsExtensions
.AsSyntaxNodeOrToken(),
Assignment(nameof(NearPositionCondition.MaximumDistance),
nearPositionCondition.MaximumDistance, emptyCondition.MaximumDistance)
.AsSyntaxNodeOrToken(),
Assignment(nameof(NearPositionCondition.TerritoryId),
nearPositionCondition.TerritoryId, emptyCondition.TerritoryId)
.AsSyntaxNodeOrToken()))));
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -150,7 +151,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -202,7 +203,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -293,7 +295,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -409,7 +412,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -194,7 +195,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -117,7 +118,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -56,7 +56,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -116,7 +117,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}
@ -244,7 +246,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -13,7 +13,21 @@
"Z": 403.3722
},
"TerritoryId": 622,
"InteractionType": "AcceptQuest"
"InteractionType": "AcceptQuest",
"AetheryteShortcut": "Azim Steppe - Reunion",
"SkipConditions": {
"AetheryteShortcutIf": {
"NearPosition": {
"Position": {
"X": 525.10876,
"Y": -19.50681,
"Z": 403.3722
},
"MaximumDistance": 100,
"TerritoryId": 622
}
}
}
}
]
},

View File

@ -35,7 +35,8 @@
"Y": 8.712891,
"Z": 281.69678
},
"MaximumDistance": 3
"MaximumDistance": 3,
"TerritoryId": 153
}
}
}

View File

@ -23,7 +23,8 @@
"Y": 7.1558266,
"Z": -249.1341
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 815
}
}
}

View File

@ -23,7 +23,8 @@
"Y": 7.1558266,
"Z": -249.1341
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 815
}
}
}

View File

@ -23,7 +23,8 @@
"Y": 7.1558266,
"Z": -249.1341
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 815
}
}
}

View File

@ -23,7 +23,8 @@
"Y": 7.1558266,
"Z": -249.1341
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 815
}
}
}

View File

@ -23,7 +23,8 @@
"Y": 7.1558266,
"Z": -249.1341
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 815
}
}
}

View File

@ -157,7 +157,8 @@
"Y": 437.5829,
"Z": 333.63843
},
"MaximumDistance": 100
"MaximumDistance": 100,
"TerritoryId": 960
}
}
}

View File

@ -261,11 +261,15 @@
},
"MaximumDistance": {
"type": "number"
},
"TerritoryId": {
"type": "number"
}
},
"required": [
"Position",
"MaximumDistance"
"MaximumDistance",
"TerritoryId"
],
"additionalProperties": false
},
@ -323,11 +327,15 @@
},
"MaximumDistance": {
"type": "number"
},
"TerritoryId": {
"type": "number"
}
},
"required": [
"Position",
"MaximumDistance"
"MaximumDistance",
"TerritoryId"
],
"additionalProperties": false
}

View File

@ -9,4 +9,5 @@ public sealed class NearPositionCondition
[JsonConverter(typeof(VectorConverter))]
public Vector3 Position { get; set; }
public float MaximumDistance { get; set; }
public ushort TerritoryId { get; set; }
}

View File

@ -0,0 +1,6 @@
namespace Questionable.Validation.Validators;
public class ClassQuestShouldHaveShortcut
{
}