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/goldworkbench.lua | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gamemode/craftablesystem/workbenches/goldworkbench.lua (limited to 'gamemode/craftablesystem/workbenches/goldworkbench.lua') diff --git a/gamemode/craftablesystem/workbenches/goldworkbench.lua b/gamemode/craftablesystem/workbenches/goldworkbench.lua new file mode 100644 index 0000000..a3d8590 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/goldworkbench.lua @@ -0,0 +1,47 @@ +/* Gold Workbench */ +local COMBI = {} + +COMBI.Name = "Gold Workbench" +COMBI.Description = "This iron table has various fine specialized equipment used in crafting advanced items." + +COMBI.Req = {} +COMBI.Req["Gold"] = 30 +COMBI.Req["Stone"] = 20 + +COMBI.Results = "gms_goldworkbench" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props/cs_office/file_cabinet1.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "Gold Pickaxe" +COMBI.Description = "This gold pickaxe is used for effectively mining stone, copper ore, iron ore, tech ore, silver ore, gold ore, and steel ore." +COMBI.Entity = "gms_goldworkbench" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_goldpickaxe" + +GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "Gold Hatchet" +COMBI.Description = "This gold axe is ideal for chopping down trees." +COMBI.Entity = "gms_goldworkbench" + +COMBI.Req = {} +COMBI.Req["Gold"] = 35 +COMBI.Req["Teak"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_goldhatchet" + +GMS.RegisterCombi( COMBI, "gms_goldworkbench" ) -- cgit v1.2.3-70-g09d2