summaryrefslogtreecommitdiff
path: root/mining_drill.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mining_drill.lua')
-rw-r--r--mining_drill.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mining_drill.lua b/mining_drill.lua
index 305ef59..77df7e7 100644
--- a/mining_drill.lua
+++ b/mining_drill.lua
@@ -10,9 +10,9 @@ minetest.register_tool("technic:mining_drill", {
local charge=tonumber((item["wear"]))
if charge ==0 then charge =65535 end
charge=get_RE_item_load(charge,laser_mk1_max_charge)
- if charge-400>0 then
+ if charge-200>0 then
drill_dig_it(minetest.get_pointed_thing_position(pointed_thing, above),user)
- charge =charge-400;
+ charge =charge-200;
charge=set_RE_item_load(charge,laser_mk1_max_charge)
item["wear"]=tostring(charge)
itemstack:replace(item)