summaryrefslogtreecommitdiff
path: root/wielder.lua
AgeCommit message (Collapse)Author
2014-08-15Rename tube_item() to tube_inject_item()Zefram
The new function has no API compatibility with the old one, so give it a different name to avoid confusion among caller mods, which need to change their usage. Have a function under the old name that outputs a helpful error message.
2014-08-14Fix wielderNovatux
2014-08-09Node breaker fixup for ones lacking pick slotZefram
This has been seen on Vanessa's server, and caused the wielding code to crash.
2014-07-23Refactor node breakerZefram
Merge node breaker into the generic wielder mechanism. Center the wield inventory in all wielders' formspecs. Implement full auto-upgrade of legacy node breakers, occurring upon use or punching of the node breaker. Make node breaker respect on_dig hooks.
2014-07-23Refactor deployer and dispenserZefram
Merge implementations into a single "wielder" mechanism. Clean up the code a bit. Fix get_player_control_bits for the dispenser (it wasn't indicating the sneak setting). Fix drops for dispenser (dispenser_on was dropping as itself). Show item image, as well as name, at head of form.