Goliath mob (#30839)
* Goliath mob * Update asteroid.yml * mcfuck yourself * add cloak * fixes * Update materials.yml
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using Content.Server.NPC.Systems;
|
||||
using Content.Shared.Actions;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.NPC.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for an NPC that constantly tries to use an action on a given target.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(NPCUseActionOnTargetSystem))]
|
||||
public sealed partial class NPCUseActionOnTargetComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// HTN blackboard key for the target entity
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string TargetKey = "Target";
|
||||
|
||||
/// <summary>
|
||||
/// Action that's going to attempt to be used.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public EntProtoId<EntityWorldTargetActionComponent> ActionId;
|
||||
|
||||
[DataField]
|
||||
public EntityUid? ActionEnt;
|
||||
}
|
||||
Reference in New Issue
Block a user