Commit Graph

24 Commits

Author SHA1 Message Date
wsor4035
5aa0501872
make pipeworks Game agnostic (#16)
* make it boot in non mtg

* make water flow

* fix water texture warnings

* fix missing steel texture issues

* remove depreciated/unnessary default function calls

* make sounds work

* fix default formspec crashes

* fix wierd tab spacing

* additionally game dig group support

* move crafts to crafts.lua

* make crafts support various games
2022-03-14 21:39:58 -04:00
OgelGames
5618003be3 fix remaining use_texture_alpha warnings
extension of d2954c52, using the same compatibility check for now, though it would be good to bump the minimum minetest version to 5.4 at some point

fixes #11
2022-02-07 15:53:29 +11:00
Vanessa Dannenberg
5837d62979 Merge branch 'categories' 2021-04-05 22:16:04 -04:00
Vanessa Dannenberg
fc6efb450c add support for Unified Inventory categories 2021-04-02 15:48:28 -04:00
hlqkj
4add40705f Improve formspecs for better mobile usability and consistency 2021-04-02 19:47:48 +00:00
cheapie
7ad991ce40 Assorted changes to tube breaking/repair behavior
* Tubes can now be intentionally broken using a hammer
* Log messages have been improved slightly for tube repair
* Punching a broken tube now causes damage due to the sharp edges
2021-03-27 19:51:23 -05:00
Louis Royer
62bc13078f Add translation support
- Created `locale/template.txt`
- Fixed some typos
- Replace some `print("[pipeworks]"..` with `pipeworks.logger()`
- Removed "You hacker, you" from descriptions
2020-02-18 17:34:52 +00:00
Vanessa Dannenberg
75cfac34e6 add signs_lib placement rules
only works on signs_lib commit dcdee222 or later.
2019-09-23 15:41:56 -04:00
Vanessa Dannenberg
d7dfd11364 use basic_materials mod where possible 2018-10-30 20:45:48 -04:00
12Me21
d8ed6d3af4 Tubes now update their connections when rotated with the screwdriver. 2018-09-15 10:30:13 -04:00
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