Vanessa Ezekowitz
64b2611d8a
prevent being able to place "loaded" and "on" items
...
(forces them to "empty" and "off")
2017-03-17 11:04:59 -04:00
Vanessa Ezekowitz
e5ee0dee90
add turn-to-vertical handling to valve, flow sensor
...
reuse the code from entry panel
2017-03-17 10:07:34 -04:00
Vanessa Ezekowitz
88ad79163d
add screwdriver rotation handling on most pipes-related nodes
...
caveats: in order to cleanly handle the entry panel, valve, and sensor
I had to rotate the valve and sensor models 90 degrees
so that their in-/outlet pipes point the same direction as the
entry panel.
This also enables proper handling of a valve or sensor turned vertically.
Some objects have rotation disabled entirely (as flipping them over/around makes
no sense)
When a valve is rotated, it is turned off automatically, to work around a glitch in
the rotation code.
2017-03-17 10:07:34 -04:00
Vanessa Ezekowitz
bd4a27d172
make valve and pump turn on/off via on_rightclick
...
(instead of on_punch)
2017-03-17 10:07:34 -04:00
Auke Kok
66cfc745e1
Squelch a warning if no mesecons.
2016-04-14 22:24:43 -07:00
Vanessa Ezekowitz
f80dec1220
drop direct support for dedicated protection mods
...
just use minetest's standard protection functions instead
(leave it up to those protection mods to do their job properly)
2015-03-23 17:40:00 -04:00
Vanessa Ezekowitz
c4aa351fa0
add missing alias for entry panel
...
side effect left over from new_flow_logic tests
2015-03-12 10:21:55 -04:00
Vanessa Ezekowitz
dad386b564
use animated water for pouring spigot
...
also remove a couple of extranous .mtl files and a redundant spigot texture
2015-01-16 04:38:17 -05:00
Vanessa Ezekowitz
50359104c7
Use mesh nodes for all nodebox-based pipe-related nodes
2015-01-15 06:25:41 -05:00
Vanessa Ezekowitz
28cef5e82f
update to use current mesecons API
...
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
2014-11-22 13:55:54 -05:00
Zefram
a7cd0e3ddb
Fix drops for storage tanks
2014-07-02 21:40:36 -04:00
Vanessa Ezekowitz
e1435b1c2f
fix a missed function name (due to being renamed)
2013-12-21 03:38:08 -05:00
Vanessa Ezekowitz
784634f0da
local-ize a couple more variables
2013-12-21 03:35:39 -05:00
Vanessa Ezekowitz
f57443e96f
mesecons_rules must be global. made so, confined to pipeworks.{} table.
2013-12-21 03:33:06 -05:00
Vanessa Ezekowitz
2481c06bf0
fix incorrect variable name
2013-12-15 05:26:39 -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
3dfe770272
Phased out old register_on_punchnode() calls in favor of per-node on_punch
...
callbacks. Got rid of all the old backward-compat device aliases.
2013-11-28 02:33:31 -05:00
Vanessa Ezekowitz
bf7993b802
get rid of some extraneous print statements
2013-11-25 23:59:52 -05:00
Vanessa Ezekowitz
1c7f2722d6
fix non-working water flow sensor, add proper side texture for it
2013-11-09 13:21:19 -05:00
Vanessa Ezekowitz
3d19cca557
Add fountainhead (vertical spigot, basically).
2013-10-27 22:38:19 -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
Vanessa Ezekowitz
2f843fdd76
remove a bunch of useless metadata and settings
...
("pipelike" everywhere, but it isn't used for anything)
2013-07-04 03:12:45 -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
5bf21e553e
more minor lighting/texture tweaks
2013-06-09 19:19:28 -04:00
Vanessa Ezekowitz
807fae1943
Made spigot animated, so the water actually looks like it's pouring
2013-06-09 18:37:35 -04:00
Vanessa Ezekowitz
a6cbee38ec
added sunlight_propagates=true to most devices to fix lighting issues
...
adjusted size of spigot "pouring" segment.
2013-06-09 18:29:08 -04:00
Vanessa Ezekowitz
b68a66ef4a
Add vertical version of airtight pipe entry
...
if automatically rotates to connect to the thing you point at, if a connection
is possible.
2013-06-08 01:00:49 -04:00
Vanessa Ezekowitz
d4dddc41ec
add flow sensor. Sends mesecons signal when water is flowing through it.
2013-05-10 18:28:57 -04:00
Vanessa Ezekowitz
509fac3845
Make pumps and valves respond to mesecons signals
2013-05-10 17:44:26 -04:00
Vanessa Ezekowitz
9231f9fa01
made valves and airtight entry panels work.
...
Removed "flowing" spigot from creative inventory.
2013-05-10 17:28:11 -04:00
Anthony
1eaa8b0dbd
Add inventory images for devices.
2013-03-18 22:58:39 -03:00
Vanessa Ezekowitz
3a7b9fa31c
Added a little stub to the bottom of the spigot, showing the water texture,
...
so that when a spigot is flowing, it looks like water is actually pouring out
of it.
2013-01-14 14:34:55 -05:00
Vanessa Ezekowitz
14102d7c3a
made storage tanks connect from top/bottom, made storage tank and pipe
...
textures use the ^ combine operator so they can show the actual liquid going
through the pipes/tanks.
2013-01-05 21:14:09 -05:00
Vanessa Ezekowitz
6419ecb117
First stage of integrating Mauvebic's water flowing code. This is experimental
...
and doesn't move water yet - but at least it doesn't break anything :-)
2013-01-04 00:15:23 -05:00
Vanessa Ezekowitz
ae5a283685
Minor tweak to fix a bug in the spigot texture ordering
2013-01-01 22:44:30 -05:00
Vanessa Ezekowitz
dc5617db89
changed default orientation of spigot to make it easier to place.
2013-01-01 18:00:16 -05:00
Vanessa Ezekowitz
1a562d23a8
added a "sealed" entry/exit panel (really just a horizontal pipe with a metal
...
panel overlayed into the middle). Also, tweaked pipes to always drop the
empty ones.
2013-01-01 16:30:21 -05:00
Vanessa Ezekowitz
6cca6f9857
revamped pumps so that now they should sit in/on liquid and be connected only
...
from the top, relegated grates to decorational-only, added outlet spigot. Got
rid of a few obsolete textures. Got rid of that whole _x and _z naming thing,
now all directional devices (pumps, valves, spigots, tanks) use facedir.
Valves, spigots no longer auto-rotate to find nearby pipes.
2013-01-01 16:04:05 -05: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
4597b1b59a
Added "expansion tank" that appears if the user stacks tanks upwards.
...
(Downwards is not checked).
2012-08-22 09:56:45 -04:00
Vanessa Ezekowitz
c66afa0608
tweak storgae tank descriptions to read "empty" on 0% full.
2012-08-22 08:32:20 -04:00
Vanessa Ezekowitz
70ea341bf5
Extended storage tank to show fill level in 10% steps (0% to 100%).
2012-08-22 08:24:42 -04:00
Vanessa Ezekowitz
a66d9a8564
Added outlet grate, made it participate in autoplace algorithm.
2012-08-22 03:43:38 -04:00
Vanessa Ezekowitz
564abfe45a
Made storage tank participate in autoplace algorithm. Tuned API a
...
little to allow for more flexible placement.
2012-08-21 13:52:25 -04:00
Vanessa Ezekowitz
e103143ea7
fix crash where I forgot to actually index the metadata elements I added to
...
the valves' on-punch-node functions
2012-08-21 05:20:47 -04:00
Vanessa Ezekowitz
4b0b137f94
Added some metadata to the valve, grate, storage tank to make flow calculation
...
easier. Ask RealBadAngel about it :-)
2012-08-20 03:46:24 -04:00
Vanessa Ezekowitz
c1dffa70f0
fixed wrong veriable in creative inventory filter
2012-08-20 03:38:38 -04:00
Vanessa Ezekowitz
a38ef007c2
added "back" texture to pump.
2012-08-20 03:35:49 -04:00
Vanessa Ezekowitz
6f805e6396
added intake grate and storage tanks in two versions (with fittings on +/- X
...
and +/- Z respectively)
2012-08-20 01:49:01 -04:00