Commit Graph

11 Commits

Author SHA1 Message Date
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