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/sonic_screwdriver.lua | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/technic/tools/sonic_screwdriver.lua b/technic/tools/sonic_screwdriver.lua index cc4edab..0a9b3a9 100644 --- a/technic/tools/sonic_screwdriver.lua +++ b/technic/tools/sonic_screwdriver.lua @@ -8,6 +8,7 @@ description = S("Sonic Screwdriver"), inventory_image = "technic_sonic_screwdriver.png", wear_represents = "technic_RE_charge", + on_refill = technic.refill_RE_charge, on_use = function(itemstack, user, pointed_thing) -- Must be pointing to facedir applicable node if pointed_thing.type ~= "node" then -- Gitblit v1.8.0