* Add pirate shooting * Shooting working * Basics working * Refactor time * More conversion * Update primitives * Update yml * weh * Building again * Draft * weh * b * Start shutdown * Starting to take form * Code side done * is it worky * Fix prototypes * stuff * Shitty working * Juke events working * Even more cleanup * RTX * Fix interaction combat mode and compquery * GetAmmoCount relays * Fix rotation speed * Juke fixes * fixes * weh * The collision avoidance never ends * Fixes * Pause support * framework * lazy * Fix idling * Fix drip * goobed * Fix takeover shutdown bug * Merge fixes * shitter * Fix carpos
21 lines
609 B
C#
21 lines
609 B
C#
using Content.Server.NPC.HTN.Preconditions;
|
|
|
|
namespace Content.Server.NPC.HTN;
|
|
|
|
/// <summary>
|
|
/// AKA Method. This is a branch available for a compound task.
|
|
/// </summary>
|
|
[DataDefinition]
|
|
public sealed class HTNBranch
|
|
{
|
|
// Made this its own class if we ever need to change it.
|
|
[DataField("preconditions")]
|
|
public List<HTNPrecondition> Preconditions = new();
|
|
|
|
/// <summary>
|
|
/// Due to how serv3 works we need to defer getting the actual tasks until after they have all been serialized.
|
|
/// </summary>
|
|
[DataField("tasks", required: true)]
|
|
public List<HTNTask> Tasks = new();
|
|
}
|