24 lines
744 B
C#
24 lines
744 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
using System;
|
|
|
|
namespace Content.Server.Salvage;
|
|
|
|
/// <summary>
|
|
/// This component exists as a sort of stateful marker for a
|
|
/// killswitch meant to keep salvage mobs from doing stuff they
|
|
/// really shouldn't (attacking station).
|
|
/// The main thing is that adding this component ties the mob to
|
|
/// whatever it's currently parented to.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class SalvageMobRestrictionsComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadOnly)]
|
|
[DataField("linkedGridEntity")]
|
|
public EntityUid LinkedGridEntity = EntityUid.Invalid;
|
|
}
|
|
|