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

889 Commits

Author SHA1 Message Date
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
Vanessa Ezekowitz
29da8992ec More sanity checks on the nodeside() function, courtesy ShadowNinja 2013-12-10 21:41:15 -05:00
Vanessa Ezekowitz
e4a7af5858 Better way to catch that incoming nil, return a real value on the way out 2013-12-10 21:18:29 -05:00
Vanessa Ezekowitz
ebfa12205a Revert "catch nil return from facedir_to_dir() in tube autoplace code"
This reverts commit 4f9c7a43c9.
2013-12-10 21:16:33 -05:00
Vanessa Ezekowitz
4f9c7a43c9 catch nil return from facedir_to_dir() in tube autoplace code 2013-12-10 21:09:38 -05:00
Vanessa Ezekowitz
bd58778810 add "metallic" tube connection image for other mods to use 2013-12-03 15:05:52 -05:00