From 6bb08c62f63ad5406c5dbef4fe99a9d00b0a41f7 Mon Sep 17 00:00:00 2001 From: Valentin Anger Date: Sun, 23 Sep 2018 04:06:44 +0200 Subject: [PATCH] Cleanup of last commit, dirtying the graph --- sparkwrench/drill.lua | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/sparkwrench/drill.lua b/sparkwrench/drill.lua index 21ee35f..beb00f0 100644 --- a/sparkwrench/drill.lua +++ b/sparkwrench/drill.lua @@ -84,24 +84,8 @@ minetest.register_tool(NAME .. ":handdrill", { end }) -minetest.register_tool(NAME .. ":emptyhanddrill", { - description = "Empty Electric Handdrill", - inventory_image = "electrichanddrill.png", - groups = { - sparktech_chargable = CAPACITY - }, - on_use = function (itemstack, user, pointed_thing) - minetest.debug(itemstack:get_meta():get_int("energy")) - if itemstack:get_meta():get_int("energy") > 0 then - return ItemStack(NAME .. ":handdrill") - end - return nil - end -}) - - minetest.register_craft({ - output = NAME .. ":electricdrill", + output = NAME .. ":handdrill", recipe = { { "", "group:steel_plate", "" }, { "group:steel_plate", "default:tin_ingot", "group:steel_plate" },