From 940134cec19dcc13474ce59933907873e62fbe3c Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 11 Nov 2021 20:48:12 +1100 Subject: [PATCH] Nerf hacking speed (#5264) --- Content.Server/Doors/Components/ServerDoorComponent.cs | 2 +- Content.Server/WireHacking/WireHackingSystem.cs | 2 ++ Content.Server/WireHacking/WiresComponent.cs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Content.Server/Doors/Components/ServerDoorComponent.cs b/Content.Server/Doors/Components/ServerDoorComponent.cs index a35b185885..232b3d230f 100644 --- a/Content.Server/Doors/Components/ServerDoorComponent.cs +++ b/Content.Server/Doors/Components/ServerDoorComponent.cs @@ -180,7 +180,7 @@ namespace Content.Server.Doors.Components /// Default time that the door should take to pry open. /// [DataField("pryTime")] - public float PryTime = 0.5f; + public float PryTime = 1.5f; /// /// Minimum interval allowed between deny sounds in milliseconds. diff --git a/Content.Server/WireHacking/WireHackingSystem.cs b/Content.Server/WireHacking/WireHackingSystem.cs index 99ed63bfb6..e17c9e7308 100644 --- a/Content.Server/WireHacking/WireHackingSystem.cs +++ b/Content.Server/WireHacking/WireHackingSystem.cs @@ -12,6 +12,8 @@ namespace Content.Server.WireHacking [ViewVariables] private readonly Dictionary _layouts = new(); + public const float ScrewTime = 2.5f; + public override void Initialize() { base.Initialize(); diff --git a/Content.Server/WireHacking/WiresComponent.cs b/Content.Server/WireHacking/WiresComponent.cs index d3c7e2ca38..46b956fc50 100644 --- a/Content.Server/WireHacking/WiresComponent.cs +++ b/Content.Server/WireHacking/WiresComponent.cs @@ -522,7 +522,7 @@ namespace Content.Server.WireHacking // screws the panel open if the tool can do so else if (await toolSystem.UseTool(tool.Owner.Uid, eventArgs.User.Uid, Owner.Uid, - 0f, 0.5f, _screwingQuality, toolComponent:tool)) + 0f, WireHackingSystem.ScrewTime, _screwingQuality, toolComponent:tool)) { IsPanelOpen = !IsPanelOpen; if (IsPanelOpen)