Cleanup of last commit, dirtying the graph
This commit is contained in:
parent
b727fcf102
commit
6bb08c62f6
@ -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" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user