Novatux
2014-07-02 c0a17396bf093360f266a693c860cfad0b7ebbfe
commit | author | age
c0a173 1
N 2 local S = technic.getter
3
4 technic.register_recipe_type("compressing", S("Compressing"))
5
6 function technic.register_compressor_recipe(data)
7     data.time = data.time or 4
8     technic.register_recipe("compressing", data)
9 end
10
11 local recipes = {
12     {"default:snowblock",          "default:ice"},
13     {"default:desert_sand",        "default:desert_stone"},
14     {"technic:mixed_metal_ingot",  "technic:composite_plate"},
15     {"default:copper_ingot 5",     "technic:copper_plate"},
16     {"technic:coal_dust 4",        "technic:graphite"},
17     {"technic:carbon_cloth",       "technic:carbon_plate"},
18     {"technic:enriched_uranium 4", "technic:uranium_fuel"},
19 }
20
21 for _, data in pairs(recipes) do
22     technic.register_compressor_recipe({input = data[1], output = data[2]})
23 end
24