diff --git a/tools.lua b/tools.lua index c998507..11e81b3 100644 --- a/tools.lua +++ b/tools.lua @@ -48,6 +48,9 @@ minetest.register_tool("industrialtest:drill", { description = S("Mining Drill"), inventory_image = "industrialtest_drill.png", + _industrialtest_powerStorage=true, + _industrialtest_powerCapacity=30000, + _industrialtest_powerFlow=128, tool_capabilities = { full_punch_interval = 1.5, @@ -57,7 +60,11 @@ minetest.register_tool("industrialtest:drill", crumbly = { maxlevel = 3, - uses = 8888, + times = {[1]=0.3, [2]=0.3, [3]=0.3} + }, + cracky = + { + maxlevel = 3, times = {[1]=0.3, [2]=0.3, [3]=0.3} }, }, @@ -69,6 +76,9 @@ minetest.register_tool("industrialtest:drill_diamond", { description = S("Diamond Drill"), inventory_image = "industrialtest_drill_diamond.png", + _industrialtest_powerStorage=true, + _industrialtest_powerCapacity=30000, + _industrialtest_powerFlow=128, tool_capabilities = { full_punch_interval = 1.5, @@ -78,7 +88,11 @@ minetest.register_tool("industrialtest:drill_diamond", crumbly = { maxlevel = 3, - uses = 8888, + times = {[1]=0.1, [2]=0.1, [3]=0.1} + }, + cracky = + { + maxlevel = 3, times = {[1]=0.1, [2]=0.1, [3]=0.1} }, },