From e39a632c7a0d652c7a2cd8bfcab2f95ec8b4a1f2 Mon Sep 17 00:00:00 2001 From: rubisetcie Date: Sat, 1 Feb 2025 01:16:36 +0100 Subject: [PATCH] Added languages for max_wire_... convars (#3255) --- lua/entities/sent_deployableballoons.lua | 1 + lua/wire/stools/dataplug.lua | 1 + lua/wire/stools/egp.lua | 1 + lua/wire/stools/plug.lua | 1 + 4 files changed, 4 insertions(+) diff --git a/lua/entities/sent_deployableballoons.lua b/lua/entities/sent_deployableballoons.lua index e42071969b..f49341e498 100644 --- a/lua/entities/sent_deployableballoons.lua +++ b/lua/entities/sent_deployableballoons.lua @@ -17,6 +17,7 @@ if CLIENT then language.Add( "Cleanup_wire_deployers", "Balloon Deployers" ) language.Add( "Cleaned_wire_deployers", "Cleaned up Balloon Deployers" ) language.Add( "SBoxLimit_wire_deployers", "You have hit the Balloon Deployers limit!" ) + language.Add( "max_wire_deployers", "Max Wire Balloon Deployers:" ) return -- No more client end diff --git a/lua/wire/stools/dataplug.lua b/lua/wire/stools/dataplug.lua index babc6d6a6a..acbead6703 100644 --- a/lua/wire/stools/dataplug.lua +++ b/lua/wire/stools/dataplug.lua @@ -10,6 +10,7 @@ if ( CLIENT ) then language.Add( "undone_wiredatasocket", "Undone Wire Data Socket" ) language.Add( "Tool_wire_dataplug_weldforce", "Plug weld force:" ) language.Add( "Tool_wire_dataplug_attachrange", "Plug attachment detection range:" ) + language.Add( "max_wire_dataplugs", "Max Wire Dataplugs:" ) TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name }, { name = "right", text = "Create/Update Plug" }, diff --git a/lua/wire/stools/egp.lua b/lua/wire/stools/egp.lua index fd4eea71f1..7d264810b8 100644 --- a/lua/wire/stools/egp.lua +++ b/lua/wire/stools/egp.lua @@ -154,6 +154,7 @@ if CLIENT then language.Add( "Tool.wire_egp.reload_0", "Open the Reload Menu for several lag fixing options" ) language.Add( "Tool.wire_egp.1", "Now right click a vehicle." ) language.Add( "sboxlimit_wire_egps", "You've hit the EGP limit!" ) + language.Add( "max_wire_egps", "Max Wire EGP" ) language.Add( "Undone_wire_egp", "Undone EGP" ) language.Add( "Tool_wire_egp_createflat", "Create flat to surface" ) language.Add( "Tool_wire_egp_weld", "Weld" ) diff --git a/lua/wire/stools/plug.lua b/lua/wire/stools/plug.lua index 349b3b8869..f3c4887853 100644 --- a/lua/wire/stools/plug.lua +++ b/lua/wire/stools/plug.lua @@ -13,6 +13,7 @@ else language.Add( "sboxlimit_wire_sockets", "You've hit the Wire Sockets limit!" ) language.Add( "undone_wireplug", "Undone Wire Plug" ) language.Add( "undone_wiresocket", "Undone Wire Socket" ) + language.Add( "max_wire_plugs", "Max Wire Plugs:" ) language.Add( "Tool_wire_plug_freeze", "Freeze the socket." ) language.Add( "Tool_wire_plug_array", "Use array inputs/outputs instead." )