Vanessa Ezekowitz
659b4e42b2
local-ize a few more variables, move all of the nodebox models
...
into their own file and confine them and pretty much everything
else to the pipeworks.{} table (still global though). More to
come.
2013-12-15 04:35:59 -05:00
Vanessa Ezekowitz
bd80f18cfc
local-ize pretty muchg everything that was previously global except where
...
stuff needs to be globally-visible. Also, fix a bad drop on valve.
2013-12-15 02:53:10 -05:00
Vanessa Ezekowitz
29da8992ec
More sanity checks on the nodeside() function, courtesy ShadowNinja
2013-12-10 21:41:15 -05:00
Vanessa Ezekowitz
e4a7af5858
Better way to catch that incoming nil, return a real value on the way out
2013-12-10 21:18:29 -05:00
Vanessa Ezekowitz
ebfa12205a
Revert "catch nil return from facedir_to_dir() in tube autoplace code"
...
This reverts commit 4f9c7a43c9
.
2013-12-10 21:16:33 -05:00
Vanessa Ezekowitz
4f9c7a43c9
catch nil return from facedir_to_dir() in tube autoplace code
2013-12-10 21:09:38 -05:00
Vanessa Ezekowitz
713cf01585
limit tube autoconnect checking to only run if tube.connect_sides
...
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-26 00:46:36 -05:00
Vanessa Ezekowitz
bd1d8bbd86
Make the tube_connects={} method work properly for technic devices.
...
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-26 00:26:38 -05:00
Vanessa Ezekowitz
bf7993b802
get rid of some extraneous print statements
2013-11-25 23:59:52 -05:00
Vanessa Ezekowitz
7289bfcfba
Split pipe and tube autorouting functions into separate files.
2013-11-25 23:55:52 -05:00