using Content.Server.NPC.Systems;
using Content.Shared.Actions;
using Robust.Shared.Prototypes;
namespace Content.Server.NPC.Components;
///
/// This is used for an NPC that constantly tries to use an action on a given target.
///
[RegisterComponent, Access(typeof(NPCUseActionOnTargetSystem))]
public sealed partial class NPCUseActionOnTargetComponent : Component
{
///
/// HTN blackboard key for the target entity
///
[DataField]
public string TargetKey = "Target";
///
/// Action that's going to attempt to be used.
///
[DataField(required: true)]
public EntProtoId ActionId;
[DataField]
public EntityUid? ActionEnt;
}