This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -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;

View File

@@ -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");

View File

@@ -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;

View File

@@ -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; }