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