make jaws of life not awful (#10770)
This commit is contained in:
@@ -78,10 +78,12 @@ namespace Content.Shared.Doors
|
||||
public sealed class BeforeDoorPryEvent : CancellableEntityEventArgs
|
||||
{
|
||||
public readonly EntityUid User;
|
||||
public readonly EntityUid Tool;
|
||||
|
||||
public BeforeDoorPryEvent(EntityUid user)
|
||||
public BeforeDoorPryEvent(EntityUid user, EntityUid tool)
|
||||
{
|
||||
User = user;
|
||||
Tool = tool;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
10
Content.Shared/Tools/Components/ToolForcePoweredComponent.cs
Normal file
10
Content.Shared/Tools/Components/ToolForcePoweredComponent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Content.Shared.Tools.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Tag component to let a tool ignore restrictions on whether devices are powered
|
||||
/// or not to work.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ToolForcePoweredComponent : Component
|
||||
{}
|
||||
}
|
||||
Reference in New Issue
Block a user