fish-station/Content.Server/Drone/Components/DroneComponent.cs
mirrorcult 2d610ebb52
Move spawning collections of EntitySpawnEntry out of StorageSystem, make Butcherable use it (#7305)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-28 09:58:13 -07:00

22 lines
664 B
C#

using Content.Server.Storage;
using Content.Shared.Storage;
namespace Content.Server.Drone.Components
{
[RegisterComponent]
public sealed class DroneComponent : Component
{
[DataField("tools")] public List<EntitySpawnEntry> Tools = new();
public List<EntityUid> ToolUids = new();
public bool AlreadyAwoken = false;
public float InteractionBlockRange = 2.15f;
/// <summary>
/// If you are using drone component for
/// something that shouldn't have restrictions set this to
/// false.
/// </summary>
[DataField("applyLaws")]
public bool ApplyLaws = true;
}
}