NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
16
Content.Server/NPC/HTN/HTNCompoundTask.cs
Normal file
16
Content.Server/NPC/HTN/HTNCompoundTask.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.NPC.HTN;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a network of multiple tasks. This gets expanded out to its relevant nodes.
|
||||
/// </summary>
|
||||
[Prototype("htnCompound")]
|
||||
public sealed class HTNCompoundTask : HTNTask
|
||||
{
|
||||
/// <summary>
|
||||
/// The available branches for this compound task.
|
||||
/// </summary>
|
||||
[DataField("branches", required: true)]
|
||||
public List<HTNBranch> Branches = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user