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/chainsaw.lua |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua
index 273e36d..c8f6d37 100644
--- a/technic/tools/chainsaw.lua
+++ b/technic/tools/chainsaw.lua
@@ -256,6 +256,7 @@
 	inventory_image = "technic_chainsaw.png",
 	stack_max = 1,
 	wear_represents = "technic_RE_charge",
+	on_refill = technic.refill_RE_charge,
 	on_use = function(itemstack, user, pointed_thing)
 		if pointed_thing.type ~= "node" then
 			return itemstack

--
Gitblit v1.8.0