New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use new gmod_tool HUD style #1273
Conversation
language.Add( "WireNamerTool_name", "Name:" ) | ||
TOOL.Information = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentayshun
language.Add("WireDataTransfererTool_cd_disk", "CD Disk:") | ||
|
||
TOOL.Information = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentayshun
@@ -4,12 +4,16 @@ 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( "sboxlimit_wire_cd_rays", "You've hit CD Rays limit!" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentayshun
@@ -4,9 +4,13 @@ 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" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentayshun
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 } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentayshun
Not going to review all of it right now, but there are clearly indentation problems in there, some of them pre-existing. |
Yeah, these indentation problems are all in files which use inconsistent indentation. Specifically, my editor guessed the indentation for the file based on what most lines in the file use, but these blocks at the top of the file seem to be the odd ones out (maybe due to copy-pasting). I'll go through and audit it now and make the indentation locally correct rather than file-level correct. |
6ba4f4c
to
307ee31
Compare
Okay, I fixed the (existing) indentation problems in a separate commit. |
307ee31
to
131ebfe
Compare
Cool 👍 |
@TomyLobo, the |
Will merge this soon unless anybody wants to actually review it. |
131ebfe
to
a3ad754
Compare
I don't know when this was introduced, but it's very pretty: