Commit Graph

39 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
a4a74413c0 tube_item has to be global. confined it to pipeworks.{} table. 2013-12-15 14:41:03 -05:00
Vanessa Ezekowitz
c0ce62dacf local-ize a few more variables and functions 2013-12-15 05:53:11 -05:00
Vanessa Ezekowitz
d099b9f8f0 get rid of an excess print() call 2013-12-15 05:46:39 -05:00
Vanessa Ezekowitz
eabced6976 default settings have to be global or pipeworks can't see them
(duh!)  confined them to pipeworks.{} table.
2013-12-15 04:43:13 -05:00
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
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
d3825b6db6 fix bad lighting on one-way tube 2013-11-19 13:10:35 -05:00
Novatux
12eb772d18 Fix crossing tube and one way tube. 2013-10-21 11:34:10 +02:00
Novatux
3c8266d3ee Add one way tube 2013-10-19 15:34:04 +02:00
hdastwb
ec416df794 added support for 6d facedir for all tube components, changed autoplace.lua 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-19 19:16:26 -04:00
Vanessa Ezekowitz
c0af957167 added ability to disable most components via config file in world folder
moved pipes out of init.lua and into a separate file.
some minor formatting changes
2013-07-13 22:39:25 -04:00
hdastwb
31680fcf80 added more powerful sand tubes (MESE sand tubes), along with associated crafts, textures, and documentation 2013-07-13 21:16:44 -04:00
Vanessa Ezekowitz
17ee4f6aab Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
4a88ed096d typo fix 2013-06-28 09:26:46 -04:00
Novatux
6ca5da4c3a Add crossing tubes 2013-06-28 15:03:24 +02:00
Vanessa Ezekowitz
47b6c25abe minor tweaks to various dofile() calls, moved one from tubes.lua to init.lua 2013-06-22 17:51:57 -04:00
Vanessa Ezekowitz
00e6d148d5 minor tweak to allow the register_tube() function to use any arbitrary
namespace for the tube instead of forcing it to be pipeworks:
2013-06-22 15:08:05 -04:00
Vanessa Ezekowitz
ada718fc42 Added appropriate textures for mesecon conductor tubes 2013-06-16 09:36:49 -04:00
Novatux
d373742752 Fix bug with sand tubes 2013-06-02 20:36:27 +02:00
VanessaE
3788437c91 Merge pull request #28 from Novatux/master
Fix conductive tube drop.
2013-04-12 11:02:02 -07:00
Novatux
33e3d76cec Fix conductive tube drop. 2013-04-12 19:55:39 +02:00
VanessaE
03588a64c2 Merge pull request #27 from Novatux/master
Add conductor tubes.
2013-04-11 12:28:13 -07:00
Novatux
8cd0861484 Add conductor tubes (no crafting recipe or texture for now). 2013-04-11 20:00:34 +02:00
Anthony
6889ab0419 Add inventory images for tubes. 2013-03-18 23:01:09 -03:00
Novatux
e97d42e20d Bugfix 2013-02-07 17:21:35 +01:00
Novatux
4da23ce736 Fixed a bug with mese tubes not correctly distributing the items. 2013-01-23 18:55:41 +01:00
Novatux
c03414dc9d Added textures for sand and accelerator tubes, added crafting recipe for sand tube. 2013-01-20 19:06:40 +01:00
Novatux
fe0fd68601 Changed the name of some textures for naming conventions. Added deployer and node breaker (most of the code is from Technic, the textures too). 2013-01-20 17:53:17 +01:00
Novatux
1657f7cb7b Added sand tubes, which take nearby items. 2013-01-20 17:29:11 +01:00
Novatux
5edb7a61a3 Changed mese tubes: you can now choose if items should not go in a direction. 2013-01-19 19:11:28 +01:00
Novatux
aea0207b7f Added accelrator and teleport pipes 2013-01-19 13:14:41 +01:00
Novatux
143aa0ee04 Added detector tube 2013-01-17 19:49:27 +01:00
Novatux
78d183011e Added a function to register tubes.
Added the mese pipe.
2013-01-16 20:16:14 +01:00
Vanessa Ezekowitz
70d8e92aff fixed typo, pneumatic test [ojbect -> object] 2013-01-02 13:16:25 -05:00
Vanessa Ezekowitz
2efaa35700 Added test object for pneumatic tube autorouting code, made tubes connect to
it and any object that bears groups={tubedevice=1} (connects to any side)
2012-09-17 12:32:47 -04:00
Vanessa Ezekowitz
c47d6b02df Added crafting recipes for various objects, with options: If homedecor is
installed, use the plastic sheeting therein.  If not, we define it manually.
If the Technic mod is installed, don't define any recipes at all.  Also removed
the extra "loaded!" messages and tweaked the default pipe alias to point to
something that is actually visible :-)
2012-09-02 12:55:14 -04:00
Vanessa Ezekowitz
ccf696748d flattened wielded pipe segment. 2012-09-01 18:37:19 -04:00
Vanessa Ezekowitz
4a834d17b2 Added pneumatic tubes with their own autoplace code (does not connect to
steel pipes).  Fixed a recursion bug that sometimes caused a stack overflow.
2012-08-24 13:39:29 -04:00