Pathfinder rework (#11452)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
@@ -22,7 +23,8 @@ public sealed class RandomOperator : HTNOperator
|
||||
/// </summary>
|
||||
[DataField("maxKey", required: true)] public string MaxKey = string.Empty;
|
||||
|
||||
public override async Task<(bool Valid, Dictionary<string, object>? Effects)> Plan(NPCBlackboard blackboard)
|
||||
public override async Task<(bool Valid, Dictionary<string, object>? Effects)> Plan(NPCBlackboard blackboard,
|
||||
CancellationToken cancelToken)
|
||||
{
|
||||
return (true, new Dictionary<string, object>()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user