summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/furnaces/techfurnace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/craftablesystem/furnaces/techfurnace.lua')
-rw-r--r--gamemode/craftablesystem/furnaces/techfurnace.lua93
1 files changed, 93 insertions, 0 deletions
diff --git a/gamemode/craftablesystem/furnaces/techfurnace.lua b/gamemode/craftablesystem/furnaces/techfurnace.lua
new file mode 100644
index 0000000..274ce57
--- /dev/null
+++ b/gamemode/craftablesystem/furnaces/techfurnace.lua
@@ -0,0 +1,93 @@
+/* Tech Furnace */
+local COMBI = {}
+
+COMBI.Name = "Tech Furnace"
+COMBI.Description = "You can use the furnace to smelt resources into another, such as Silver Ore into Silver."
+
+COMBI.Req = {}
+COMBI.Req["Tech"] = 35
+COMBI.Req["Cedar"] = 35
+
+COMBI.Results = "gms_techfurnace"
+COMBI.Texture = "gms_icons/gms_none.png"
+COMBI.BuildSiteModel = "models/props/cs_militia/dryer.mdl"
+
+GMS.RegisterCombi( COMBI, "Structures" )
+
+/* All Silver */
+local COMBI = {}
+
+COMBI.Name = "All Silver"
+COMBI.Description = "Silver can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_techfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Silver_Ore"] = 1
+
+COMBI.Results = {}
+COMBI.Results["Silver"] = 1
+
+COMBI.AllSmelt = true
+COMBI.Max = 50
+
+GMS.RegisterCombi( COMBI, "gms_techfurnace" )
+
+/* 1 Silver */
+local COMBI = {}
+
+COMBI.Name = "Silver"
+COMBI.Description = "Silver can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_techfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Silver_Ore"] = 1
+
+COMBI.Results = {}
+COMBI.Results["Silver"] = 1
+
+GMS.RegisterCombi( COMBI, "gms_techfurnace" )
+
+/* 5 Silver */
+local COMBI = {}
+
+COMBI.Name = "Silver 5x"
+COMBI.Description = "Silver can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_techfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Silver_Ore"] = 5
+
+COMBI.Results = {}
+COMBI.Results["Silver"] = 5
+
+GMS.RegisterCombi( COMBI, "gms_techfurnace" )
+
+/* 10 Silver */
+local COMBI = {}
+
+COMBI.Name = "Silver 10x"
+COMBI.Description = "Silver can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_techfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Silver_Ore"] = 10
+
+COMBI.Results = {}
+COMBI.Results["Silver"] = 10
+
+GMS.RegisterCombi( COMBI, "gms_techfurnace" )
+
+/* 25 Silver */
+local COMBI = {}
+
+COMBI.Name = "Silver 25x"
+COMBI.Description = "Silver can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_techfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Silver_Ore"] = 25
+
+COMBI.Results = {}
+COMBI.Results["Silver"] = 25
+
+GMS.RegisterCombi( COMBI, "gms_techfurnace" )