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.
|
/// Default time that the door should take to pry open.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("pryTime")]
|
[DataField("pryTime")]
|
||||||
public float PryTime = 0.5f;
|
public float PryTime = 1.5f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Minimum interval allowed between deny sounds in milliseconds.
|
/// Minimum interval allowed between deny sounds in milliseconds.
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ namespace Content.Server.WireHacking
|
|||||||
[ViewVariables] private readonly Dictionary<string, WireLayout> _layouts =
|
[ViewVariables] private readonly Dictionary<string, WireLayout> _layouts =
|
||||||
new();
|
new();
|
||||||
|
|
||||||
|
public const float ScrewTime = 2.5f;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|||||||
@@ -522,7 +522,7 @@ namespace Content.Server.WireHacking
|
|||||||
|
|
||||||
// screws the panel open if the tool can do so
|
// screws the panel open if the tool can do so
|
||||||
else if (await toolSystem.UseTool(tool.Owner.Uid, eventArgs.User.Uid, Owner.Uid,
|
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;
|
IsPanelOpen = !IsPanelOpen;
|
||||||
if (IsPanelOpen)
|
if (IsPanelOpen)
|
||||||
|
|||||||
Reference in New Issue
Block a user