From 96b7b9eab3913746f71d1e0c5b34c8f266733ea6 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 14 Oct 2022 04:39:51 +0200 Subject: [PATCH] Add crafting recipe --- mods/ITEMS/mcl_lightning_rods/init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mods/ITEMS/mcl_lightning_rods/init.lua b/mods/ITEMS/mcl_lightning_rods/init.lua index a3cbc951f4..41d9adfbd0 100644 --- a/mods/ITEMS/mcl_lightning_rods/init.lua +++ b/mods/ITEMS/mcl_lightning_rods/init.lua @@ -71,3 +71,12 @@ lightning.register_on_strike(function(pos,pos2,objects) local lr = minetest.find_node_near(pos,128,{"group:attracts_lightning"},true) return lr,nil end) + +minetest.register_craft({ + output = "mcl_lightning_rods:rod", + recipe = { + {"", "mcl_copper:copper_ingot",""}, + {"", "mcl_copper:copper_ingot",""}, + {"", "mcl_copper:copper_ingot",""}, + } +})