commit | author | age
|
c0a173
|
1 |
|
N |
2 |
local S = technic.getter |
|
3 |
|
dd65a6
|
4 |
technic.register_recipe_type("compressing", { description = S("Compressing") }) |
c0a173
|
5 |
|
N |
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 |
d55ecc
|
22 |
technic.register_compressor_recipe({input = {data[1]}, output = data[2]}) |
c0a173
|
23 |
end |
N |
24 |
|