Add xenos (#1204)
* Add xenos for stress test Pretty hacky and not how I'd do it long-term * Remove claws * Add in unarmed combat behaviors * Cleanuppppp Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
18
Content.Server/AI/Utility/AiLogic/Mimic.cs
Normal file
18
Content.Server/AI/Utility/AiLogic/Mimic.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Server.AI.Utility.BehaviorSets;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Server.AI;
|
||||
|
||||
namespace Content.Server.AI.Utility.AiLogic
|
||||
{
|
||||
[AiLogicProcessor("Mimic")]
|
||||
[UsedImplicitly]
|
||||
public sealed class Mimic : UtilityAi
|
||||
{
|
||||
public override void Setup()
|
||||
{
|
||||
base.Setup();
|
||||
AddBehaviorSet(new UnarmedAttackPlayersBehaviorSet(SelfEntity), false);
|
||||
SortActions();
|
||||
}
|
||||
}
|
||||
}
|
||||
19
Content.Server/AI/Utility/AiLogic/Xeno.cs
Normal file
19
Content.Server/AI/Utility/AiLogic/Xeno.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Server.AI.Utility.BehaviorSets;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Server.AI;
|
||||
|
||||
namespace Content.Server.AI.Utility.AiLogic
|
||||
{
|
||||
[AiLogicProcessor("Xeno")]
|
||||
[UsedImplicitly]
|
||||
public sealed class Xeno : UtilityAi
|
||||
{
|
||||
public override void Setup()
|
||||
{
|
||||
base.Setup();
|
||||
AddBehaviorSet(new IdleBehaviorSet(SelfEntity), false);
|
||||
AddBehaviorSet(new UnarmedAttackPlayersBehaviorSet(SelfEntity), false);
|
||||
SortActions();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user