1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-28 03:40:25 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
thetaepsilon-gamedev
894ea5174f move new flow logic flag to dedicated toggles table 2017-10-03 20:38:56 +01:00
thetaepsilon-gamedev
df3d54f58a move flowable registration for flow sensor to devices.lua near node definition 2017-10-01 18:34:55 +01:00
thetaepsilon-gamedev
de44593b41 move flowable registration for airtight entry panel to devices.lua near node definition 2017-10-01 18:30:32 +01:00
thetaepsilon-gamedev
a1fc493de1 migrate flowable registration for valve nodes to devices.lua 2017-10-01 18:05:44 +01:00
thetaepsilon-gamedev
e6b55028fc move pump flow logic registration to devices.lua 2017-10-01 17:36:03 +01:00
thetaepsilon-gamedev
0fb0eab723 move pipe node registration for new flow logic closer to their definition in pipes.lua 2017-10-01 16:54:24 +01:00
thetaepsilon-gamedev
69133818f7 pipes.lua: split out new flow logic registration and make it respect feature toggles 2017-09-27 17:01:46 +01:00
thetaepsilon-gamedev
67350b55bb pipes.lua: wire up pump intake ABM and add pumps to balancing logic 2017-09-27 16:20:07 +01:00
thetaepsilon-gamedev
59ac978093 pipes.lua: place old ABM code registration behind if-guard for new flag 2017-09-27 15:19:20 +01:00
thetaepsilon-gamedev
f82570f580 initial stub patches to re-implement new_flow_logic 2017-09-27 14:14:33 +01:00
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