summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-15notvel function can't be local - made global and confined to pipeworks.{}Vanessa Ezekowitz
2013-12-15tube_item has to be global. confined it to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15local-ize one last varVanessa Ezekowitz
2013-12-15local-ize a few more variablesVanessa Ezekowitz
2013-12-15local-ize yet a few more variablesVanessa Ezekowitz
2013-12-15local-ize a few more variables and functionsVanessa Ezekowitz
2013-12-15get rid of an excess print() callVanessa Ezekowitz
2013-12-15local-ize a few more functionsVanessa Ezekowitz
2013-12-15fix incorrect variable nameVanessa Ezekowitz
2013-12-15default settings have to be global or pipeworks can't see themVanessa Ezekowitz
(duh!) confined them to pipeworks.{} table.
2013-12-15local-ize a few more variables, move all of the nodebox modelsVanessa Ezekowitz
into their own file and confine them and pretty much everything else to the pipeworks.{} table (still global though). More to come.
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-12-10More sanity checks on the nodeside() function, courtesy ShadowNinjaVanessa Ezekowitz
2013-12-10Better way to catch that incoming nil, return a real value on the way outVanessa Ezekowitz
2013-12-10Revert "catch nil return from facedir_to_dir() in tube autoplace code"Vanessa Ezekowitz
This reverts commit 4f9c7a43c9f1f0ab3286c755c49bd8d2951b4dc8.
2013-12-10catch nil return from facedir_to_dir() in tube autoplace codeVanessa Ezekowitz
2013-12-03add "metallic" tube connection image for other mods to useVanessa Ezekowitz
2013-12-02make the tube connection images for furnaces/chests into overlaysVanessa Ezekowitz
also don't redefine furnace top - tubes don't connect there anyways
2013-11-28Phased out old register_on_punchnode() calls in favor of per-node on_punchVanessa Ezekowitz
callbacks. Got rid of all the old backward-compat device aliases.
2013-11-28Removed code that detects technic and disables default recipes.Vanessa Ezekowitz
Made tubes and conductor tubes more expensive (yield 6 instead of 12).
2013-11-27Add recipes for fountainhead and one-way tubeVanessa Ezekowitz
2013-11-26limit tube autoconnect checking to only run if tube.connect_sidesVanessa Ezekowitz
is defined for a particular node (rather than the whole tube table). Also, tweak wording of an error message to account for line numbering changes.
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-11-25get rid of some extraneous print statementsVanessa Ezekowitz
2013-11-25Split pipe and tube autorouting functions into separate files.Vanessa Ezekowitz
2013-11-19fix bad lighting on one-way tubeVanessa Ezekowitz
2013-11-14stop leaking clone_node() function outside of pipeworks namespaceVanessa Ezekowitz
2013-11-09fix non-working water flow sensor, add proper side texture for itVanessa Ezekowitz
2013-10-30Fix node breaker crash.Novatux
2013-10-30Fix autocrafter not taking enough items if number of needed items of a kind ↵Novatux
> stack max for that item.
2013-10-29make worldpath and modpath pipeworks-namespace-specific and globalVanessa Ezekowitz
2013-10-27Add fountainhead (vertical spigot, basically).Vanessa Ezekowitz
2013-10-24Make nodebreaker and deployer use wood group instead of default woodVanessa Ezekowitz
2013-10-24Fix for player heightNovatux
2013-10-24Complete fake player for deployerNovatux
2013-10-21Fix crossing tube and one way tube.Novatux
2013-10-21FiX CYCLIC option being ignored.Novatux
2013-10-20Merge branch 'master' of github.com:VanessaE/pipeworksVanessa Ezekowitz
2013-10-20Furnace and chest textures now have pipeworks-specific names to allowVanessa Ezekowitz
for texture packs to cover them. Also, added proper top and bottom textures for both.
2013-10-19Add one way tubeNovatux
2013-10-15Check for on_metadata_inventory_takeCy
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