Commit Graph

494 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
177966013a close the file handle after checking if the config file exists, add a comment 2013-12-17 20:36:21 -05:00
Vanessa Ezekowitz
01e76e1ea7 remove redundant ~= nil 2013-12-17 20:28:54 -05:00
Vanessa Ezekowitz
dfed550cae don't write pipeworks config file anymore. if a user needs one, they can
create it themselves :-)
2013-12-17 20:27:46 -05:00
Vanessa Ezekowitz
41ce9be8f3 notvel function can't be local - made global and confined to pipeworks.{} 2013-12-15 16:05:35 -05:00
Vanessa Ezekowitz
a4a74413c0 tube_item has to be global. confined it to pipeworks.{} table. 2013-12-15 14:41:03 -05:00
Vanessa Ezekowitz
6785ba39f4 local-ize one last var 2013-12-15 06:21:39 -05:00
Vanessa Ezekowitz
030ae3283d local-ize a few more variables 2013-12-15 06:10:03 -05:00
Vanessa Ezekowitz
072f78a360 local-ize yet a few more variables 2013-12-15 06:00:04 -05:00
Vanessa Ezekowitz
c0ce62dacf local-ize a few more variables and functions 2013-12-15 05:53:11 -05:00
Vanessa Ezekowitz
d099b9f8f0 get rid of an excess print() call 2013-12-15 05:46:39 -05:00
Vanessa Ezekowitz
53f6e67399 local-ize a few more functions 2013-12-15 05:40:26 -05:00
Vanessa Ezekowitz
2481c06bf0 fix incorrect variable name 2013-12-15 05:26:39 -05:00
Vanessa Ezekowitz
eabced6976 default settings have to be global or pipeworks can't see them
(duh!)  confined them to pipeworks.{} table.
2013-12-15 04:43:13 -05:00
Vanessa Ezekowitz
659b4e42b2 local-ize a few more variables, move all of the nodebox models
into their own file and confine them and pretty much everything
else to the pipeworks.{} table (still global though).  More to
come.
2013-12-15 04:35:59 -05:00
Vanessa Ezekowitz
bd80f18cfc local-ize pretty muchg everything that was previously global except where
stuff needs to be globally-visible.  Also, fix a bad drop on valve.
2013-12-15 02:53:10 -05:00
Vanessa Ezekowitz
b43a1036ca catch a similar nil condition in the node breaker 2013-12-10 22:39:53 -05:00