summaryrefslogtreecommitdiff
path: root/devices.lua
AgeCommit message (Collapse)Author
2020-02-18Add translation supportLouis Royer
- Created `locale/template.txt` - Fixed some typos - Replace some `print("[pipeworks]"..` with `pipeworks.logger()` - Removed "You hacker, you" from descriptions
2019-09-23add signs_lib placement rulesVanessa Dannenberg
only works on signs_lib commit dcdee222 or later.
2019-09-23use default metal sounds on all pipes and pipe devicesVanessa Dannenberg
2018-09-08remove value/sensor conversion LBMVanessa Dannenberg
no longer needed, broken anyway
2017-11-03added straight-only pipeVanessa Ezekowitz
(for situations where one might want to run several closely-spaced parallel pipelines) Also fixed a bug where a pipe "entry panel" would report full of water if a pipe next to it (but not connecting) was also full of water Only tested under "classic" flowing logic mode.
2017-10-26add low-poly modeVanessa Ezekowitz
to enable, set pipeworks_enable_lowpoly = true in minetest.conf
2017-10-19devices.lua: convert spigot to single-ended horizontally rotating flowablethetaepsilon-gamedev
2017-10-19pressure logic: rewrite callbacks for horizontal rotation flowables to ↵thetaepsilon-gamedev
support singular and double-ended devices
2017-10-19devices.lua: convert entry panel and valve to horizontal rotation flowable classthetaepsilon-gamedev
2017-10-19devices.lua: make flow sensor use the horizontally rotating flowable classthetaepsilon-gamedev
2017-10-18devices.lua: make fountainheads directional using fixed vertical helperthetaepsilon-gamedev
2017-10-18pressure logic/flowable node registry: move pump directionality code to ↵thetaepsilon-gamedev
dedicated fixed vertical helper
2017-10-17devices.lua: implement directionfn for pump registrationthetaepsilon-gamedev
2017-10-16devices.lua: convert pump to use new directional flow classthetaepsilon-gamedev
2017-10-08new flow logic: implement post-transition hook with mesecons support, add ↵thetaepsilon-gamedev
mesecons transition rules for flow sensor
2017-10-08devices.lua: adjust flow sensor threshold to more closely model classic modethetaepsilon-gamedev
2017-10-08new flow logic: change simple transition set logic to take list of key-value ↵thetaepsilon-gamedev
pairs, add set registration for flow sensor pipe
2017-10-08new flow logic: algorithmic and value tuning for non-finite modethetaepsilon-gamedev
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.