Refill behaviour for power tools and cans
authorZefram <zefram@fysh.org>
Wed, 30 Apr 2014 09:49:54 +0000 (10:49 +0100)
committerZefram <zefram@fysh.org>
Wed, 30 Apr 2014 09:49:54 +0000 (10:49 +0100)
commit00d7c9bdead4d77f0ca88036eda44b8cce6cca34
treec49a78b012819580d2c786b0ffc7058fb6a9e6e7
parent0294fc8f3a9772ab292c7e40d489e760b666516e
Refill behaviour for power tools and cans

Supply the on_refill hook for power tools and cans, to perform appropriate
charging.  This is to be used by unified_inventory's creative-mode
refill slot.
technic/helpers.lua
technic/items.lua
technic/machines/register/battery_box.lua
technic/tools/cans.lua
technic/tools/chainsaw.lua
technic/tools/flashlight.lua
technic/tools/mining_drill.lua
technic/tools/mining_lasers.lua
technic/tools/sonic_screwdriver.lua