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