Zefram
2014-04-30 00d7c9bdead4d77f0ca88036eda44b8cce6cca34
refs
author Zefram <zefram@fysh.org>
Wednesday, April 30, 2014 11:49 +0200
committer Zefram <zefram@fysh.org>
Wednesday, April 30, 2014 11:49 +0200
commit00d7c9bdead4d77f0ca88036eda44b8cce6cca34
tree c49a78b012819580d2c786b0ffc7058fb6a9e6e7 tree | zip | gz
parent 0294fc8f3a9772ab292c7e40d489e760b666516e view | diff
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.
9 files modified
34 ■■■■■ changed files
technic/helpers.lua 11 ●●●●● diff | view | raw | blame | history
technic/items.lua 3 ●●●●● diff | view | raw | blame | history
technic/machines/register/battery_box.lua 1 ●●●● diff | view | raw | blame | history
technic/tools/cans.lua 10 ●●●●● diff | view | raw | blame | history
technic/tools/chainsaw.lua 1 ●●●● diff | view | raw | blame | history
technic/tools/flashlight.lua 1 ●●●● diff | view | raw | blame | history
technic/tools/mining_drill.lua 5 ●●●●● diff | view | raw | blame | history
technic/tools/mining_lasers.lua 1 ●●●● diff | view | raw | blame | history
technic/tools/sonic_screwdriver.lua 1 ●●●● diff | view | raw | blame | history