/* Gold Furnace */ local COMBI = {} COMBI.Name = "Gold Furnace" COMBI.Description = "You can use the furnace to smelt resources into another, such as Steel Ore into Steel." COMBI.Req = {} COMBI.Req["Gold"] = 35 COMBI.Req["Teak"] = 35 COMBI.Results = "gms_goldfurnace" COMBI.Texture = "gms_icons/gms_none.png" COMBI.BuildSiteModel = "models/props_industrial/oil_storage.mdl" GMS.RegisterCombi( COMBI, "Structures" ) /* 1 Steel */ local COMBI = {} COMBI.Name = "Steel" COMBI.Description = "Steel can be used to create more advanced buildings and tools." COMBI.Entity = "gms_goldfurnace" COMBI.Req = {} COMBI.Req["Steel_Ore"] = 1 COMBI.Results = {} COMBI.Results["Steel"] = 1 GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) local SteelMultiples = {5,10,25} for k,v in pairs(SteelMultiples) do local COMBI = {} COMBI.Name = "Steel " .. v .. "x" COMBI.Description = "Steel can be used to create more advanced buildings and tools." COMBI.Entity = "gms_goldfurnace" COMBI.Req = {} COMBI.Req["Steel_Ore"] = v COMBI.Results = {} COMBI.Results["Steel"] = v GMS.RegisterCombi( COMBI, "gms_goldfurnace" ) end /* All Steel */ local COMBI = {} COMBI.Name = "Steel" COMBI.Description = "Steel can be used to create more advanced buildings and tools." COMBI.Entity = "gms_goldfurnace" COMBI.Req = {} COMBI.Req["Steel_Ore"] = 1 COMBI.Results = {} COMBI.Results["Steel"] = 1 COMBI.AllSmelt = true COMBI.Max = 50 GMS.RegisterCombi( COMBI, "gms_goldfurnace" )