using Content.Server.AI.Operators.Inventory; using Content.Server.AI.Operators.Movement; namespace Content.Server.AI.Operators.Sequences { public sealed class GoPickupEntitySequence : SequenceOperator { public GoPickupEntitySequence(EntityUid owner, EntityUid target) { Sequence = new Queue(new AiOperator[] { new MoveToEntityOperator(owner, target, requiresInRangeUnobstructed: true), new OpenStorageOperator(owner, target), new PickupEntityOperator(owner, target), }); } } }