From 46e362c6c2968a657c457811b61336039a536681 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Thu, 23 Mar 2023 11:15:12 +0100 Subject: [PATCH] Deduplicate machine crafts --- machines.lua | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/machines.lua b/machines.lua index adc52be..a9cce59 100644 --- a/machines.lua +++ b/machines.lua @@ -184,27 +184,9 @@ minetest.register_craft({ type="shaped", output="industrialtest:generator", recipe={ - {"industrialtest:re_battery","",""}, - {"industrialtest:machine_block","",""}, - {industrialtest.elementKeys.furnace,"",""} - } -}) -minetest.register_craft({ - type="shaped", - output="industrialtest:generator", - recipe={ - {"","industrialtest:re_battery",""}, - {"","industrialtest:machine_block",""}, - {"",industrialtest.elementKeys.furnace,""} - } -}) -minetest.register_craft({ - type="shaped", - output="industrialtest:generator", - recipe={ - {"","","industrialtest:re_battery"}, - {"","","industrialtest:machine_block"}, - {"","",industrialtest.elementKeys.furnace} + {"industrialtest:re_battery"}, + {"industrialtest:machine_block"}, + {industrialtest.elementKeys.furnace} } }) minetest.register_craft({ @@ -756,16 +738,6 @@ minetest.register_craft({ type="shaped", output="industrialtest:electric_furnace", recipe={ - {"","industrialtest:electronic_circuit",""}, - {industrialtest.elementKeys.powerCarrier,"industrialtest:iron_furnace",industrialtest.elementKeys.powerCarrier}, - {"","",""} - } -}) -minetest.register_craft({ - type="shaped", - output="industrialtest:electric_furnace", - recipe={ - {"","",""}, {"","industrialtest:electronic_circuit",""}, {industrialtest.elementKeys.powerCarrier,"industrialtest:iron_furnace",industrialtest.elementKeys.powerCarrier} }