From 69b734c634c0838e1eb4d468d5a6db67f8eb7bd0 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 16 Apr 2016 14:16:26 -0400 Subject: Moved all of combinations.lua into their own files under craftablesystem/ --- .../craftablesystem/workbenches/steelworkbench.lua | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gamemode/craftablesystem/workbenches/steelworkbench.lua (limited to 'gamemode/craftablesystem/workbenches/steelworkbench.lua') diff --git a/gamemode/craftablesystem/workbenches/steelworkbench.lua b/gamemode/craftablesystem/workbenches/steelworkbench.lua new file mode 100644 index 0000000..b8f5117 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/steelworkbench.lua @@ -0,0 +1,47 @@ +/* Steel Workbench */ +local COMBI = {} + +COMBI.Name = "Steel Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Steel"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_steelworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/de_nuke/equipment1.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Steel Pickaxe" +COMBI.Description = "This steel pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, steel ore, and platinum ore." +COMBI.Entity = "gms_steelworkbench" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_steelpickaxe" + +GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Steel Hatchet" +COMBI.Description = "This Steel axe is ideal for chopping down trees." +COMBI.Entity = "gms_steelworkbench" + +COMBI.Req = {} +COMBI.Req["Steel"] = 40 +COMBI.Req["Mahogany"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_steelhatchet" + +GMS.RegisterCombi( COMBI, "gms_steelworkbench" ) -- cgit v1.2.3-70-g09d2