From 00d7c9bdead4d77f0ca88036eda44b8cce6cca34 Mon Sep 17 00:00:00 2001 From: Zefram <zefram@fysh.org> Date: Wed, 30 Apr 2014 11:49:54 +0200 Subject: [PATCH] Refill behaviour for power tools and cans --- technic/tools/mining_lasers.lua | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/technic/tools/mining_lasers.lua b/technic/tools/mining_lasers.lua index c6ba57f..50df526 100644 --- a/technic/tools/mining_lasers.lua +++ b/technic/tools/mining_lasers.lua @@ -169,6 +169,7 @@ inventory_image = "technic_mining_laser_mk"..m[1]..".png", stack_max = 1, wear_represents = "technic_RE_charge", + on_refill = technic.refill_RE_charge, on_use = function(itemstack, user) local meta = minetest.deserialize(itemstack:get_metadata()) if not meta or not meta.charge then -- Gitblit v1.8.0