/* Stone Furnace */ local COMBI = {} COMBI.Name = "Stone Furnace" COMBI.Description = "You can use the furnace to smelt resources into another, such as Copper Ore into Copper." COMBI.Req = {} COMBI.Req["Stone"] = 35 COMBI.Results = "gms_stonefurnace" COMBI.Texture = "gms_icons/gms_stonefurnace.png" COMBI.BuildSiteModel = "models/props/de_inferno/ClayOven.mdl" GMS.RegisterCombi( COMBI, "Structures" ) /* Copper Ore to Copper*/ local COMBI = {} COMBI.Name = "Copper" COMBI.Description = "Copper can be used to create more advanced buildings and tools." COMBI.Entity = "gms_stonefurnace" COMBI.Req = {} COMBI.Req["Copper Ore"] = 1 COMBI.Results = {} COMBI.Results["Copper"] = 1 GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) local CopperMultiples = {5,10,25} for k,v in pairs(CopperMultiples) do local COMBI = {} COMBI.Name = "Copper " .. v .. "x" COMBI.Description = "Copper can be used to create more advanced buildings and tools." COMBI.Entity = "gms_stonefurnace" COMBI.Req = {} COMBI.Req["Copper Ore"] = v COMBI.Results = {} COMBI.Results["Copper"] = v GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) end /* Allsmelt Copper */ local COMBI = {} COMBI.Name = "All Copper" COMBI.Description = "Copper can be used to create more advanced buildings and tools." COMBI.Entity = "gms_stonefurnace" COMBI.Req = {} COMBI.Req["Copper Ore"] = 1 COMBI.Results = {} COMBI.Results["Copper"] = 1 COMBI.AllSmelt = true COMBI.Max = 35 GMS.RegisterCombi( COMBI, "gms_stonefurnace" )