mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-18 00:08:28 +01:00
57fc8c67f8
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. |
||
---|---|---|
models | ||
pressure_logic | ||
textures | ||
todo | ||
.gitignore | ||
autocrafter.lua | ||
autodetect-finite-water.lua | ||
autoplace_pipes.lua | ||
autoplace_tubes.lua | ||
changelog.txt | ||
common.lua | ||
compat-chests.lua | ||
compat-furnaces.lua | ||
crafts.lua | ||
decorative_tubes.lua | ||
default_settings.lua | ||
depends.txt | ||
description.txt | ||
devices.lua | ||
filter-injector.lua | ||
flowing_logic.lua | ||
init.lua | ||
item_transport.lua | ||
legacy.lua | ||
LICENSE | ||
lua_tube.lua | ||
luaentity.lua | ||
mod.conf | ||
models.lua | ||
pipes.lua | ||
README | ||
routing_tubes.lua | ||
screenshot.png | ||
settingtypes.txt | ||
signal_tubes.lua | ||
sorting_tubes.lua | ||
teleport_tube.lua | ||
trashcan.lua | ||
tube_registration.lua | ||
vacuum_tubes.lua | ||
wielder.lua |
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.