From 66e20a9231b9fea823f9b683e495c57ef9a4ad41 Mon Sep 17 00:00:00 2001 From: sfence <sfence.software@gmail.com> Date: Fri, 04 Nov 2022 19:23:44 +0100 Subject: [PATCH] Add register_cable_tier API function (#612) --- technic/machines/LV/compressor.lua | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/technic/machines/LV/compressor.lua b/technic/machines/LV/compressor.lua index 11bf16d..84eb4c5 100644 --- a/technic/machines/LV/compressor.lua +++ b/technic/machines/LV/compressor.lua @@ -4,10 +4,14 @@ minetest.register_craft({ output = 'technic:lv_compressor', recipe = { - {'default:stone', 'default:stone', 'default:stone'}, - {'mesecons:piston', 'technic:motor', 'mesecons:piston'}, - {'default:stone', 'technic:lv_cable0', 'default:stone'}, - } + {'default:stone', 'basic_materials:motor', 'default:stone'}, + {'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}) -- Gitblit v1.8.0