summaryrefslogtreecommitdiff
path: root/wielder.lua
AgeCommit message (Collapse)Author
2020-05-26Prevent node breaker from digging all nodesupsilon
A small mistake in the code allowed the node breaker to dig any node using any tool, including hand.
2020-02-18Add translation supportLouis Royer
- Created `locale/template.txt` - Fixed some typos - Replace some `print("[pipeworks]"..` with `pipeworks.logger()` - Removed "You hacker, you" from descriptions
2018-09-17Add on-rotate to chests, furnaces, filter-injector, dispenser, deployer, and ↵12Me21
node breaker
2018-08-01Add node breaker sounds (#219)HybridDog
Also, disallow node breakers to dig unknown nodes and a bit whitespace fix
2018-07-13Add pipeworks.create_fake_playerSmallJoker
Fix setter issue, add dynamic/static option Add player height. Properties aren't adaptive yet
2018-07-03Replace deprecated Lua function callsSmallJoker
2018-05-11Merge pull request #213 from Thomas--S/lookVanessa Dannenberg
Add new `get_look_horizontal()` and `get_look_vertical()` to fake player
2018-04-15wielder.lua: fix crash in can_tool_dig_node() when unknown nodes are looked upthetaepsilon-gamedev
2018-03-26Add new `get_look_horizontal()` and `get_look_vertical()` to fake playerThomas--S
See minetest/minetest@fa0bbbf96df17f0d7911274ea85e5c049c20d07b
2017-10-14wielder.lua: add LBM to refund mese picks for pre-transition node breakersthetaepsilon-gamedev
2017-10-14wielder.lua: can_tool_dig_node(): try falling back to hand if inserted tool ↵thetaepsilon-gamedev
can't break node
2017-10-14wielder.lua: change node breaker recipe to use gear itemsthetaepsilon-gamedev
2017-10-14wielder.lua: properly implement can_tool_dig_node()thetaepsilon-gamedev
2017-10-14wielder.lua: set default ghost tool for node breaker to the hand, add stub ↵thetaepsilon-gamedev
implementation of can_tool_dig_node() to check if set tool can dig node
2017-09-25Replace old nodeupdate() with new minetest.check_for_falling() (#200)Thomas--S
Otherwise pipeworks crashes on 0.5.0-dev. This is not tested, but should work.
2016-08-29add list rings to pipework inventoriesTim
2015-09-26removed hud_change from TODOThomas--S
2015-09-26Fixed typoThomas--S
Changed hud_channge to hud_change
2015-09-25"Implement" two further functions for fake playerest31
Implement two functions for fake player used by the hunger mod. Also, add a list of functions to be implemented for an overview.
2015-04-26fix deprecated time_images useVanessa Ezekowitz
2015-03-11add ownership/protection handling for device configurationTim
take any available ownership into account before deciding on area protection
2015-03-04document wielder pointed_thing problems and revert "fix wielder mixing up ↵Tim
above and under, which had for example an effect on the deployer trying to place seeds" This reverts commit 6e2f1fcd635398387a49911a996ccaba65bffdd3.
2015-03-04fix wielder mixing up above and under, which had for example an effect on ↵Tim
the deployer trying to place seeds
2015-02-04let the requested wielditem be the actual current wielditem and not just the ↵Tim
initialized one clean up some code to make a few lesser calls to it
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.