Skip to content

Commit

Permalink
Use new gmod_tool HUD style (#1273)
Browse files Browse the repository at this point in the history
* Fix inconsistent indentation in tools' languages

* Use new gmod_tool HUD style
  • Loading branch information
AbigailBuccaneer committed Nov 27, 2016
1 parent 03e1ffb commit 1f406e3
Show file tree
Hide file tree
Showing 98 changed files with 365 additions and 214 deletions.
18 changes: 15 additions & 3 deletions lua/weapons/gmod_tool/stools/wire_adv.lua
Expand Up @@ -14,12 +14,24 @@ if CLIENT then
language.Add( "Tool.wire_adv.name", "Wiring Tool" )
language.Add( "Tool.wire_adv.desc", "Connect things with wires. (Press Shift+F to switch to the debugger tool)" )
language.Add( "Tool.wire_adv.desc2", "Used to connect wirable props." )
language.Add( "Tool.wire_adv.0", "Primary: Select input (Shift: Select multiple; Alt: Select all), Secondary: Next, Reload: Unlink (Alt: Unlink all), Mouse Wheel: Next" )
language.Add( "Tool.wire_adv.1", "Primary: Select entity, Secondary: Add wire point, Reload: Cancel" )
language.Add( "Tool.wire_adv.2", "Primary: Select output (Alt: Auto-connect matching input/outputs), Secondary: Next, Reload: Cancel, Mouse Wheel: Next" )
language.Add( "WireTool_width", "Width:" )
language.Add( "WireTool_material", "Material:" )
language.Add( "WireTool_colour", "Colour:" )
TOOL.Information = {
{ name = "left_0", stage = 0, text = "Select input (Shift: Select multiple; Alt: Select all)" },
{ name = "right_0", stage = 0, text = "Next" },
{ name = "reload_0", stage = 0, text = "Unlink (Alt: Unlink all)" },
{ name = "mwheel_0", stage = 0, text = "Mouse wheel: Next" },
{ name = "left_1", stage = 1, text = "Select entity" },
{ name = "right_1", stage = 1, text = "Add wirepoint" },
{ name = "reload_1", stage = 1, text = "Cancel" },
{ name = "left_2", stage = 2, text = "Select output (Alt: Auto-connect matching input/outputs)" },
{ name = "right_2", stage = 2, text = "Next" },
{ name = "mwheel_2", stage = 2, text = "Mouse wheel: Next" },
}
for _, info in pairs(TOOL.Information) do
language.Add("Tool.wire_adv." .. info.name, info.text)
end

TOOL.Wire_ToolMenuIcon = "icon16/connect.png"
end
Expand Down
5 changes: 4 additions & 1 deletion lua/weapons/gmod_tool/stools/wire_debugger.lua
Expand Up @@ -7,9 +7,12 @@ TOOL.Tab = "Wire"
if ( CLIENT ) then
language.Add( "Tool.wire_debugger.name", "Debugging Tool" )
language.Add( "Tool.wire_debugger.desc", "Shows selected components info on the HUD." )
language.Add( "Tool.wire_debugger.0", "Primary: Add component to HUD, Secondary: Remove component from HUD, Reload: Clear HUD" )
language.Add( "Tool.wire_debugger.left", "Add component to HUD" )
language.Add( "Tool.wire_debugger.right", "Remove component from HUD" )
language.Add( "Tool.wire_debugger.reload", "Clear HUD" )
language.Add( "Tool_wire_debugger_showports", "Show overlay of ports in HUD" )
language.Add( "Tool_wire_debugger_orientvertical", "Orient the Inputs/Outputs Vertically" )
TOOL.Information = { "left", "right", "reload" }
end
if SERVER then
util.AddNetworkString("WireDbgCount")
Expand Down
10 changes: 6 additions & 4 deletions lua/weapons/gmod_tool/stools/wire_namer.lua
Expand Up @@ -5,10 +5,12 @@ TOOL.ConfigName = ""
TOOL.Tab = "Wire"

if ( CLIENT ) then
language.Add( "Tool.wire_namer.name", "Naming Tool" )
language.Add( "Tool.wire_namer.desc", "Names components." )
language.Add( "Tool.wire_namer.0", "Primary: Set name\nSecondary: Get name" )
language.Add( "WireNamerTool_name", "Name:" )
language.Add( "Tool.wire_namer.name", "Naming Tool" )
language.Add( "Tool.wire_namer.desc", "Names components." )
language.Add( "Tool.wire_namer.left", "Set name" )
language.Add( "Tool.wire_namer.right", "Copy name" )
language.Add( "WireNamerTool_name", "Name:" )
TOOL.Information = { "left", "right" }
end

TOOL.ClientConVar[ "name" ] = ""
Expand Down
4 changes: 3 additions & 1 deletion lua/wire/stools/7seg.lua
Expand Up @@ -7,13 +7,15 @@ TOOL.GhostMin = "x"
if CLIENT then
language.Add( "tool.wire_7seg.name", "7-Segment Display Tool" )
language.Add( "tool.wire_7seg.desc", "Spawns 7 indicators for numeric display with the wire system." )
language.Add( "tool.wire_7seg.0", "Primary: Create display/Update Indicator" )
language.Add( "ToolWire7Seg_a_colour", "Off Colour:" )
language.Add( "ToolWire7Seg_b_colour", "On Colour:" )
language.Add( "ToolWire7SegTool_worldweld", "Allow weld to world" )
language.Add( "undone_wire7seg", "Undone 7-Segment Display" )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end

WireToolSetup.BaseLang()

-- define MaxLimitName cause this tool just uses gmod_wire_indicators
TOOL.MaxLimitName = "wire_indicators"

Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/addressbus.lua
Expand Up @@ -4,7 +4,7 @@ WireToolSetup.open( "addressbus", "Data - Address Bus", "gmod_wire_addressbus",
if ( CLIENT ) then
language.Add( "Tool.wire_addressbus.name", "Address bus tool (Wire)" )
language.Add( "Tool.wire_addressbus.desc", "Spawns an address bus. Address spaces may overlap!" )
language.Add( "Tool.wire_addressbus.0", "Primary: Create/Update address bus" )
TOOL.Information = { { name = "left", text = "Create/Update address bus" } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/adv_input.lua
Expand Up @@ -4,14 +4,14 @@ WireToolSetup.open( "adv_input", "Adv. Input", "gmod_wire_adv_input", nil, "Adv.
if CLIENT then
language.Add( "tool.wire_adv_input.name", "Adv. Input Tool (Wire)" )
language.Add( "tool.wire_adv_input.desc", "Spawns a adv. input for use with the wire system." )
language.Add( "tool.wire_adv_input.0", "Primary: Create/Update Adv. Input" )
language.Add( "WireAdvInputTool_keymore", "Increase:" )
language.Add( "WireAdvInputTool_keyless", "Decrease:" )
language.Add( "WireAdvInputTool_toggle", "Toggle" )
language.Add( "WireAdvInputTool_value_min", "Minimum:" )
language.Add( "WireAdvInputTool_value_max", "Maximum:" )
language.Add( "WireAdvInputTool_value_start", "Start at:" )
language.Add( "WireAdvInputTool_speed", "Change per second:" )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/button.lua
Expand Up @@ -4,11 +4,11 @@ WireToolSetup.open( "button", "Button", "gmod_wire_button", nil, "Buttons" )
if CLIENT then
language.Add( "tool.wire_button.name", "Button Tool (Wire)" )
language.Add( "tool.wire_button.desc", "Spawns a button for use with the wire system." )
language.Add( "tool.wire_button.0", "Primary: Create/Update Button" )
language.Add( "WireButtonTool_toggle", "Toggle" )
language.Add( "WireButtonTool_entityout", "Output Entity" )
language.Add( "WireButtonTool_value_on", "Value On:" )
language.Add( "WireButtonTool_value_off", "Value Off:" )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
4 changes: 1 addition & 3 deletions lua/wire/stools/cam.lua
Expand Up @@ -4,8 +4,6 @@ WireToolSetup.open( "cam", "Cam Controller", "gmod_wire_cameracontroller", nil,
if ( CLIENT ) then
language.Add( "Tool.wire_cam.name", "Cam Controller Tool (Wire)" )
language.Add( "Tool.wire_cam.desc", "Spawns a constant Cam Controller prop for use with the wire system." )
language.Add( "Tool.wire_cam.0", "Primary: Create/Update Cam Controller Secondary: Link a cam controller to a Pod." )
language.Add( "Tool.wire_cam.1", "Now click a pod to link to." )
language.Add( "Tool.wire_cam.parentlocal", "Coordinates local to parent" )
language.Add( "Tool.wire_cam.automove", "Client side movement" )
language.Add( "Tool.wire_cam.localmove", "Localized movement" )
Expand Down Expand Up @@ -45,7 +43,7 @@ TOOL.ClientConVar[ "drawplayer" ] = "1"
TOOL.ClientConVar[ "drawparent" ] = "1"
TOOL.ClientConVar[ "smooth_amount" ] = "18"

WireToolSetup.SetupLinking()
WireToolSetup.SetupLinking(false, "pod")

function TOOL.BuildCPanel(panel)
WireDermaExts.ModelSelect(panel, "wire_cam_model", list.Get( "Wire_Misc_Tools_Models" ), 1)
Expand Down
14 changes: 9 additions & 5 deletions lua/wire/stools/cd_disk.lua
Expand Up @@ -2,12 +2,16 @@ WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "cd_disk", "CD Disk", "gmod_wire_cd_disk", nil, "CD Disks" )

if (CLIENT) then
language.Add("Tool.wire_cd_disk.name", "CD Disk Tool (Wire)")
language.Add("Tool.wire_cd_disk.desc", "Spawns a CD Disk.")
language.Add("Tool.wire_cd_disk.0", "Primary: Create/Update CD Disk, Secondary: Change model")
language.Add("WireDataTransfererTool_cd_disk", "CD Disk:")
language.Add("Tool.wire_cd_disk.name", "CD Disk Tool (Wire)")
language.Add("Tool.wire_cd_disk.desc", "Spawns a CD Disk.")
language.Add("WireDataTransfererTool_cd_disk", "CD Disk:")

WireToolSetup.setToolMenuIcon( "venompapa/wirecd/wirecd" )
TOOL.Information = {
{ name = "left", text = "Create/Update " .. TOOL.Name },
{ name = "right", text = "Change model" },
}

WireToolSetup.setToolMenuIcon( "venompapa/wirecd/wirecd" )
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
16 changes: 9 additions & 7 deletions lua/wire/stools/cd_ray.lua
Expand Up @@ -2,14 +2,18 @@ WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "cd_ray", "CD Ray", "gmod_wire_cd_ray", nil, "CD Rays" )

if ( CLIENT ) then
language.Add( "Tool.wire_cd_ray.name", "CD Ray Tool (Wire)" )
language.Add( "Tool.wire_cd_ray.desc", "Spawns a CD Ray." )
language.Add( "Tool.wire_cd_ray.0", "Primary: Create/Update CD Ray Secondary: Create CD lock (to keep CD in same spot)" )
language.Add( "WireCDRayTool_cd_ray", "CD Ray:" )
language.Add( "Tool.wire_cd_ray.name", "CD Ray Tool (Wire)" )
language.Add( "Tool.wire_cd_ray.desc", "Spawns a CD Ray." )
language.Add( "WireCDRayTool_cd_ray", "CD Ray:" )
language.Add( "sboxlimit_wire_cd_rays", "You've hit CD Rays limit!" )
language.Add( "undone_Wire CDRay", "Undone Wire CD Ray" )
TOOL.Information = {
{ name = "left", text = "Create/Update " .. TOOL.Name },
{ name = "right", text = "Create CD lock (to keep CD in same spot)" },
}
end

WireToolSetup.BaseLang()

if (SERVER) then
CreateConVar('sbox_maxwire_cd_rays', 20)
CreateConVar('sbox_maxwire_cd_locks', 20)
Expand All @@ -20,8 +24,6 @@ TOOL.ClientConVar[ "lockmodel" ] = "models/venompapa/wirecdlock.mdl"
TOOL.ClientConVar[ "Range" ] = "64"
TOOL.ClientConVar[ "DefaultZero" ] = "0"

cleanup.Register("wire_cd_rays")

if SERVER then
function TOOL:GetConVars()
return self:GetClientNumber("Range"), self:GetClientNumber("DefaultZero") ~= 0
Expand Down
13 changes: 8 additions & 5 deletions lua/wire/stools/clutch.lua
Expand Up @@ -2,11 +2,14 @@ WireToolSetup.setCategory( "Physics" )
WireToolSetup.open( "clutch", "Clutch", "gmod_wire_clutch", nil, "Clutchs" )

if CLIENT then
language.Add( "Tool.wire_clutch.name", "Clutch Tool (Wire)" )
language.Add( "Tool.wire_clutch.desc", "Control rotational friction between props" )
language.Add( "Tool.wire_clutch.0", "Primary: Place/Select a clutch controller\nSecondary: Select an entity to apply the clutch to\nReload: Remove clutch from entity/deselect controller" )
language.Add( "Tool.wire_clutch.1", "Right click on the second entity you want the clutch to apply to" )
language.Add( "undone_wireclutch", "Undone Wire Clutch" )
language.Add( "Tool.wire_clutch.name", "Clutch Tool (Wire)" )
language.Add( "Tool.wire_clutch.desc", "Control rotational friction between props" )
TOOL.Information = {
{ name = "left_0", stage = 0, text = "Place/Select a clutch controller" },
{ name = "right_0", stage = 0, text = "Select an entity to apply the clutch to" },
{ name = "reload_0", stage = 0, text = "Remove clutch from entity/deselect controller" },
{ name = "right_1", stage = 1, text = "Right click on the second entity you want the clutch to apply to" },
}
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 8 )
Expand Down
14 changes: 7 additions & 7 deletions lua/wire/stools/colorer.lua
Expand Up @@ -2,13 +2,13 @@ WireToolSetup.setCategory( "Visuals" )
WireToolSetup.open( "colorer", "Colorer", "gmod_wire_colorer", nil, "Colorers" )

if CLIENT then
language.Add( "Tool.wire_colorer.name", "Colorer Tool (Wire)" )
language.Add( "Tool.wire_colorer.desc", "Spawns a constant colorer prop for use with the wire system." )
language.Add( "Tool.wire_colorer.0", "Primary: Create/Update Colorer" )
language.Add( "WireColorerTool_colorer", "Colorer:" )
language.Add( "WireColorerTool_outColor", "Output Color" )
language.Add( "WireColorerTool_Range", "Max Range:" )
language.Add( "WireColorerTool_Model", "Choose a Model:")
language.Add( "Tool.wire_colorer.name", "Colorer Tool (Wire)" )
language.Add( "Tool.wire_colorer.desc", "Spawns a constant colorer prop for use with the wire system." )
language.Add( "WireColorerTool_colorer", "Colorer:" )
language.Add( "WireColorerTool_outColor", "Output Color" )
language.Add( "WireColorerTool_Range", "Max Range:" )
language.Add( "WireColorerTool_Model", "Choose a Model:")
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }

WireToolSetup.setToolMenuIcon( "icon16/color_wheel.png" )
end
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/consolescreen.lua
Expand Up @@ -4,7 +4,7 @@ WireToolSetup.open( "consolescreen", "Console Screen", "gmod_wire_consolescreen"
if CLIENT then
language.Add( "tool.wire_consolescreen.name", "Console Screen Tool (Wire)" )
language.Add( "tool.wire_consolescreen.desc", "Spawns a console screen" )
language.Add( "tool.wire_consolescreen.0", "Primary: Create/Update screen" )
TOOL.Information = { { name = "left", text = "Create " .. TOOL.Name } }

WireToolSetup.setToolMenuIcon( "icon16/application_xp_terminal.png" )
end
Expand Down
13 changes: 9 additions & 4 deletions lua/wire/stools/cpu.lua
Expand Up @@ -2,10 +2,15 @@ WireToolSetup.setCategory( "Chips, Gates", "Advanced" )
WireToolSetup.open( "cpu", "CPU", "gmod_wire_cpu", nil, "CPUs" )

if CLIENT then
language.Add("Tool.wire_cpu.name", "CPU Tool (Wire)")
language.Add("Tool.wire_cpu.desc", "Spawns a central processing unit")
language.Add("Tool.wire_cpu.0", "Primary: upload program to hispeed device, Reload: attach debugger, Shift+Reload: clear, Secondary: open editor")
language.Add("ToolWirecpu_Model", "Model:" )
language.Add("Tool.wire_cpu.name", "CPU Tool (Wire)")
language.Add("Tool.wire_cpu.desc", "Spawns a central processing unit")
language.Add("ToolWirecpu_Model", "Model:" )
TOOL.Information = {
{ name = "left", text = "Upload program to hispeed device" },
{ name = "right", text = "Open editor" },
{ name = "reload", text = "Attach debugger" },
{ name = "reload_shift", text = "Shift+Reload: Clear" },
}
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 7 )
Expand Down
2 changes: 0 additions & 2 deletions lua/wire/stools/damage_detector.lua
Expand Up @@ -4,8 +4,6 @@ WireToolSetup.open( "damage_detector", "Damage Detector", "gmod_wire_damage_dete
if CLIENT then
language.Add( "Tool.wire_damage_detector.name", "Damage Detector Tool (Wire)" )
language.Add( "Tool.wire_damage_detector.desc", "Spawns a damage detector for use with the wire system" )
language.Add( "Tool.wire_damage_detector.0", "Primary: Create/Update Detector, Secondary: Link Detector to an entity, Reload: Unlink Detector" )
language.Add( "Tool.wire_damage_detector.1", "Now select the entity to link to." )
language.Add( "Tool.wire_damage_detector.includeconstrained", "Include Constrained Props" )
end
WireToolSetup.BaseLang()
Expand Down
8 changes: 3 additions & 5 deletions lua/wire/stools/data_satellitedish.lua
Expand Up @@ -2,18 +2,16 @@ WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "data_satellitedish", "Satellite Dish", "gmod_wire_data_satellitedish", nil, "Satellite Dishs" )

if ( CLIENT ) then
language.Add( "Tool.wire_data_satellitedish.name", "Satellite Dish Tool (Wire)" )
language.Add( "Tool.wire_data_satellitedish.desc", "Spawns a Satellite Dish." )
language.Add( "Tool.wire_data_satellitedish.0", "Primary: Create Satellite Dish. Secondary: Link Satellite Dish. Reload: Unlink/Change model" )
language.Add( "Tool.wire_data_satellitedish.1", "Now select the Wire Transferer to link to" )
language.Add( "Tool.wire_data_satellitedish.name", "Satellite Dish Tool (Wire)" )
language.Add( "Tool.wire_data_satellitedish.desc", "Spawns a Satellite Dish." )
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )

TOOL.ClientConVar["model"] = "models/props_wasteland/prison_lamp001c.mdl"

TOOL.ReloadSetsModel = true
WireToolSetup.SetupLinking(true)
WireToolSetup.SetupLinking(true, "Wire Transferer")

function TOOL.BuildCPanel(panel)
WireDermaExts.ModelSelect(panel, "wire_data_satellitedish_model", list.Get( "Wire_satellitedish_Models" ), 1)
Expand Down
8 changes: 4 additions & 4 deletions lua/wire/stools/data_store.lua
Expand Up @@ -2,10 +2,10 @@ WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "data_store", "Store", "gmod_wire_data_store", nil, "Data Stores" )

if ( CLIENT ) then
language.Add( "Tool.wire_data_store.name", "Data Store Tool (Wire)" )
language.Add( "Tool.wire_data_store.desc", "Spawns a data store." )
language.Add( "Tool.wire_data_store.0", "Primary: Create/Update data store" )
language.Add( "WireDataStoreTool_data_store", "Data Store:" )
language.Add( "Tool.wire_data_store.name", "Data Store Tool (Wire)" )
language.Add( "Tool.wire_data_store.desc", "Spawns a data store." )
language.Add( "WireDataStoreTool_data_store", "Data Store:" )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
16 changes: 8 additions & 8 deletions lua/wire/stools/data_transferer.lua
Expand Up @@ -2,14 +2,14 @@ WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "data_transferer", "Transferer", "gmod_wire_data_transferer", nil, "Transferers" )

if ( CLIENT ) then
language.Add( "Tool.wire_data_transferer.name", "Data Transferer Tool (Wire)" )
language.Add( "Tool.wire_data_transferer.desc", "Spawns a data transferer." )
language.Add( "Tool.wire_data_transferer.0", "Primary: Create/Update data transferer" )
language.Add( "WireDataTransfererTool_data_transferer", "Data Transferer:" )
language.Add( "WireDataTransfererTool_Range", "Max Range:" )
language.Add( "WireDataTransfererTool_DefaultZero","Default To Zero")
language.Add( "WireDataTransfererTool_IgnoreZero","Ignore Zero")
language.Add( "WireDataTransfererTool_Model", "Choose a Model:")
language.Add( "Tool.wire_data_transferer.name", "Data Transferer Tool (Wire)" )
language.Add( "Tool.wire_data_transferer.desc", "Spawns a data transferer." )
language.Add( "WireDataTransfererTool_data_transferer", "Data Transferer:" )
language.Add( "WireDataTransfererTool_Range", "Max Range:" )
language.Add( "WireDataTransfererTool_DefaultZero","Default To Zero")
language.Add( "WireDataTransfererTool_IgnoreZero","Ignore Zero")
language.Add( "WireDataTransfererTool_Model", "Choose a Model:")
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
11 changes: 8 additions & 3 deletions lua/wire/stools/dataplug.lua
Expand Up @@ -2,15 +2,20 @@ WireToolSetup.setCategory( "Advanced" )
WireToolSetup.open( "dataplug", "Data - Plug/Socket", "gmod_wire_datasocket", nil, "Plugs and Sockets" )

if ( CLIENT ) then
language.Add( "Tool.wire_dataplug.name", "Data Plug Tool (Wire)" )
language.Add( "Tool.wire_dataplug.desc", "Spawns plugs and sockets for use with the hi-speed wire system." )
language.Add( "Tool.wire_dataplug.0", "Primary: Create/Update Socket Secondary: Create/Update Plug" )
language.Add( "Tool.wire_dataplug.name", "Data Plug Tool (Wire)" )
language.Add( "Tool.wire_dataplug.desc", "Spawns plugs and sockets for use with the hi-speed wire system." )
language.Add( "sboxlimit_wire_dataplugs", "You've hit plugs limit!" )
language.Add( "sboxlimit_wire_datasockets", "You've hit sockets limit!" )
language.Add( "undone_wiredataplug", "Undone Wire Data Plug" )
language.Add( "undone_wiredatasocket", "Undone Wire Data Socket" )
TOOL.Information = {
{ name = "left", text = "Create/Update " .. TOOL.Name },
{ name = "right", text = "Create/Update Plug" },
}
end

WireToolSetup.BaseLang()

if (SERVER) then
CreateConVar('sbox_maxwire_dataplugs', 20)
CreateConVar('sbox_maxwire_datasockets', 20)
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/dataport.lua
Expand Up @@ -4,7 +4,7 @@ WireToolSetup.open( "dataport", "Data - Port", "gmod_wire_dataport", nil, "Data
if ( CLIENT ) then
language.Add( "Tool.wire_dataport.name", "Data port tool (Wire)" )
language.Add( "Tool.wire_dataport.desc", "Spawns data port consisting of 8 ports" )
language.Add( "Tool.wire_dataport.0", "Primary: Create/Update data ports unit" )
TOOL.Information = { { name = "left", text = "Create/Update data port" } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/datarate.lua
Expand Up @@ -4,7 +4,7 @@ WireToolSetup.open( "datarate", "Data - Transfer Bus", "gmod_wire_datarate", nil
if ( CLIENT ) then
language.Add( "Tool.wire_datarate.name", "Data transfer bus tool (Wire)" )
language.Add( "Tool.wire_datarate.desc", "Spawns a data transferrer. Data transferrer acts like identity gate for hi-speed and regular links" )
language.Add( "Tool.wire_datarate.0", "Primary: Create/Update data trasnferrer" )
TOOL.Information = { { name = "left", text = "Create/Update data transferrer" } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down
2 changes: 1 addition & 1 deletion lua/wire/stools/detonator.lua
Expand Up @@ -4,7 +4,7 @@ WireToolSetup.open( "detonator", "Detonator", "gmod_wire_detonator", nil, "Deton
if CLIENT then
language.Add( "tool.wire_detonator.name", "Detonator Tool (Wire)" )
language.Add( "tool.wire_detonator.desc", "Spawns a Detonator for use with the wire system." )
language.Add( "tool.wire_detonator.0", "Primary: Create/Update Detonator" )
TOOL.Information = { { name = "left", text = "Create/Update " .. TOOL.Name } }
end
WireToolSetup.BaseLang()
WireToolSetup.SetupMax( 20 )
Expand Down

0 comments on commit 1f406e3

Please sign in to comment.