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/ --- gamemode/craftablesystem/misc/transmutator.lua | 74 ++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 gamemode/craftablesystem/misc/transmutator.lua (limited to 'gamemode/craftablesystem/misc/transmutator.lua') diff --git a/gamemode/craftablesystem/misc/transmutator.lua b/gamemode/craftablesystem/misc/transmutator.lua new file mode 100644 index 0000000..9724844 --- /dev/null +++ b/gamemode/craftablesystem/misc/transmutator.lua @@ -0,0 +1,74 @@ +/* Transmutator */ +local COMBI = {} + +COMBI.Name = "Transmutator" +COMBI.Description = "For transmutating wood." + +COMBI.Req = {} +COMBI.Req["Tech"] = 35 +COMBI.Req["Wood"] = 30 +COMBI.Req["Iron"] = 10 + +COMBI.Results = "gms_transmutator" +COMBI.Texture = "gms_icons/gms_none.png" +COMBI.BuildSiteModel = "models/props_wasteland/kitchen_stove002a.mdl" + +GMS.RegisterCombi( COMBI, "Structures" ) + +local COMBI = {} + +COMBI.Name = "All Oak" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Wood"] = 1 +COMBI.Req["Iron"] = 1 + +COMBI.Results = {} +COMBI.Results["Oak"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Cedar" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Oak"] = 1 +COMBI.Req["Tech"] = 1 + +COMBI.Results = {} +COMBI.Results["Cedar"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) + +------------------------------------------------------------------------ + +local COMBI = {} + +COMBI.Name = "All Maple" +COMBI.Description = "This type of wood can be used to make more advanced machinery." +COMBI.Entity = "gms_transmutator" + +COMBI.Req = {} +COMBI.Req["Cedar"] = 1 +COMBI.Req["Silver"] = 1 + +COMBI.Results = {} +COMBI.Results["Maple"] = 2 + +COMBI.AllSmelt = true +COMBI.Max = 200 + +GMS.RegisterCombi( COMBI, "gms_transmutator" ) -- cgit v1.2.3-70-g09d2