Commit Graph

7 Commits

Author SHA1 Message Date
est31 c38da0945c Optimize quarry_run
Don't load the whole digging area when only a small piece is relevant.
Also, move the (time expensive) check whether the air above a block is free to the last position, which spares unneccessary checks when multiple quarries are placed together, or a quarry has to loop over air for another reason.
2015-01-24 19:40:02 +01:00
ShadowNinja 7d5edcf23e Remove swap_node compatability code 2014-07-21 00:40:53 -04:00
RealBadAngel 0e6b3ce86b Add snippet to check if function exists. 2014-07-03 17:40:06 +02:00
Zefram 00d7c9bdea 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.
2014-04-30 10:49:54 +01:00
ShadowNinja 5cf765b2f1 Localize most variables 2013-12-17 13:56:37 -05:00
ShadowNinja f3d8b47b20 Add support for minetest.swap_node 2013-12-10 20:14:39 -05:00
RealBadAngel e23f87d20c Reworked power tools, new drills 2013-02-21 22:01:49 +01:00