1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-27 03:10:24 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
thetaepsilon-gamedev
cd9102cef1 wielder.lua: add LBM to refund mese picks for pre-transition node breakers 2017-10-14 20:00:46 +01:00
thetaepsilon-gamedev
eefcbc1e86 wielder.lua: can_tool_dig_node(): try falling back to hand if inserted tool can't break node 2017-10-14 19:29:33 +01:00
thetaepsilon-gamedev
47ba123113 wielder.lua: change node breaker recipe to use gear items 2017-10-14 19:17:03 +01:00
thetaepsilon-gamedev
4915b2564f wielder.lua: properly implement can_tool_dig_node() 2017-10-14 19:04:51 +01:00
thetaepsilon-gamedev
f8cb55a60e wielder.lua: set default ghost tool for node breaker to the hand, add stub implementation of can_tool_dig_node() to check if set tool can dig node 2017-10-14 18:51:57 +01:00
Thomas--S
cf93eca017 Replace old nodeupdate() with new minetest.check_for_falling() (#200)
Otherwise pipeworks crashes on 0.5.0-dev.

This is not tested, but should work.
2017-09-25 23:55:11 -04:00
Tim
4fdf73fbcd add list rings to pipework inventories 2016-08-29 18:28:43 +02:00
Thomas--S
af2c3778fe removed hud_change from TODO 2015-09-26 09:18:42 +02:00
Thomas--S
7e61d38ef5 Fixed typo
Changed hud_channge to hud_change
2015-09-26 09:02:41 +02:00
est31
bb4a1756ff "Implement" two further functions for fake player
Implement two functions for fake player used by the hunger mod.
Also, add a list of functions to be implemented for an overview.
2015-09-25 03:27:57 +02:00
Vanessa Ezekowitz
5822f60ba9 fix deprecated time_images use 2015-04-26 18:46:00 -04:00
Tim
d167aacf4d add ownership/protection handling for device configuration
take any available ownership into account before deciding on area protection
2015-03-11 19:36:41 +01:00
Tim
e8ab36a2c9 document wielder pointed_thing problems and revert "fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds"
This reverts commit 6e2f1fcd635398387a49911a996ccaba65bffdd3.
2015-03-04 22:17:36 -05:00
Tim
ac4f761919 fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds 2015-03-04 22:17:36 -05:00
Tim
efe2af2d20 let the requested wielditem be the actual current wielditem and not just the initialized one
clean up some code to make a few lesser calls to it
2015-02-04 13:01:55 +01:00
Zefram
7915e7f51e Rename tube_item() to tube_inject_item()
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-15 13:24:52 +02:00
Novatux
8cc2ecb55f Fix wielder 2014-08-14 22:10:39 +02:00
Zefram
a9866aa5d5 Node breaker fixup for ones lacking pick slot
This has been seen on Vanessa's server, and caused the wielding code
to crash.
2014-08-09 10:57:43 -04:00
Zefram
7cf5e3cfb9 Refactor node breaker
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-23 09:50:50 -04:00
Zefram
46d44eebcf Refactor deployer and dispenser
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.
2014-07-23 09:50:50 -04:00