/* Iron Furnace */ local COMBI = {} COMBI.Name = "Iron Furnace" COMBI.Description = "You can use the furnace to smelt resources into another, such as Sand into Glass." COMBI.Req = {} COMBI.Req["Iron"] = 35 COMBI.Results = "gms_ironfurnace" COMBI.Texture = "gms_icons/gms_ironfurnace.png" COMBI.BuildSiteModel = "models/props_c17/furniturefireplace001a.mdl" GMS.RegisterCombi( COMBI, "Structures" ) /* All Tech */ local COMBI = {} COMBI.Name = "All Tech" COMBI.Description = "Tech can be used to create more advanced buildings and tools." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Tech Ore"] = 1 COMBI.Results = {} COMBI.Results["Tech"] = 1 COMBI.AllSmelt = true COMBI.Max = 50 GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) /* 1 Tech */ local COMBI = {} COMBI.Name = "Tech" COMBI.Description = "Tech can be used to create more advanced buildings and tools." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Tech Ore"] = 1 COMBI.Results = {} COMBI.Results["Tech"] = 1 GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) local TechMultiples = {5,10,25} for k,v in pairs(TechMultiples) do local COMBI = {} COMBI.Name = "Tech " .. v .. "x" COMBI.Description = "Tech can be used to create more advanced buildings and tools." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Tech Ore"] = v COMBI.Results = {} COMBI.Results["Tech"] = v GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) end /* Glass */ local COMBI = {} COMBI.Name = "Glass" COMBI.Description = "Glass can be used for making bottles and lighting." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Sand"] = 2 COMBI.Results = {} COMBI.Results["Glass"] = 1 GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) /* Charcoal */ local COMBI = {} COMBI.Name = "Charcoal" COMBI.Description = "Used in the production of gunpowder." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Wood"] = 5 COMBI.Results = {} COMBI.Results["Charcoal"] = 1 GMS.RegisterCombi( COMBI, "gms_ironfurnace" ) /* Charcoal 10x */ local COMBI = {} COMBI.Name = "Charcoal 10x" COMBI.Description = "Used in the production of gunpowder." COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} COMBI.Req["Wood"] = 50 COMBI.Results = {} COMBI.Results["Charcoal"] = 10 GMS.RegisterCombi( COMBI, "gms_ironfurnace" )