mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-27 15:00:18 +02:00
18 lines
653 B
Lua
18 lines
653 B
Lua
|
|
minetest.register_alias("compressor", "technic:lv_compressor")
|
|
|
|
minetest.register_craft({
|
|
output = 'technic:lv_compressor',
|
|
recipe = {
|
|
{technic_compat.stone_ingredient, 'basic_materials:motor', technic_compat.stone_ingredient},
|
|
{'mesecons:piston', 'technic:machine_casing', 'mesecons:piston'},
|
|
{'basic_materials:silver_wire', 'technic:lv_cable', 'basic_materials:silver_wire'},
|
|
},
|
|
replacements = {
|
|
{"basic_materials:silver_wire", "basic_materials:empty_spool"},
|
|
{"basic_materials:silver_wire", "basic_materials:empty_spool"}
|
|
},
|
|
})
|
|
|
|
technic.register_compressor({tier = "LV", demand = {300}, speed = 1})
|