Commit Graph

64 Commits

Author SHA1 Message Date
Tim
4379b1904d add decorative tubes: one steel block embedded the other passing through an airtight pane 2015-02-01 00:02:52 +01:00
Tim
61af474116 rename tubes to tube_registration to avoid catch-all usage 2015-01-29 22:53:03 +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
Tim
b54a868c33 chmod -x *.lua 2015-01-29 21:59:35 +01:00
Tim
009b9e9276 split the filter-injector specific code out of the generic item_transport 2015-01-29 19:57:23 +01:00
Vanessa Ezekowitz
50359104c7 Use mesh nodes for all nodebox-based pipe-related nodes 2015-01-15 06:25:41 -05:00
Novatux
d5480f5ff0 Major rewrite of items in tubes 2014-08-14 16:22:03 +02:00
Zefram
7cf5e3cfb9 Refactor node breaker
Merge node breaker into the generic wielder mechanism.  Center the wield
inventory in all wielders' formspecs.  Implement full auto-upgrade of
legacy node breakers, occurring upon use or punching of the node breaker.
Make node breaker respect on_dig hooks.
2014-07-23 09:50:50 -04:00
Zefram
46d44eebcf Refactor deployer and dispenser
Merge implementations into a single "wielder" mechanism.  Clean up the
code a bit.  Fix get_player_control_bits for the dispenser (it wasn't
indicating the sneak setting).  Fix drops for dispenser (dispenser_on was
dropping as itself).  Show item image, as well as name, at head of form.
2014-07-23 09:50:50 -04:00
Zefram
ebccf81758 Add dispenser
The dispenser is an automated item dropper.
2014-07-21 09:52:58 -04:00
Zefram
aee9f7e6d6 Add trash can
The trash can can be used either manually (via form) or at the end of
a pipe.  It destroys whatever is placed in it.
2014-07-15 00:52:33 +01:00
Vanessa Ezekowitz
8aea4b1a13 add conversion routine for cheapie's auto tree taps
turns them into nodebreakers with technic taps if auto tree taps are not
defined and if technic tree taps are.
2014-07-11 09:48:43 -04: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
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
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
7289bfcfba Split pipe and tube autorouting functions into separate files. 2013-11-25 23:55:52 -05:00
Vanessa Ezekowitz
7887d28e08 make worldpath and modpath pipeworks-namespace-specific and global 2013-10-29 14:08:23 -04:00
Novatux
6eaf8eac62 FiX CYCLIC option being ignored. 2013-10-21 11:15:12 +02:00
Novatux
79897c8fe6 Better deployer and node breaker mesecons rules. 2013-10-06 10:35:53 +02:00
Vanessa Ezekowitz
6323a923e0 always read default_settings.txt before reading the world-folder's settings file
also close the file after copying.
2013-08-05 04:36:50 -04:00
Vanessa Ezekowitz
c0af957167 added ability to disable most components via config file in world folder
moved pipes out of init.lua and into a separate file.
some minor formatting changes
2013-07-13 22:39:25 -04:00
Vanessa Ezekowitz
2f843fdd76 remove a bunch of useless metadata and settings
("pipelike" everywhere, but it isn't used for anything)
2013-07-04 03:12:45 -04:00
Vanessa Ezekowitz
7d8be5ddf0 got rid of oldpipes.lua 2013-07-04 02:58:44 -04:00
Vanessa Ezekowitz
17ee4f6aab Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Novatux
89be094a1e Add option to disable cyclic behaviour 2013-06-28 15:16:28 +02:00
Anthony Zhang
e728df46df Super duper pipeworks deployer and node breaker updates. 2013-06-23 19:15:31 -04:00
Vanessa Ezekowitz
47b6c25abe minor tweaks to various dofile() calls, moved one from tubes.lua to init.lua 2013-06-22 17:51:57 -04:00
Vanessa Ezekowitz
5bf21e553e more minor lighting/texture tweaks 2013-06-09 19:19:28 -04:00
Vanessa Ezekowitz
b68a66ef4a Add vertical version of airtight pipe entry
if automatically rotates to connect to the thing you point at, if a connection
is possible.
2013-06-08 01:00:49 -04:00
Anthony
65c4ffde7b Add inventory images for pipes. 2013-03-18 23:00:00 -03:00
Vanessa Ezekowitz
aaacd37c6f Removed node breaker and deployer. These belong in technic, not pipeworks.
Added aliases to avoid unknown nodes/map breakage.  Old code has been moved
into pipeworks/attic/
2013-01-31 18:49:47 -05:00
Novatux
fe0fd68601 Changed the name of some textures for naming conventions. Added deployer and node breaker (most of the code is from Technic, the textures too). 2013-01-20 17:53:17 +01:00
Novatux
b3fcf6734f Added autocrafter.
Fixed a bug where items in mese tubes disappeared whan placing or removing a tube next to it.
2013-01-19 15:37:27 +01:00
Vanessa Ezekowitz
109729cfb2 Added Nore's item transport mod and integrated it into pipeworks
Items can now flow from one chest (or Nore's filter object) to another via the
pneumatic tubes!  Thanks to Nore and RealBadAngel for the code.

Note that this mod has to redefine the default chests and furnaces (see
compat.lua) in order to add some new group definitions so that tubes can
appear to connect to these objects.
2013-01-13 21:45:03 -05:00
Vanessa Ezekowitz
14102d7c3a made storage tanks connect from top/bottom, made storage tank and pipe
textures use the ^ combine operator so they can show the actual liquid going
through the pipes/tanks.
2013-01-05 21:14:09 -05:00
Vanessa Ezekowitz
0a1f90c391 Made pipes able to carry water!
It was just a minor logic error resulting from moving the water flowing code
into it's own file when I originally imported it.  Many thanks to Mauvebic for
writing it!
2013-01-04 01:34:25 -05:00
Vanessa Ezekowitz
6419ecb117 First stage of integrating Mauvebic's water flowing code. This is experimental
and doesn't move water yet - but at least it doesn't break anything :-)
2013-01-04 00:15:23 -05:00
Vanessa Ezekowitz
4eaad14048 Minor tweak to fix missing smooth bend on some T-junctions. 2013-01-01 17:51:55 -05:00
Vanessa Ezekowitz
1a562d23a8 added a "sealed" entry/exit panel (really just a horizontal pipe with a metal
panel overlayed into the middle).   Also, tweaked pipes to always drop the
empty ones.
2013-01-01 16:30:21 -05:00
Vanessa Ezekowitz
6cca6f9857 revamped pumps so that now they should sit in/on liquid and be connected only
from the top, relegated grates to decorational-only, added outlet spigot.  Got
rid of a few obsolete textures.  Got rid of that whole _x and _z naming thing,
now all directional devices (pumps, valves, spigots, tanks) use facedir.
Valves, spigots no longer auto-rotate to find nearby pipes.
2013-01-01 16:04:05 -05:00
Vanessa Ezekowitz
c47d6b02df Added crafting recipes for various objects, with options: If homedecor is
installed, use the plastic sheeting therein.  If not, we define it manually.
If the Technic mod is installed, don't define any recipes at all.  Also removed
the extra "loaded!" messages and tweaked the default pipe alias to point to
something that is actually visible :-)
2012-09-02 12:55:14 -04:00
Vanessa Ezekowitz
4a834d17b2 Added pneumatic tubes with their own autoplace code (does not connect to
steel pipes).  Fixed a recursion bug that sometimes caused a stack overflow.
2012-08-24 13:39:29 -04:00
Vanessa Ezekowitz
83f853d2ae old pipes were overridind the pipeworks:pipe defintion that belongs with the
new pipes.
2012-08-24 10:31:18 -04:00