Nerf hacking speed (#5264)
This commit is contained in:
@@ -180,7 +180,7 @@ namespace Content.Server.Doors.Components
|
||||
/// Default time that the door should take to pry open.
|
||||
/// </summary>
|
||||
[DataField("pryTime")]
|
||||
public float PryTime = 0.5f;
|
||||
public float PryTime = 1.5f;
|
||||
|
||||
/// <summary>
|
||||
/// Minimum interval allowed between deny sounds in milliseconds.
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace Content.Server.WireHacking
|
||||
[ViewVariables] private readonly Dictionary<string, WireLayout> _layouts =
|
||||
new();
|
||||
|
||||
public const float ScrewTime = 2.5f;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user