Pipeworks
Go to file
thetaepsilon-gamedev 57fc8c67f8 teleport_tube.lua: fix 32-bit clamping issues on some systems for %d in string.format
Some servers running ubuntu in particular were reporting issues with teleport tubes not working.
On investigation, all tube entries were colliding as string.format("%d", ...)
was returning either -2^31 or 2^31-1 depending on system bit width,
causing hash entries to be overwritten.
This is possibly related to the use of C sprintf within lua.
Fix this by using %g instead to interpret as double without int conversion,
with a large enough number of digits such that all possible 2^48 values from
minetest.hash_node_position() can be correctly serialised.
2017-12-22 17:18:31 +00:00
models added straight-only pipe 2017-11-03 23:02:36 -04:00
pressure_logic pressure logic: detect vertical orientation for horizontal rotating flowables 2017-11-04 22:27:47 +00:00
textures remove regular pipe inventory image 2017-11-11 00:22:52 -05: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
autocrafter.lua fix scale on autocrafter's on/off switch 2017-04-12 07:09:35 -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 Namespace pollution cleanup (Used list at #154) 2017-04-04 05:27:37 -03:00
changelog.txt changelog: add entry for pressure logic directionality work 2017-10-19 13:46:30 +01:00
common.lua remove some debug prints 2017-04-11 19:45:59 -04:00
compat-chests.lua treat unknown node obstructing chest lid as solid 2017-10-27 14:49:25 -04:00
compat-furnaces.lua cache on/off button image refs and commonly-used label for same 2017-04-11 18:52:39 -04:00
crafts.lua add craft recipe for straight-only pipe 2017-11-11 00:22:52 -05:00
decorative_tubes.lua make all tubes call the routing functions 2015-02-07 02:45:17 -05:00
default_settings.lua add low-poly mode 2017-10-26 04:11:30 -04:00
depends.txt hard dep on mesecons 2017-09-27 02:23:28 -04:00
description.txt update description a bit (typo, outdated a little) 2017-02-07 16:04:02 -05:00
devices.lua added straight-only pipe 2017-11-03 23:02:36 -04:00
filter-injector.lua Enhance params to can_remove and remove_item 2017-10-15 22:59:20 -07:00
flowing_logic.lua added straight-only pipe 2017-11-03 23:02:36 -04:00
init.lua refactor pressure logic toggle to act as option enum 2017-10-20 22:46:51 +01:00
item_transport.lua item_transport.lua: split out determination of next position in go_next() into separate function 2017-12-19 23:15:44 +00:00
legacy.lua remove dead code to remove undeclared variable access warning 2015-02-04 12:41:25 +01:00
LICENSE Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
lua_tube.lua Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
luaentity.lua Adjust rate control code to work better 2017-07-03 18:43:03 -04:00
mod.conf Adding standard mod files 2016-03-27 21:28:04 -07:00
models.lua Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
pipes.lua remove regular pipe inventory image 2017-11-11 00:22:52 -05:00
README New wiki url in README 2015-03-09 00:05:13 +02:00
routing_tubes.lua Change scope of local variable 'nodecolor': (#185) 2017-06-08 01:54:09 -04:00
screenshot.png Add screenshot.png 2016-03-27 22:31:33 -07:00
settingtypes.txt Add lua controlled tube (#199) 2017-09-25 23:21:15 -04:00
signal_tubes.lua Add digiline_conductor and mesecon_and_digiline_conductor tubes (#195) 2017-09-25 23:19:35 -04:00
sorting_tubes.lua cache on/off button image refs and commonly-used label for same 2017-04-11 18:52:39 -04:00
teleport_tube.lua teleport_tube.lua: fix 32-bit clamping issues on some systems for %d in string.format 2017-12-22 17:18:31 +00:00
trashcan.lua add list rings to pipework inventories 2016-08-29 18:28:43 +02:00
tube_registration.lua fix a crash (#190) 2017-07-20 01:42:34 -04:00
vacuum_tubes.lua Nice settings (#171) 2017-04-13 21:13:30 -04:00
wielder.lua wielder.lua: add LBM to refund mese picks for pre-transition node breakers 2017-10-14 20:00:46 +01: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/VanessaE/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.