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/stoneworkbench.lua | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 gamemode/craftablesystem/workbenches/stoneworkbench.lua (limited to 'gamemode/craftablesystem/workbenches/stoneworkbench.lua') diff --git a/gamemode/craftablesystem/workbenches/stoneworkbench.lua b/gamemode/craftablesystem/workbenches/stoneworkbench.lua new file mode 100644 index 0000000..cd9ba20 --- /dev/null +++ b/gamemode/craftablesystem/workbenches/stoneworkbench.lua @@ -0,0 +1,83 @@ +/* Stone Workbench */ +local COMBI = {} + +COMBI.Name = "Stone Workbench" +COMBI.Description = "This stone table has various fine specialized equipment used in crafting basic items." + +COMBI.Req = {} +COMBI.Req["Wood"] = 15 +COMBI.Req["Stone"] = 25 + +COMBI.Results = "gms_stoneworkbench" +COMBI.Texture = "gms_icons/gms_stoneworkbench.png" +COMBI.BuildSiteModel = "models/props/de_piranesi/pi_merlon.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +/* Stone Hatchet */ +local COMBI = {} + +COMBI.Name = "Stone Hatchet" +COMBI.Description = "This small stone axe is ideal for chopping down trees." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 +COMBI.Req["Wood"] = 10 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_stonehatchet" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Wooden Spoon */ +local COMBI = {} + +COMBI.Name = "Wooden Spoon" +COMBI.Description = "Allows you to salvage more seeds from consumed fruit." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Wood"] = 12 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 3 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_woodenspoon" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Stone Pickaxe */ +local COMBI = {} + +COMBI.Name = "Stone Pickaxe" +COMBI.Description = "This stone pickaxe is used for effectively mining stone and copper ore." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Stone"] = 10 +COMBI.Req["Wood"] = 10 +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_stonepickaxe" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) + +/* Fishing rod */ +local COMBI = {} + +COMBI.Name = "Wooden Fishing Rod" +COMBI.Description = "This rod of wood can be used to fish from a lake." +COMBI.Entity = "gms_stoneworkbench" + +COMBI.Req = {} +COMBI.Req["Rope"] = 1 +COMBI.Req["Wood"] = 20 + +COMBI.SkillReq = {} +COMBI.SkillReq["Weapon_Crafting"] = 4 + +COMBI.Texture = "gms_icons/gms_weapon.png" +COMBI.SwepClass = "gms_woodenfishingrod" + +GMS.RegisterCombi( COMBI, "gms_stoneworkbench" ) -- cgit v1.2.3-70-g09d2