summaryrefslogtreecommitdiff
path: root/devices.lua
AgeCommit message (Collapse)Author
2017-10-07devices.lua: raise maximum pressure for pumpsthetaepsilon-gamedev
2017-10-07new flow logic: flowable_node_registry_install.lua: separate pressure ↵thetaepsilon-gamedev
threshold into upper and lower hysteresis values
2017-10-07devices.lua: factor out usage of flowlogic helper into dedicated registry ↵thetaepsilon-gamedev
function
2017-10-01new flow logic: abms.lua: rename neighbour output helper to better indicate ↵thetaepsilon-gamedev
lack of rotation support
2017-10-01devices.lua: make fountains functional under new flow logic using new ↵thetaepsilon-gamedev
neighbour output helper
2017-10-01new flow logic: abms.lua: generalise spigot output code to support arbitary ↵thetaepsilon-gamedev
neighbour lists
2017-10-01move flowable registration for flow sensor to devices.lua near node definitionthetaepsilon-gamedev
2017-10-01move flowable registration for airtight entry panel to devices.lua near node ↵thetaepsilon-gamedev
definition
2017-10-01move spigot behaviour registration to devices.luathetaepsilon-gamedev
2017-10-01migrate flowable registration for valve nodes to devices.luathetaepsilon-gamedev
2017-10-01move pump flow logic registration to devices.luathetaepsilon-gamedev
2017-10-01devices.lua: create local variables for device node names in preparation for ↵thetaepsilon-gamedev
flow logic registration
2017-09-27devices.lua: replace calls to add_node() with swap_node() to preserve node ↵thetaepsilon-gamedev
metadata
2017-04-12allow external devices to connect to pipesVanessa Ezekowitz
and use that feature to handle most of the existing devices) also, fix the "xray" glitch in the grating
2017-03-17prevent being able to place "loaded" and "on" itemsVanessa Ezekowitz
(forces them to "empty" and "off")
2017-03-17add turn-to-vertical handling to valve, flow sensorVanessa Ezekowitz
reuse the code from entry panel
2017-03-17add screwdriver rotation handling on most pipes-related nodesVanessa Ezekowitz
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-17make valve and pump turn on/off via on_rightclickVanessa Ezekowitz
(instead of on_punch)
2016-04-14Squelch a warning if no mesecons.Auke Kok
2015-03-23drop direct support for dedicated protection modsVanessa Ezekowitz
just use minetest's standard protection functions instead (leave it up to those protection mods to do their job properly)
2015-03-12add missing alias for entry panelVanessa Ezekowitz
side effect left over from new_flow_logic tests
2015-01-16use animated water for pouring spigotVanessa Ezekowitz
also remove a couple of extranous .mtl files and a redundant spigot texture
2015-01-15Use mesh nodes for all nodebox-based pipe-related nodesVanessa Ezekowitz
2014-11-22update to use current mesecons APIVanessa Ezekowitz
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
2014-07-02Fix drops for storage tanksZefram
2013-12-21fix a missed function name (due to being renamed)Vanessa Ezekowitz
2013-12-21local-ize a couple more variablesVanessa Ezekowitz
2013-12-21mesecons_rules must be global. made so, confined to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15fix incorrect variable nameVanessa Ezekowitz
2013-12-15local-ize a few more variables, move all of the nodebox modelsVanessa Ezekowitz
into their own file and confine them and pretty much everything else to the pipeworks.{} table (still global though). More to come.
2013-12-15local-ize pretty muchg everything that was previously global except whereVanessa Ezekowitz
stuff needs to be globally-visible. Also, fix a bad drop on valve.
2013-11-28Phased out old register_on_punchnode() calls in favor of per-node on_punchVanessa Ezekowitz
callbacks. Got rid of all the old backward-compat device aliases.
2013-11-25get rid of some extraneous print statementsVanessa Ezekowitz
2013-11-09fix non-working water flow sensor, add proper side texture for itVanessa Ezekowitz
2013-10-27Add fountainhead (vertical spigot, basically).Vanessa Ezekowitz
2013-07-13added ability to disable most components via config file in world folderVanessa Ezekowitz
moved pipes out of init.lua and into a separate file. some minor formatting changes
2013-07-04remove a bunch of useless metadata and settingsVanessa Ezekowitz
("pipelike" everywhere, but it isn't used for anything)
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-09more minor lighting/texture tweaksVanessa Ezekowitz
2013-06-09Made spigot animated, so the water actually looks like it's pouringVanessa Ezekowitz
2013-06-09added sunlight_propagates=true to most devices to fix lighting issuesVanessa Ezekowitz
adjusted size of spigot "pouring" segment.
2013-06-08Add vertical version of airtight pipe entryVanessa Ezekowitz
if automatically rotates to connect to the thing you point at, if a connection is possible.
2013-05-10add flow sensor. Sends mesecons signal when water is flowing through it.Vanessa Ezekowitz
2013-05-10Make pumps and valves respond to mesecons signalsVanessa Ezekowitz
2013-05-10made valves and airtight entry panels work.Vanessa Ezekowitz
Removed "flowing" spigot from creative inventory.
2013-03-18Add inventory images for devices.Anthony
2013-01-14Added a little stub to the bottom of the spigot, showing the water texture,Vanessa Ezekowitz
so that when a spigot is flowing, it looks like water is actually pouring out of it.
2013-01-05made storage tanks connect from top/bottom, made storage tank and pipeVanessa Ezekowitz
textures use the ^ combine operator so they can show the actual liquid going through the pipes/tanks.
2013-01-04First stage of integrating Mauvebic's water flowing code. This is experimentalVanessa Ezekowitz
and doesn't move water yet - but at least it doesn't break anything :-)
2013-01-01Minor tweak to fix a bug in the spigot texture orderingVanessa Ezekowitz