stasis bed and microwave qol(#21572)
This commit is contained in:
@@ -44,9 +44,4 @@ namespace Content.Server.Construction.Components
|
||||
[ViewVariables]
|
||||
public Container PartContainer = default!;
|
||||
}
|
||||
|
||||
[DataDefinition]
|
||||
public sealed partial class MachineDeconstructedEvent : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Server.Construction.Components;
|
||||
using Content.Shared.Construction;
|
||||
using Content.Shared.Containers.ItemSlots;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
@@ -4,8 +4,8 @@ using Content.Shared.Materials;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Stacks;
|
||||
using Content.Server.Power.Components;
|
||||
using Content.Server.Construction.Components;
|
||||
using Content.Server.Stack;
|
||||
using Content.Shared.Construction;
|
||||
using Content.Shared.Database;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Map;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Linq;
|
||||
using Content.Shared.Buckle.Components;
|
||||
using Content.Shared.Construction;
|
||||
using Content.Shared.Destructible;
|
||||
using Content.Shared.DragDrop;
|
||||
using Content.Shared.Foldable;
|
||||
@@ -31,6 +32,7 @@ public abstract partial class SharedBuckleSystem
|
||||
SubscribeLocalEvent<StrapComponent, FoldAttemptEvent>(OnAttemptFold);
|
||||
|
||||
SubscribeLocalEvent<StrapComponent, MoveEvent>(OnStrapMoveEvent);
|
||||
SubscribeLocalEvent<StrapComponent, MachineDeconstructedEvent>((_, c, _) => StrapRemoveAll(c));
|
||||
}
|
||||
|
||||
private void OnStrapStartup(EntityUid uid, StrapComponent component, ComponentStartup args)
|
||||
|
||||
6
Content.Shared/Construction/MachineDeconstructedEvent.cs
Normal file
6
Content.Shared/Construction/MachineDeconstructedEvent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Content.Shared.Construction;
|
||||
|
||||
[DataDefinition]
|
||||
public sealed partial class MachineDeconstructedEvent : EntityEventArgs
|
||||
{
|
||||
}
|
||||
@@ -755,17 +755,10 @@
|
||||
prototype: StasisBed
|
||||
requirements:
|
||||
Capacitor: 1
|
||||
Manipulator: 1
|
||||
materialRequirements:
|
||||
Cable: 3
|
||||
tagRequirements:
|
||||
Pipe:
|
||||
Amount: 1
|
||||
DefaultPrototype: GasPipeStraight
|
||||
ExamineName: Pipe
|
||||
Cryobeaker:
|
||||
Amount: 2
|
||||
DefaultPrototype: CryostasisBeaker
|
||||
ExamineName: Cryostasis Beaker
|
||||
Steel: 2
|
||||
|
||||
- type: entity
|
||||
id: MaterialReclaimerMachineCircuitboard
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
microwave_entity_container: !type:Container
|
||||
machine_board: !type:Container
|
||||
machine_parts: !type:Container
|
||||
- type: EmptyOnMachineDeconstruct
|
||||
containers:
|
||||
- microwave_entity_container
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
- Chef
|
||||
|
||||
Reference in New Issue
Block a user