Pipeworks is a mod for Minetest allowing the crafting and usage of pipes and tubes
Go to file
Vanessa Ezekowitz 0a1f90c391 Made pipes able to carry water!
It was just a minor logic error resulting from moving the water flowing code
into it's own file when I originally imported it.  Many thanks to Mauvebic for
writing it!
2013-01-04 01:34:25 -05:00
textures revamped pumps so that now they should sit in/on liquid and be connected only 2013-01-01 16:04:05 -05:00
.gitignore added .gitignore for temp Kate files, added depends.txt for "default" 2012-07-14 02:51:26 +04:00
autoplace.lua minor spacing tweaks, nothing functional 2013-01-04 01:12:39 -05:00
changelog.txt Added pneumatic tubes with their own autoplace code (does not connect to 2012-08-24 13:39:29 -04:00
crafts.lua Changed crafting recipes to account for revamped pumps, valves, etc. Now 2013-01-01 17:04:39 -05:00
depends.txt added .gitignore for temp Kate files, added depends.txt for "default" 2012-07-14 02:51:26 +04:00
devices.lua First stage of integrating Mauvebic's water flowing code. This is experimental 2013-01-04 00:15:23 -05:00
flowing_logic.lua Made pipes able to carry water! 2013-01-04 01:34:25 -05:00
init.lua Made pipes able to carry water! 2013-01-04 01:34:25 -05:00
oldpipes.lua old pipes were overridind the pipeworks:pipe defintion that belongs with the 2012-08-24 10:31:18 -04:00
README changelog, readme tweaks. 2012-08-19 02:06:46 -04:00
tubes.lua fixed typo, pneumatic test [ojbect -> object] 2013-01-02 13:16:25 -05:00

This simple mod uses nodeboxes to supply a complete set of 3D flanged pipes, 
along with "valve" and "pump" devices.

Unlike the previous version of this mod, these pipes are rounded, and when 
placed, they'll automatically join together as needed.  Pipes can go vertically 
or horizontally, and there are enough nodes defined to allow for all possible 
connections.  Valves and pumps can only be placed horizontally, and will 
automatically rotate and join with neighboring pipes as objects are added, as 
well as joining with each other under certain circumstances.

Pipes come in two variants: one type bears one or more dark windows on each 
pipe, suggesting they're empty, while the other type bears green-tinted 
windows, as if full (the two colors should also be easy to select if you want 
to change them in a paint program).  These windows only appear on straight 
lengths and on certain junctions.

There are no crafting recipes, yet, but you can use /giveme as usual, namely 
"/giveme pipeworks:pipe 999" or so, and then place them as needed.  See 
init.lua for more details.

This mod is intended to be used as a basis or at least as sort of a model for 
something else to build on (perhaps a nicer-looking oil mod?), and does not 
provide any of the code necessary to cause anything to flow through them.  Like 
the pipes, the valve and pump don't do anything useful yet, but you can punch 
them to turn them "on" and "off".  Note that the valve and pump textures and 
shapes are not yet complete (hence their boxy appearance).

This mod is a work in progress.

Please note that owing to the nature of this mod, I have opted to use 64px 
textures.  Anything less just looks terrible.

If you don't need the old node names from the previous version of this mod, 
edit init.lua and comment-out the 'dofile' line at the top.