summaryrefslogtreecommitdiff
path: root/gamemode/craftablesystem/furnaces/ironfurnace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/craftablesystem/furnaces/ironfurnace.lua')
-rw-r--r--gamemode/craftablesystem/furnaces/ironfurnace.lua138
1 files changed, 138 insertions, 0 deletions
diff --git a/gamemode/craftablesystem/furnaces/ironfurnace.lua b/gamemode/craftablesystem/furnaces/ironfurnace.lua
new file mode 100644
index 0000000..bea5d0b
--- /dev/null
+++ b/gamemode/craftablesystem/furnaces/ironfurnace.lua
@@ -0,0 +1,138 @@
+/* Iron Furnace */
+local COMBI = {}
+
+COMBI.Name = "Iron Furnace"
+COMBI.Description = "You can use the furnace to smelt resources into another, such as Sand into Glass."
+
+COMBI.Req = {}
+COMBI.Req["Iron"] = 35
+
+COMBI.Results = "gms_ironfurnace"
+COMBI.Texture = "gms_icons/gms_ironfurnace.png"
+COMBI.BuildSiteModel = "models/props_c17/furniturefireplace001a.mdl"
+
+GMS.RegisterCombi( COMBI, "Structures" )
+
+/* All Tech */
+local COMBI = {}
+
+COMBI.Name = "All Tech"
+COMBI.Description = "Tech can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Tech_Ore"] = 1
+
+COMBI.Results = {}
+COMBI.Results["Tech"] = 1
+
+COMBI.AllSmelt = true
+COMBI.Max = 50
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* 1 Tech */
+local COMBI = {}
+
+COMBI.Name = "Tech"
+COMBI.Description = "Tech can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Tech_Ore"] = 1
+
+COMBI.Results = {}
+COMBI.Results["Tech"] = 1
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* 5 Tech */
+local COMBI = {}
+
+COMBI.Name = "Tech 5x"
+COMBI.Description = "Tech can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Tech_Ore"] = 5
+
+COMBI.Results = {}
+COMBI.Results["Tech"] = 5
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* 10 Tech */
+local COMBI = {}
+
+COMBI.Name = "Tech 10x"
+COMBI.Description = "Tech can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Tech_Ore"] = 10
+
+COMBI.Results = {}
+COMBI.Results["Tech"] = 10
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* 25 Tech */
+local COMBI = {}
+
+COMBI.Name = "Tech 25x"
+COMBI.Description = "Tech can be used to create more advanced buildings and tools."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Tech_Ore"] = 25
+
+COMBI.Results = {}
+COMBI.Results["Tech"] = 25
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+
+/* Glass */
+local COMBI = {}
+
+COMBI.Name = "Glass"
+COMBI.Description = "Glass can be used for making bottles and lighting."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Sand"] = 2
+
+COMBI.Results = {}
+COMBI.Results["Glass"] = 1
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* Charcoal */
+local COMBI = {}
+
+COMBI.Name = "Charcoal"
+COMBI.Description = "Used in the production of gunpowder."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Wood"] = 5
+
+COMBI.Results = {}
+COMBI.Results["Charcoal"] = 1
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )
+
+/* Charcoal 10x */
+local COMBI = {}
+
+COMBI.Name = "Charcoal 10x"
+COMBI.Description = "Used in the production of gunpowder."
+COMBI.Entity = "gms_ironfurnace"
+
+COMBI.Req = {}
+COMBI.Req["Wood"] = 50
+
+COMBI.Results = {}
+COMBI.Results["Charcoal"] = 10
+
+GMS.RegisterCombi( COMBI, "gms_ironfurnace" )