diff options
Diffstat (limited to 'gamemode/craftablesystem/furnaces/stonefurnace.lua')
| -rw-r--r-- | gamemode/craftablesystem/furnaces/stonefurnace.lua | 52 |
1 files changed, 12 insertions, 40 deletions
diff --git a/gamemode/craftablesystem/furnaces/stonefurnace.lua b/gamemode/craftablesystem/furnaces/stonefurnace.lua index c48a7d0..ecc1fb6 100644 --- a/gamemode/craftablesystem/furnaces/stonefurnace.lua +++ b/gamemode/craftablesystem/furnaces/stonefurnace.lua @@ -28,50 +28,22 @@ COMBI.Results["Copper"] = 1 GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) -/* Copper Ore to Copper x5 */ -local COMBI = {} - -COMBI.Name = "Copper 5x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 5 - -COMBI.Results = {} -COMBI.Results["Copper"] = 5 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) - -/* Copper Ore to Copper x10 */ -local COMBI = {} - -COMBI.Name = "Copper 10x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" - -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 10 - -COMBI.Results = {} -COMBI.Results["Copper"] = 10 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) +local CopperMultiples = {5,10,25} +for k,v in pairs(CopperMultiples) do + local COMBI = {} -/* Copper Ore to Copper x25 */ -local COMBI = {} + COMBI.Name = "Copper " .. v .. "x" + COMBI.Description = "Copper can be used to create more advanced buildings and tools." + COMBI.Entity = "gms_stonefurnace" -COMBI.Name = "Copper 25x" -COMBI.Description = "Copper can be used to create more advanced buildings and tools." -COMBI.Entity = "gms_stonefurnace" + COMBI.Req = {} + COMBI.Req["Copper_Ore"] = v -COMBI.Req = {} -COMBI.Req["Copper_Ore"] = 25 + COMBI.Results = {} + COMBI.Results["Copper"] = v -COMBI.Results = {} -COMBI.Results["Copper"] = 25 - -GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) + GMS.RegisterCombi( COMBI, "gms_stonefurnace" ) +end /* Allsmelt Copper */ local COMBI = {} |
