Commit Graph

15 Commits

Author SHA1 Message Date
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 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 50359104c7 Use mesh nodes for all nodebox-based pipe-related nodes 2015-01-15 06:25:41 -05:00
Vanessa Ezekowitz 5f393d0545 fix pipes not becoming empty when pump is turned off 2014-01-01 13:56:13 -05:00
Vanessa Ezekowitz 501aac7543 fix wield image of pipes
give legacy compat pipes inventory images
alias them to real pipes on place
fix flicker when placing them
2014-01-01 13:34:30 -05:00
Vanessa Ezekowitz 82f5ba09fe fix tube and pipe drops 2014-01-01 13:26:25 -05:00
Vanessa Ezekowitz f700aa8531 fix pipe inventory images 2014-01-01 13:21:40 -05:00
Vanessa Ezekowitz ddfc8173ac always check for CONTENT_IGNORE around a pipe/tube before converting it 2014-01-01 12:26:33 -05:00
Novatux 394c2f6ea6 Fix conversion 2014-01-01 18:04:45 +01:00
Novatux 4895aa6a0c Use 6d for pipes too 2014-01-01 17:40:22 +01:00
Vanessa Ezekowitz 072f78a360 local-ize yet a few more variables 2013-12-15 06:00:04 -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 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