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