Commit Graph

6 Commits

Author SHA1 Message Date
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