From acde04b766b7232c3c86ada6a3330f8dd6f66840 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Sat, 15 Apr 2023 13:54:07 +0200 Subject: [PATCH] Add advanced electronic circuit --- craftitems.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/craftitems.lua b/craftitems.lua index 2256dcf..df76c48 100644 --- a/craftitems.lua +++ b/craftitems.lua @@ -441,6 +441,30 @@ minetest.register_craft({ {"industrialtest:insulated_copper_cable","industrialtest:insulated_copper_cable","industrialtest:insulated_copper_cable"} } }) + +minetest.register_craftitem("industrialtest:advanced_electronic_circuit",{ + description=S("Advanced Electronic Circuit"), + inventory_image="industrialtest_advanced_electronic_circuit.png" +}) +minetest.register_craft({ + type="shaped", + output="industrialtest:advanced_electronic_circuit", + recipe={ + {industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.yellowDust,industrialtest.elementKeys.powerCarrier}, + {industrialtest.elementKeys.blueDye,"industrialtest:electronic_circuit",industrialtest.elementKeys.blueDye}, + {industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.yellowDust,industrialtest.elementKeys.powerCarrier} + } +}) +minetest.register_craft({ + type="shaped", + output="industrialtest:advanced_electronic_circuit", + recipe={ + {industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.blueDye,industrialtest.elementKeys.powerCarrier}, + {industrialtest.elementKeys.yellowDust,"industrialtest:electronic_circuit",industrialtest.elementKeys.yellowDust}, + {industrialtest.elementKeys.powerCarrier,industrialtest.elementKeys.blueDye,industrialtest.elementKeys.powerCarrier} + } +}) + minetest.register_craftitem("industrialtest:scrap",{ description=S("Scrap"), inventory_image="industrialtest_scrap.png"