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