summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-14Multiple updates:Cy
1) Refactor autoplace, There was a lot of redundant code and like a dozen unneccessary string scans for every node next to every tube placed! I put it all into indexed tables and loops instead of bizarre and unexplainable variable names and copy and pasted code. There was also no support for notifying a chest when an item has been taken from it by a filter, so I added something for that. I also thought it prudent to fall back on the allow_metadata_inventory_take function should a special can_remove not exist. In fact if can_insert doesn't exist, it calls allow_metadata_inventory_put instead. I also added a thing for allowing pipes to attach to nodes of other modules, without having to hard code type all those node names into autoplace.lua. Basically node.tube.collects(i,param2) and i is the direction from the pipe and param2 is the param2 of what it's pointing at. I also abstracted the inscrutable correlation between i and param2 by trial and error (and the paramwand mod) into understandable functions. There was no pipeworks namespace so I created it, and put these functions into pipeworks.collects (as distinguished from a node.tube.collects function, which uses those functions) And now it's too late to cart my old clothes to the thrift store, dangit. 2) My "node.tube.collects" idea might be redundant with the node.tube.connect_sides thing, though possibly more versatile so I'll leave it in. 3) I was using node.tube.connects and fancy functions for checking if it's the sides or top or whatnot, and this connect_side thing came in. This should make both my way and the way using connect_side work. Also removed some debugging cruft
2013-10-06Better deployer and node breaker mesecons rules.Novatux
2013-10-04tweak readme to mention the correct place for the documentationVanessa Ezekowitz
2013-10-04Moved crafting guide to a separate branch (gh-pages)Vanessa Ezekowitz
2013-10-04fix incorrect usage of after_place_nodeVanessa Ezekowitz
2013-10-04simplify autocrafterCache, remove cache entry on node dig and disable debug ↵chlue
output
2013-10-04clean up formatting a bitVanessa Ezekowitz
2013-10-04Made autocrafter take less CPU/timechlue
2013-09-13Fix hacky_swap_node to not repeatedly swap the same node in over and overPilcrow
2013-08-12Add note about teleporter tubes reserved channels.Uberi
2013-08-07fix nil references in flowing_logic.luaVanessa Ezekowitz
2013-08-06added reserved teleport channelshdastwb
2013-08-05always read default_settings.txt before reading the world-folder's settings fileVanessa Ezekowitz
also close the file after copying.
2013-07-25Merge pull request #49 from hdastwb/notechaliasVanessaE
remove aliases to the technic deployers/node breakers
2013-07-25removed aliases to the technic deployers/node breakershdastwb
2013-07-22oops, technic doesn't need to load first, it depends on pipeworks! duhVanessa Ezekowitz
2013-07-22fix the check for technic for craft recipes, use optional depends toVanessa Ezekowitz
make sure it loads first
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-18add license fileVanessa Ezekowitz
2013-07-15fixed a nil reference (filter code didn't check for unknown nodes)Vanessa Ezekowitz
2013-07-13added ability to disable most components via config file in world folderVanessa Ezekowitz
moved pipes out of init.lua and into a separate file. some minor formatting changes
2013-07-13Merge pull request #47 from hdastwb/mesesandtubeVanessaE
MESE Sand Tubes
2013-07-13added more powerful sand tubes (MESE sand tubes), along with associated ↵hdastwb
crafts, textures, and documentation
2013-07-09Merge pull request #46 from hdastwb/lockedchestVanessaE
Locked chest documentation
2013-07-08Merge pull request #45 from hdastwb/lockedchestVanessaE
Locked chest integration
2013-07-08added locked chests in Overview.htmlhdastwb
2013-07-08added locked chests to autoplace.luahdastwb
2013-07-08added locked chests in compat.luahdastwb
2013-07-04remove a bunch of useless metadata and settingsVanessa Ezekowitz
("pipelike" everywhere, but it isn't used for anything)
2013-07-04got rid of oldpipes.luaVanessa Ezekowitz
2013-07-04rewrite flowing logic a bit to eliminate excessive add_node/remove_node callsVanessa Ezekowitz
also got rid of obsolete optdepends
2013-07-01Fix for older mod versions that used a different alias.Anthony Zhang
2013-07-01optdepends.txt is depecated. switched to ? syntax in depends.txtVanessa Ezekowitz
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-28typo fixVanessa Ezekowitz
2013-06-28Merge pull request #44 from Novatux/simpleVanessaE
Add option to disable cyclic behaviour
2013-06-28Add option to disable cyclic behaviourNovatux
2013-06-28Merge pull request #43 from Novatux/crossingVanessaE
Add crossing tubes
2013-06-28Add crossing tubesNovatux
2013-06-26Added support to autoroute code for technic deployer and nodebreakerVanessa 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-24Update Overview.html with documentation about the node breaker and deployer, ↵Anthony Zhang
plus docuent the fact that tubes only connect to certain sides of certain devices, like injectors and furnaces.
2013-06-24actually, filters should only connect from the right/output side since theyVanessa Ezekowitz
can't actually receive anything from the input side via a tube.
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-23No infinite stacks allowed! Fix the bug where deployers have infinite stacks ↵Anthony Zhang
just like players.
2013-06-23Super duper pipeworks deployer and node breaker updates.Anthony Zhang
2013-06-22minor tweaks to various dofile() calls, moved one from tubes.lua to init.luaVanessa Ezekowitz
2013-06-22minor tweak to allow the register_tube() function to use any arbitraryVanessa Ezekowitz
namespace for the tube instead of forcing it to be pipeworks:
2013-06-21workaround for transported items sometimes just appearing out of nowhereVanessa Ezekowitz
but not being diggable. Made them have a really tiny collision box so they can be pointed at if carefully done