1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-27 19:30:26 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jordan Irwin
2eff6e36ea Change scope of local variable 'nodecolor': (#185)
Fixes warning about undefined global.
2017-06-08 01:54:09 -04:00
Vanessa Ezekowitz
2c02d792bf allow repairing a broken tube
by striking it with cottages:hammer, or castles modpack anvil:hammer,
or with any glooptest hammer except wood or stone.
2017-04-07 19:51:54 -04:00
Novatux
33c4c9d552 let tubes break if they're "over-pressure"
that is, if there are more than X number of items in a tube.  Default is
40 in a tube, but breaking is also disabled by default.

(original framework by Novatux, with changes by VanessaE)
2017-04-05 11:43:41 -04:00
ForbiddenJ
0056116148 Namespace pollution cleanup (Used list at #154) 2017-04-04 05:27:37 -03:00
Vanessa Ezekowitz
62768d243d Use node texture colorization
for priority tube, instead of [colorize
(except for inv image).  Saves a tiny bit of RAM.
2017-01-25 04:33:27 -05:00
Vanessa Ezekowitz
364633d884 make all tubes call the routing functions
using their after_place/after_dig callbacks
2015-02-07 02:45:17 -05:00
Tim
7a82393547 fix typo in texturename 2015-02-04 10:58:53 +01:00
Tim
50b417ce13 Add the High Priority tube segment that can be used as replacement of sorting tubes where they are only used to
deactivate paths. The Priority tube uses as less cpu as the default tube, is easier to maintain as well as cheaper as the sorting tube.
2015-02-03 14:46:45 -05:00
Tim
c941a24889 remove field for 01-2012 facedir legacy support for the one-way tube, which was added after 2015-01-31 20:44:36 +01:00
Tim
e60f86a588 switch to the minetest-conventional def-table style of registering tubes to clean up their registrations
fallback for the old call is provided
2015-01-31 16:10:25 +01:00
Tim
810ae99008 reduce texturename repetition via __index 2015-01-31 14:47:06 +01:00
Tim
4eff124ec8 fix crafts to only register when their respective tubes are enabled
also add the one-way tube recipe back
2015-01-29 22:47:33 +01:00
Tim
5a79a60e0f use the default tube textures as fallback for any missing textures during tube registration 2015-01-29 22:38:01 +01:00
Tim
a98af7bf15 split the big tubes file up into functional modules independend from the tube registration and add their respective crafting recipes
use this opportunity to remove some whitespaces issues from it
2015-01-29 22:37:29 +01:00