/* Copper Furnace */ local COMBI = {} COMBI.Name = "Copper Furnace" COMBI.Description = "You can use the furnace to smelt resources into another, such as Iron Ore into Iron." COMBI.Req = {} COMBI.Req["Copper"] = 35 COMBI.Results = "gms_copperfurnace" COMBI.Texture = "gms_icons/gms_copperfurnace.png" COMBI.BuildSiteModel = "models/props/cs_militia/furnace01.mdl" GMS.RegisterCombi( COMBI, "Structures" ) /* Iron Ore to Iron */ local COMBI = {} COMBI.Name = "Iron" COMBI.Description = "Iron can be used to create more advanced buildings and tools." COMBI.Entity = "gms_copperfurnace" COMBI.Req = {} COMBI.Req["Iron Ore"] = 1 COMBI.Results = {} COMBI.Results["Iron"] = 1 GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) local SmeltMultiples = {5,10,25} for v,k in pairs(SmeltMultiples) do local COMBI = {} COMBI.Name = "Iron " .. k .. "x" COMBI.Description = "Iron can be used to create more advanced buildings and tools." COMBI.Entity = "gms_copperfurnace" COMBI.Req = {} COMBI.Req["Iron Ore"] = k COMBI.Results = {} COMBI.Results["Iron"] = k GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) end /* Allsmelt Iron */ local COMBI = {} COMBI.Name = "All Iron" COMBI.Description = "Iron can be used to create more advanced buildings and tools." COMBI.Entity = "gms_copperfurnace" COMBI.Req = {} COMBI.Req["Iron Ore"] = 1 COMBI.Results = {} COMBI.Results["Iron"] = 1 COMBI.AllSmelt = true COMBI.Max = 50 GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) /* Sulphur */ local COMBI = {} COMBI.Name = "Sulphur 5x" COMBI.Description = "Used in the production of gunpowder, refine from rocks." COMBI.Entity = "gms_copperfurnace" COMBI.Req = {} COMBI.Req["Stone"] = 10 COMBI.Results = {} COMBI.Results["Sulphur"] = 5 GMS.RegisterCombi( COMBI, "gms_copperfurnace" ) /* Sulphur 10 */ local COMBI = {} COMBI.Name = "Sulphur 10x" COMBI.Description = "Used in the production of gunpowder, refine from rocks." COMBI.Entity = "gms_copperfurnace" COMBI.Req = {} COMBI.Req["Stone"] = 20 COMBI.Results = {} COMBI.Results["Sulphur"] = 10 GMS.RegisterCombi( COMBI, "gms_copperfurnace" )