Pipeworks is a mod for Minetest allowing the crafting and usage of pipes and tubes
Go to file
fluxionary e45eca76e1
check if machine is protected before trying to break/place a node (#43)
* check if target is protected before trying to break/place a node, so as not to trigger protection violations

* check whether the machine is protected, not the target
2022-09-17 19:03:55 -04:00
.github/workflows github luacheck workflow 2021-11-28 16:13:11 +11:00
locale Improve formspecs for better mobile usability and consistency 2021-04-02 19:47:48 +00:00
models fix some broken models 2018-02-13 13:42:24 -05:00
pressure_logic make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
textures use basic_materials mod where possible 2018-10-30 20:45:48 -04:00
todo todo: remove item for directionality code 2017-10-19 13:43:11 +01:00
.gitignore update .gitignore 2016-08-29 18:25:40 +02:00
.luacheckrc add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
autocrafter.lua fix digiline formspec spacing (#27) 2022-05-07 17:04:06 -04:00
autodetect-finite-water.lua add finite water feature toggle and auto-detect code 2017-10-03 20:53:49 +01:00
autoplace_pipes.lua added straight-only pipe 2017-11-03 23:02:36 -04:00
autoplace_tubes.lua Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations 2021-02-05 17:17:50 +01:00
changelog.txt changelog: add entry for pressure logic directionality work 2017-10-19 13:46:30 +01:00
common.lua add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
compat-chests.lua Better Hades Revisited support (#30) 2022-05-12 22:52:17 -04:00
compat-furnaces.lua prevent tubes from connecting to the front of furnaces to match chests 2022-08-13 23:59:46 -04:00
crafts.lua Better Hades Revisited support (#30) 2022-05-12 22:52:17 -04:00
decorative_tubes.lua Make tubes opaque when entities are not used (#29) 2022-05-11 18:41:28 -04:00
default_settings.lua Add configurable globalstep interval (#32) 2022-05-24 19:13:41 -04:00
devices.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
filter-injector.lua add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
flowing_logic.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
init.lua Store teleport tube DB in mod storage (#40) 2022-08-13 16:22:53 -04:00
item_transport.lua Return early from on_step (#33) 2022-05-15 10:58:35 -04:00
legacy.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
LICENSE license fixups: update to LGPL3.0 for code, add CC-by-SA 4.0 for media 2018-11-08 18:22:12 -05:00
lua_tube.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
luaentity.lua Add configurable globalstep interval (#32) 2022-05-24 19:13:41 -04:00
mod.conf Better Hades Revisited support (#30) 2022-05-12 22:52:17 -04:00
models.lua Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
pipes.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
README typo fix 2022-08-16 00:30:42 +02:00
routing_tubes.lua Use on_repair when repairing tube (#37) 2022-06-23 18:06:01 +02:00
screenshot.png Add screenshot.png 2016-03-27 22:31:33 -07:00
settingtypes.txt Add configurable globalstep interval (#32) 2022-05-24 19:13:41 -04:00
signal_tubes.lua make pipeworks Game agnostic (#16) 2022-03-14 21:39:58 -04:00
signs_compat.lua add signs_lib placement rules 2019-09-23 15:41:56 -04:00
sorting_tubes.lua add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
teleport_tube.lua Store teleport tube DB in mod storage (#40) 2022-08-13 16:22:53 -04:00
trashcan.lua add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
tube_registration.lua Make tubes opaque when entities are not used (#29) 2022-05-11 18:41:28 -04:00
vacuum_tubes.lua add I3 support + update to formspecs v2 (#22) 2022-04-16 14:51:59 -04:00
wielder.lua check if machine is protected before trying to break/place a node (#43) 2022-09-17 19:03:55 -04:00

This mod uses nodeboxes to supply a complete set of 3D pipes and tubes, 
along devices that work with them.

See https://github.com/mt-mods/pipeworks/wiki/ for detailed information about usage of this mod.

Unlike the previous version of this mod, these pipes are rounded, and when 
placed, they'll automatically join together as needed.  Pipes can go vertically 
or horizontally, and there are enough nodes defined to allow for all possible 
connections.  Valves and pumps can only be placed horizontally, and will 
automatically rotate and join with neighboring pipes as objects are added, as 
well as joining with each other under certain circumstances.

Pipes come in two variants: one type bears one or more dark windows on each 
pipe, suggesting they're empty, while the other type bears green-tinted 
windows, as if full (the two colors should also be easy to select if you want 
to change them in a paint program).  These windows only appear on straight 
lengths and on certain junctions.

This mod is a work in progress.

Please note that owing to the nature of this mod, I have opted to use 64px 
textures.  Anything less just looks terrible.

The teleport tube database used to be kept in a file named 'teleport_tubes'.
The database is now kept in mod storage. The migration from 'teleport_tubes' is
automatic. The old file is then kept around but is not used at all.