summaryrefslogtreecommitdiff
path: root/node_breaker.lua
AgeCommit message (Collapse)Author
2014-07-21Let stack of projectiles diminish in node breakerZefram
The logic that prevents mechanically wearing a tool was also preventing the diminution of a stack of items to use, such as a stack of snowballs. Restrict the use of pickcopy to the case where the stack still has the same item type, count, and metadata.
2014-07-14Set infotext for node breakersZefram
As node breakers now have a form, they should also have infotext to draw attention to it, as do most form-containing nodes.
2014-07-14Don't spill an extra pick from old node breakersZefram
Due to historical shenanigans around the addition of the pick slot to node breakers, some breakers that were placed before the addition have ended up with a mese pick in their newly-acquired pick slot, rather than in the ghost_pick slot where it belongs. This causes these breakers to spill this ghost pick when they are broken. To avoid this, make pick spilling conditional on the breaker having a formspec: pre-slot breakers don't have one.
2014-07-02Don't wear tools out in nodebreaker if it's mechanical wear (tools which are ↵Novatux
repaired by the tool workshop of technic)
2014-06-21Fix crash with legacy nodebreakersNovatux
2014-06-08Try to fix old node breakers dropping itemsNovatux
2014-06-08Support for detection of pipeworks fake players by other mods (item drop, etc.)Novatux
2014-05-25Fix #66Novatux
2014-05-18BugfixNovatux
2014-05-18Much better node breaker, own contents of deployer too (but still allow IO ↵Novatux
with tubes)
2013-12-21Fix node breaker, use new minetest.swap_nodeNovatux
2013-12-21rules_all has to be global. made it so, confined to pipeworks.{} tableVanessa Ezekowitz
2013-12-15tube_item has to be global. confined it to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15local-ize pretty muchg everything that was previously global except whereVanessa Ezekowitz
stuff needs to be globally-visible. Also, fix a bad drop on valve.
2013-12-10catch a similar nil condition in the node breakerVanessa Ezekowitz
2013-11-26Make the tube_connects={} method work properly for technic devices.Vanessa Ezekowitz
Also phase out "old new" API, leaving only the "tube_connects={}" method, as nothing in technic or pipeworks uses it. Fix a few more places where minetest.facedir_to_dir() was duplicated, since that code is part of Minetest 0.4.8.
2013-10-30Fix node breaker crash.Novatux
2013-10-24Make nodebreaker and deployer use wood group instead of default woodVanessa Ezekowitz
2013-10-06Better deployer and node breaker mesecons rules.Novatux
2013-09-13Fix hacky_swap_node to not repeatedly swap the same node in over and overPilcrow
2013-07-25removed aliases to the technic deployers/node breakershdastwb
2013-07-19added support for 6d facedir for all tube components, changed autoplace.lua ↵hdastwb
to follow tubes.connect_sides rather than having each component coded individually, and added support for placing deployers and node breakers facing vertically
2013-07-01Fix for older mod versions that used a different alias.Anthony Zhang
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-24Node breakers now make sure the node is actually diggable before digging ↵Anthony Zhang
(implements the functionality of `minetest.node_dig`). Now can dig working mesecons and can't dig locked chests or other indestructable nodes.
2013-06-23rewrote autoplacement code to make it more aware of filters,Vanessa Ezekowitz
autocrafter, nodebreaker, deployer, and made sure each item will only initiate a connection to those sides which can accept such. Fixed various autorouting bugs as I ran across them. Autorouting for various devices is now: filters: left and right sides only nodebreaker, deployer: back only autocrafter: all six sides chests: top, bottom, left, right, back (not front) furnace: bottom, left, right, back (not the top or front)
2013-06-23Whoops, tubes ought to connect to deployers!Anthony Zhang
2013-06-23Super duper pipeworks deployer and node breaker updates.Anthony Zhang
2013-01-31Removed node breaker and deployer. These belong in technic, not pipeworks.Vanessa Ezekowitz
Added aliases to avoid unknown nodes/map breakage. Old code has been moved into pipeworks/attic/
2013-01-20Changed the name of some textures for naming conventions. Added deployer and ↵Novatux
node breaker (most of the code is from Technic, the textures too).