Auto comp (#6416)
This commit is contained in:
@@ -13,8 +13,6 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(IStorageComponent))]
|
||||
public class BodyBagEntityStorageComponent : EntityStorageComponent
|
||||
{
|
||||
public override string Name => "BodyBagEntityStorage";
|
||||
|
||||
protected override bool AddToContents(EntityUid entity)
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<SharedBodyComponent>(entity) && !EntitySystem.Get<StandingStateSystem>().IsDown(entity)) return false;
|
||||
|
||||
@@ -33,9 +33,6 @@ namespace Content.Server.Morgue.Components
|
||||
#pragma warning restore 618
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
public override string Name => "CrematoriumEntityStorage";
|
||||
|
||||
[DataField("cremateStartSound")] private SoundSpecifier _cremateStartSound = new SoundPathSpecifier("/Audio/Items/lighter1.ogg");
|
||||
[DataField("crematingSound")] private SoundSpecifier _crematingSound = new SoundPathSpecifier("/Audio/Effects/burning.ogg");
|
||||
[DataField("cremateFinishSound")] private SoundSpecifier _cremateFinishSound = new SoundPathSpecifier("/Audio/Machines/ding.ogg");
|
||||
|
||||
@@ -37,8 +37,6 @@ namespace Content.Server.Morgue.Components
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "MorgueEntityStorage";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("trayPrototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
private string? _trayPrototypeId;
|
||||
|
||||
@@ -9,8 +9,6 @@ namespace Content.Server.Morgue.Components
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
public class MorgueTrayComponent : Component, IActivate
|
||||
{
|
||||
public override string Name => "MorgueTray";
|
||||
|
||||
[ViewVariables]
|
||||
public EntityUid Morgue { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user