Commit Graph

610 Commits

Author SHA1 Message Date
Ciaran Gultnieks
7bac96c588 Add optional before/after filter callbacks
These allow nodes that manage inventory in a non-standard manner (e.g. a
barrel) to still be able to work with pipeworks filters.
2014-02-10 19:19:57 +00:00
Vanessa Ezekowitz
458fbb6240 check for malformed table in scan_for_tube_objects() 2014-02-08 21:54:06 -05:00
Vanessa Ezekowitz
012aa39821 Add alternate sand tube recipes using desert sand 2014-01-16 17:10:41 -05:00
Vanessa Ezekowitz
169ef701d2 Make unprocessed plastic base from any kinds of leaves that are in group:leaves
also, retire the junglegrass- and dry shrub-based recipes for same, as those
nodes are somewhat rare now.
2014-01-16 13:39:13 -05:00
Vanessa Ezekowitz
653b65a168 fix missing tubelike meta on legacy tubes
(kept them from properly routing items after placement)
2014-01-12 02:10:34 -05:00
Novatux
9f66fd40ad allow_metadata_inventory_take returns a number, not a bool 2014-01-11 08:04:11 +01:00
Novatux
466d8af41d Prevent items from leaving below filters 2014-01-10 21:26:14 +01:00
Novatux
3250b00d5a Fix 2014-01-10 20:15:53 +01:00
Vanessa Ezekowitz
876c172a54 add recipe for crossing tube 2014-01-10 13:20:01 -05:00
Vanessa Ezekowitz
937a8a5732 fix nil reference crash in tube autorouter when unknown nodes are nearby
(?)
2014-01-05 21:56:14 -05:00
Novatux
d33eb89dcb Support for the mesecons mvps callback 2014-01-03 21:36:10 +01:00
Vanessa Ezekowitz
9a9bd2f491 misc fixed 2014-01-02 04:36:52 -05:00
Vanessa Ezekowitz
8e4d444a70 Update all recipes to use the new node names 2014-01-01 23:44:23 -05:00
Vanessa Ezekowitz
1dc7410024 fix missing wield/inventory image on "compatibility" tubes
gave them fuller node defs with descriptions et al. also and
made them directly call the scan-for-tube-objects function
when placed.
2014-01-01 23:14:27 -05:00
Vanessa Ezekowitz
ea32144950 fix facedir getting reset in detector tubes on state change 2014-01-01 22:36:52 -05:00
Vanessa Ezekowitz
5f393d0545 fix pipes not becoming empty when pump is turned off 2014-01-01 13:56:13 -05:00
Vanessa Ezekowitz
501aac7543 fix wield image of pipes
give legacy compat pipes inventory images
alias them to real pipes on place
fix flicker when placing them
2014-01-01 13:34:30 -05:00
Vanessa Ezekowitz
82f5ba09fe fix tube and pipe drops 2014-01-01 13:26:25 -05:00
Vanessa Ezekowitz
f700aa8531 fix pipe inventory images 2014-01-01 13:21:40 -05:00
Vanessa Ezekowitz
ddfc8173ac always check for CONTENT_IGNORE around a pipe/tube before converting it 2014-01-01 12:26:33 -05:00
Novatux
394c2f6ea6 Fix conversion 2014-01-01 18:04:45 +01:00
Novatux
4895aa6a0c Use 6d for pipes too 2014-01-01 17:40:22 +01:00
Novatux
1dab36812a Use crossing textures 2013-12-31 13:59:25 +01:00
Novatux
bc2d6b26e7 Fix conversion 2013-12-31 13:54:13 +01:00
Novatux
44a34da9c6 Last forgotten spaces 2013-12-31 13:54:13 +01:00
Novatux
9b08a1c40a Remove old code 2013-12-31 13:54:13 +01:00
Novatux
ca70069586 Add a few comments 2013-12-31 13:54:13 +01:00
Novatux
76183bc325 Fix some more coding style, fix a crash, get rid of a conversion table (only used for the table generation) 2013-12-31 13:54:13 +01:00
Novatux
27f3a8ab31 Fix indentation and coding style 2013-12-31 13:54:13 +01:00
Novatux
95aac90b67 Indent correctly the function 2013-12-31 13:54:13 +01:00
Novatux
b0c50203d2 Add 6d tubes, cleanup code a bit 2013-12-31 13:54:13 +01:00
Vanessa Ezekowitz
0dfc3775e9 make crossing tube wield texture look a little better
(I kinda half-assed it initially ;-) )
2013-12-31 06:57:31 -05:00
Vanessa Ezekowitz
8b2177b359 add crossing tube textures
(to be used shortly)
2013-12-31 06:50:34 -05:00
Vanessa Ezekowitz
6f1580a2c3 fix copy&paste error 2013-12-24 09:53:36 -05:00
Vanessa Ezekowitz
508b937e4c ok, on second thought, allow tubes to connect to the fronts. Also, define
top-side overlays for furnaces.
2013-12-24 09:51:38 -05:00
Vanessa Ezekowitz
7488f6c091 Fix glitch in tube autorouter
(brain-o in how I was handling unknown/bad nodes being passed to it.  this
works better and lets the code do its job properly).
2013-12-24 09:11:26 -05:00
Vanessa Ezekowitz
5dda1a4654 chests, furnaces are not supposed to connect to tubes from the front sides 2013-12-24 08:44:19 -05:00
Novatux
b040fc585b fix filters and mese filters not working correctly 2013-12-24 08:36:19 -05:00
Novatux
10cf11e008 A few more fixes (spamming the commit log again...) 2013-12-21 11:11:36 +01:00
Novatux
5a2d57b485 Fix node breaker, use new minetest.swap_node 2013-12-21 10:24:55 +01:00
Novatux
75db2c5307 Fix item transport code 2013-12-21 10:17:12 +01:00
Vanessa Ezekowitz
e5344edf98 local-ize a couple of variables, code style fixes 2013-12-21 03:45:45 -05:00
Vanessa Ezekowitz
e1435b1c2f fix a missed function name (due to being renamed) 2013-12-21 03:38:08 -05:00
Vanessa Ezekowitz
784634f0da local-ize a couple more variables 2013-12-21 03:35:39 -05:00
Vanessa Ezekowitz
f57443e96f mesecons_rules must be global. made so, confined to pipeworks.{} table. 2013-12-21 03:33:06 -05:00
Vanessa Ezekowitz
bdbdab0dfd rules_all has to be global. made it so, confined to pipeworks.{} table 2013-12-21 03:30:07 -05:00
Vanessa Ezekowitz
3e02d5104a local-ize a couple of variables 2013-12-21 03:26:47 -05:00
Vanessa Ezekowitz
9f3b2f1323 fix small typos (False -> false) 2013-12-21 03:26:26 -05:00
Novatux
61d7bde79a A few fixes 2013-12-21 08:54:33 +01:00
Vanessa Ezekowitz
f697b94dae get rid of a redundant comment 2013-12-17 20:38:30 -05:00