zefram/minetest/pipeworks.git
11 years agoAdd recipes for fountainhead and one-way tube
Vanessa Ezekowitz [Wed, 27 Nov 2013 23:13:35 +0000 (18:13 -0500)]
Add recipes for fountainhead and one-way tube

11 years agolimit tube autoconnect checking to only run if tube.connect_sides
Vanessa Ezekowitz [Tue, 26 Nov 2013 05:46:36 +0000 (00:46 -0500)]
limit tube autoconnect checking to only run if tube.connect_sides
is defined for a particular node (rather than the whole tube table).

Also, tweak wording of an error message to account for line
numbering changes.

11 years agoMake the tube_connects={} method work properly for technic devices.
Vanessa Ezekowitz [Tue, 26 Nov 2013 05:23:14 +0000 (00:23 -0500)]
Make the tube_connects={} method work properly for technic devices.

Also phase out "old new" API, leaving only the "tube_connects={}" method,
as nothing in technic or pipeworks uses it.

Fix a few more places where minetest.facedir_to_dir() was duplicated, since
that code is part of Minetest 0.4.8.

11 years agoget rid of some extraneous print statements
Vanessa Ezekowitz [Tue, 26 Nov 2013 04:58:51 +0000 (23:58 -0500)]
get rid of some extraneous print statements

11 years agoSplit pipe and tube autorouting functions into separate files.
Vanessa Ezekowitz [Tue, 26 Nov 2013 04:55:52 +0000 (23:55 -0500)]
Split pipe and tube autorouting functions into separate files.

11 years agofix bad lighting on one-way tube
Vanessa Ezekowitz [Tue, 19 Nov 2013 18:10:35 +0000 (13:10 -0500)]
fix bad lighting on one-way tube

11 years agostop leaking clone_node() function outside of pipeworks namespace
Vanessa Ezekowitz [Thu, 14 Nov 2013 23:54:50 +0000 (18:54 -0500)]
stop leaking clone_node() function outside of pipeworks namespace

11 years agofix non-working water flow sensor, add proper side texture for it
Vanessa Ezekowitz [Sat, 9 Nov 2013 18:17:56 +0000 (13:17 -0500)]
fix non-working water flow sensor, add proper side texture for it

11 years agoFix node breaker crash.
Novatux [Wed, 30 Oct 2013 07:45:29 +0000 (08:45 +0100)]
Fix node breaker crash.

11 years agoFix autocrafter not taking enough items if number of needed items of a kind > stack...
Novatux [Wed, 30 Oct 2013 07:33:09 +0000 (08:33 +0100)]
Fix autocrafter not taking enough items if number of needed items of a kind > stack max for that item.

11 years agomake worldpath and modpath pipeworks-namespace-specific and global
Vanessa Ezekowitz [Tue, 29 Oct 2013 18:08:23 +0000 (14:08 -0400)]
make worldpath and modpath pipeworks-namespace-specific and global

11 years agoAdd fountainhead (vertical spigot, basically).
Vanessa Ezekowitz [Mon, 28 Oct 2013 02:38:19 +0000 (22:38 -0400)]
Add fountainhead (vertical spigot, basically).

11 years agoMake nodebreaker and deployer use wood group instead of default wood
Vanessa Ezekowitz [Fri, 25 Oct 2013 01:18:40 +0000 (21:18 -0400)]
Make nodebreaker and deployer use wood group instead of default wood

11 years agoFix for player height
Novatux [Thu, 24 Oct 2013 10:49:07 +0000 (12:49 +0200)]
Fix for player height

11 years agoComplete fake player for deployer
Novatux [Thu, 24 Oct 2013 05:51:56 +0000 (07:51 +0200)]
Complete fake player for deployer

11 years agoFix crossing tube and one way tube.
Novatux [Mon, 21 Oct 2013 09:34:10 +0000 (11:34 +0200)]
Fix crossing tube and one way tube.

11 years agoFiX CYCLIC option being ignored.
Novatux [Mon, 21 Oct 2013 09:14:46 +0000 (11:14 +0200)]
FiX CYCLIC option being ignored.

11 years agoMerge branch 'master' of github.com:VanessaE/pipeworks
Vanessa Ezekowitz [Mon, 21 Oct 2013 01:09:53 +0000 (21:09 -0400)]
Merge branch 'master' of github.com:VanessaE/pipeworks

11 years agoFurnace and chest textures now have pipeworks-specific names to allow
Vanessa Ezekowitz [Mon, 21 Oct 2013 01:08:46 +0000 (21:08 -0400)]
Furnace and chest textures now have pipeworks-specific names to allow
for texture packs to cover them.  Also, added proper top and bottom
textures for both.

11 years agoAdd one way tube
Novatux [Sat, 19 Oct 2013 13:33:49 +0000 (15:33 +0200)]
Add one way tube

11 years agoCheck for on_metadata_inventory_take
Cy [Tue, 15 Oct 2013 22:29:55 +0000 (15:29 -0700)]
Check for on_metadata_inventory_take

11 years agoMultiple updates:
Cy [Tue, 15 Oct 2013 03:45:07 +0000 (23:45 -0400)]
Multiple updates:

1)  Refactor autoplace,

There was a lot of redundant code and like a dozen unneccessary string
scans for every node next to every tube placed! I put it all into
indexed tables and loops instead of bizarre and unexplainable variable
names and copy and pasted code. There was also no support for notifying
a chest when an item has been taken from it by a filter, so I added
something for that.

I also thought it prudent to fall back on the
allow_metadata_inventory_take function should a special can_remove not
exist. In fact if can_insert doesn't exist, it calls
allow_metadata_inventory_put instead.

I also added a thing for allowing pipes to attach to nodes of other
modules, without having to hard code type all those node names into
autoplace.lua.  Basically node.tube.collects(i,param2) and i is the
direction from the pipe and param2 is the param2 of what it's pointing
at.

I also abstracted the inscrutable correlation between i and
param2 by trial and error (and the paramwand mod) into understandable
functions. There was no pipeworks namespace so I created it, and put
these functions into pipeworks.collects (as distinguished from a
        node.tube.collects function, which uses those functions)

And now it's too late to cart my old clothes to the thrift store,
dangit.

2)  My "node.tube.collects" idea might be redundant with the
node.tube.connect_sides thing, though possibly more versatile so I'll
leave it in.

3) I was using node.tube.connects and fancy functions for checking if it's
the sides or top or whatnot, and this connect_side thing came in. This
should make both my way and the way using connect_side work.

Also removed some debugging cruft

11 years agoBetter deployer and node breaker mesecons rules.
Novatux [Sun, 6 Oct 2013 08:35:53 +0000 (10:35 +0200)]
Better deployer and node breaker mesecons rules.

11 years agotweak readme to mention the correct place for the documentation
Vanessa Ezekowitz [Fri, 4 Oct 2013 19:44:07 +0000 (15:44 -0400)]
tweak readme to mention the correct place for the documentation

11 years agoMoved crafting guide to a separate branch (gh-pages)
Vanessa Ezekowitz [Fri, 4 Oct 2013 19:34:06 +0000 (15:34 -0400)]
Moved crafting guide to a separate branch (gh-pages)

11 years agofix incorrect usage of after_place_node
Vanessa Ezekowitz [Fri, 4 Oct 2013 18:36:17 +0000 (14:36 -0400)]
fix incorrect usage of after_place_node

11 years agosimplify autocrafterCache, remove cache entry on node dig and disable debug output
chlue [Fri, 4 Oct 2013 15:56:03 +0000 (17:56 +0200)]
simplify autocrafterCache, remove cache entry on node dig and disable debug output

11 years agoclean up formatting a bit
Vanessa Ezekowitz [Fri, 4 Oct 2013 15:03:27 +0000 (11:03 -0400)]
clean up formatting a bit

11 years agoMade autocrafter take less CPU/time
chlue [Fri, 4 Oct 2013 14:41:23 +0000 (10:41 -0400)]
Made autocrafter take less CPU/time

11 years agoFix hacky_swap_node to not repeatedly swap the same node in over and over
Pilcrow [Fri, 13 Sep 2013 15:09:57 +0000 (11:09 -0400)]
Fix hacky_swap_node to not repeatedly swap the same node in over and over

11 years agoAdd note about teleporter tubes reserved channels.
Uberi [Mon, 12 Aug 2013 22:51:56 +0000 (18:51 -0400)]
Add note about teleporter tubes reserved channels.

11 years agofix nil references in flowing_logic.lua
Vanessa Ezekowitz [Thu, 8 Aug 2013 02:16:47 +0000 (22:16 -0400)]
fix nil references in flowing_logic.lua

11 years agoadded reserved teleport channels
hdastwb [Tue, 6 Aug 2013 17:26:05 +0000 (13:26 -0400)]
added reserved teleport channels

11 years agoalways read default_settings.txt before reading the world-folder's settings file
Vanessa Ezekowitz [Mon, 5 Aug 2013 08:36:50 +0000 (04:36 -0400)]
always read default_settings.txt before reading the world-folder's settings file

also close the file after copying.

11 years agoMerge pull request #49 from hdastwb/notechalias
VanessaE [Thu, 25 Jul 2013 23:00:02 +0000 (16:00 -0700)]
Merge pull request #49 from hdastwb/notechalias

remove aliases to the technic deployers/node breakers

11 years agoremoved aliases to the technic deployers/node breakers
hdastwb [Thu, 25 Jul 2013 22:53:51 +0000 (18:53 -0400)]
removed aliases to the technic deployers/node breakers

11 years agooops, technic doesn't need to load first, it depends on pipeworks! duh
Vanessa Ezekowitz [Mon, 22 Jul 2013 05:07:42 +0000 (01:07 -0400)]
oops, technic doesn't need to load first, it depends on pipeworks! duh

11 years agofix the check for technic for craft recipes, use optional depends to
Vanessa Ezekowitz [Mon, 22 Jul 2013 05:02:29 +0000 (01:02 -0400)]
fix the check for technic for craft recipes, use optional depends to
make sure it loads first

11 years agoadded support for 6d facedir for all tube components, changed autoplace.lua to follow...
hdastwb [Fri, 19 Jul 2013 05:36:55 +0000 (01:36 -0400)]
added support for 6d facedir for all tube components, changed autoplace.lua to follow tubes.connect_sides rather than having each component coded individually, and added support for placing deployers and node breakers facing vertically

11 years agoadd license file
Vanessa Ezekowitz [Thu, 18 Jul 2013 16:25:05 +0000 (12:25 -0400)]
add license file

11 years agofixed a nil reference (filter code didn't check for unknown nodes)
Vanessa Ezekowitz [Mon, 15 Jul 2013 22:50:28 +0000 (18:50 -0400)]
fixed a nil reference (filter code didn't check for unknown nodes)

11 years agoadded ability to disable most components via config file in world folder
Vanessa Ezekowitz [Sun, 14 Jul 2013 02:39:25 +0000 (22:39 -0400)]
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

11 years agoMerge pull request #47 from hdastwb/mesesandtube
VanessaE [Sun, 14 Jul 2013 01:26:56 +0000 (18:26 -0700)]
Merge pull request #47 from hdastwb/mesesandtube

MESE Sand Tubes

11 years agoadded more powerful sand tubes (MESE sand tubes), along with associated crafts, textu...
hdastwb [Mon, 8 Jul 2013 16:06:47 +0000 (12:06 -0400)]
added more powerful sand tubes (MESE sand tubes), along with associated crafts, textures, and documentation

11 years agoMerge pull request #46 from hdastwb/lockedchest
VanessaE [Wed, 10 Jul 2013 03:13:50 +0000 (20:13 -0700)]
Merge pull request #46 from hdastwb/lockedchest

Locked chest documentation

11 years agoMerge pull request #45 from hdastwb/lockedchest
VanessaE [Tue, 9 Jul 2013 03:40:13 +0000 (20:40 -0700)]
Merge pull request #45 from hdastwb/lockedchest

Locked chest integration

11 years agoadded locked chests in Overview.html
hdastwb [Tue, 9 Jul 2013 00:54:05 +0000 (20:54 -0400)]
added locked chests in Overview.html

11 years agoadded locked chests to autoplace.lua
hdastwb [Tue, 9 Jul 2013 00:29:53 +0000 (20:29 -0400)]
added locked chests to autoplace.lua

11 years agoadded locked chests in compat.lua
hdastwb [Mon, 8 Jul 2013 15:58:27 +0000 (11:58 -0400)]
added locked chests in compat.lua

11 years agoremove a bunch of useless metadata and settings
Vanessa Ezekowitz [Thu, 4 Jul 2013 07:12:45 +0000 (03:12 -0400)]
remove a bunch of useless metadata and settings
("pipelike" everywhere, but it isn't used for anything)

11 years agogot rid of oldpipes.lua
Vanessa Ezekowitz [Thu, 4 Jul 2013 06:58:44 +0000 (02:58 -0400)]
got rid of oldpipes.lua

11 years agorewrite flowing logic a bit to eliminate excessive add_node/remove_node calls
Vanessa Ezekowitz [Thu, 4 Jul 2013 04:01:08 +0000 (00:01 -0400)]
rewrite flowing logic a bit to eliminate excessive add_node/remove_node calls

also got rid of obsolete optdepends

11 years agoFix for older mod versions that used a different alias.
Anthony Zhang [Tue, 25 Jun 2013 16:19:58 +0000 (12:19 -0400)]
Fix for older mod versions that used a different alias.

11 years agooptdepends.txt is depecated. switched to ? syntax in depends.txt
Vanessa Ezekowitz [Mon, 1 Jul 2013 04:28:36 +0000 (00:28 -0400)]
optdepends.txt is depecated.  switched to ? syntax in depends.txt

11 years agoPhased out all deprecated minetest.env:* uses in favor of minetest.*
Vanessa Ezekowitz [Mon, 1 Jul 2013 03:55:07 +0000 (23:55 -0400)]
Phased out all deprecated minetest.env:* uses in favor of minetest.*

11 years agotypo fix
Vanessa Ezekowitz [Fri, 28 Jun 2013 13:26:46 +0000 (09:26 -0400)]
typo fix

11 years agoMerge pull request #44 from Novatux/simple
VanessaE [Fri, 28 Jun 2013 13:18:23 +0000 (06:18 -0700)]
Merge pull request #44 from Novatux/simple

Add option to disable cyclic behaviour

11 years agoAdd option to disable cyclic behaviour
Novatux [Fri, 28 Jun 2013 13:16:28 +0000 (15:16 +0200)]
Add option to disable cyclic behaviour

11 years agoMerge pull request #43 from Novatux/crossing
VanessaE [Fri, 28 Jun 2013 13:06:57 +0000 (06:06 -0700)]
Merge pull request #43 from Novatux/crossing

Add crossing tubes

11 years agoAdd crossing tubes
Novatux [Fri, 28 Jun 2013 13:03:24 +0000 (15:03 +0200)]
Add crossing tubes

11 years agoAdded support to autoroute code for technic deployer and nodebreaker
Vanessa Ezekowitz [Wed, 26 Jun 2013 07:34:28 +0000 (03:34 -0400)]
Added support to autoroute code for technic deployer and nodebreaker

11 years agoNode breakers now make sure the node is actually diggable before digging (implements...
Anthony Zhang [Mon, 24 Jun 2013 20:25:23 +0000 (16:25 -0400)]
Node breakers now make sure the node is actually diggable before digging (implements the functionality of `minetest.node_dig`). Now can dig working mesecons and can't dig locked chests or other indestructable nodes.

11 years agoUpdate Overview.html with documentation about the node breaker and deployer, plus...
Anthony Zhang [Mon, 24 Jun 2013 19:52:22 +0000 (15:52 -0400)]
Update Overview.html with documentation about the node breaker and deployer, plus docuent the fact that tubes only connect to certain sides of certain devices, like injectors and furnaces.

11 years agoactually, filters should only connect from the right/output side since they
Vanessa Ezekowitz [Mon, 24 Jun 2013 01:52:30 +0000 (21:52 -0400)]
actually, filters should only connect from the right/output side since they
can't actually receive anything from the input side via a tube.

11 years agorewrote autoplacement code to make it more aware of filters,
Vanessa Ezekowitz [Mon, 24 Jun 2013 01:36:13 +0000 (21:36 -0400)]
rewrote autoplacement code to make it more aware of filters,
autocrafter, nodebreaker, deployer, and made sure each item will only
initiate a connection to those sides which can accept such.  Fixed
various autorouting bugs as I ran across them.  Autorouting for various
devices is now:

filters: left and right sides only
nodebreaker, deployer:  back only
autocrafter:  all six sides
chests:  top, bottom, left, right, back (not front)
furnace: bottom, left, right, back (not the top or front)

11 years agoWhoops, tubes ought to connect to deployers!
Anthony Zhang [Sun, 23 Jun 2013 23:52:01 +0000 (19:52 -0400)]
Whoops, tubes ought to connect to deployers!

11 years agoNo infinite stacks allowed! Fix the bug where deployers have infinite stacks just...
Anthony Zhang [Sun, 23 Jun 2013 23:30:16 +0000 (19:30 -0400)]
No infinite stacks allowed! Fix the bug where deployers have infinite stacks just like players.

11 years agoSuper duper pipeworks deployer and node breaker updates.
Anthony Zhang [Sun, 23 Jun 2013 23:15:31 +0000 (19:15 -0400)]
Super duper pipeworks deployer and node breaker updates.

11 years agominor tweaks to various dofile() calls, moved one from tubes.lua to init.lua
Vanessa Ezekowitz [Sat, 22 Jun 2013 21:51:57 +0000 (17:51 -0400)]
minor tweaks to various dofile() calls, moved one from tubes.lua to init.lua

11 years agominor tweak to allow the register_tube() function to use any arbitrary
Vanessa Ezekowitz [Sat, 22 Jun 2013 19:08:05 +0000 (15:08 -0400)]
minor tweak to allow the register_tube() function to use any arbitrary
namespace for the tube instead of forcing it to be pipeworks:

11 years agoworkaround for transported items sometimes just appearing out of nowhere
Vanessa Ezekowitz [Fri, 21 Jun 2013 06:56:21 +0000 (02:56 -0400)]
workaround for transported items sometimes just appearing out of nowhere
but not being diggable.  Made them have a really tiny collision box so
they can be pointed at if carefully done

11 years agoDocument vertical connectivity of airtight pipe entry.
Anthony Zhang [Tue, 18 Jun 2013 22:30:48 +0000 (18:30 -0400)]
Document vertical connectivity of airtight pipe entry.

11 years agocorrected yield on conductor tube crafting image
Vanessa Ezekowitz [Sun, 16 Jun 2013 14:04:07 +0000 (10:04 -0400)]
corrected yield on conductor tube crafting image

11 years agoMade conductor tubes cheaper.
Vanessa Ezekowitz [Sun, 16 Jun 2013 14:02:14 +0000 (10:02 -0400)]
Made conductor tubes cheaper.

11 years agoAdded appropriate textures for mesecon conductor tubes
Vanessa Ezekowitz [Sun, 16 Jun 2013 13:36:49 +0000 (09:36 -0400)]
Added appropriate textures for mesecon conductor tubes

11 years agonew textures for spigot to support animated water + fix lighting issues
Vanessa Ezekowitz [Sun, 9 Jun 2013 23:28:22 +0000 (19:28 -0400)]
new textures for spigot to support animated water + fix lighting issues

11 years agomore minor lighting/texture tweaks
Vanessa Ezekowitz [Sun, 9 Jun 2013 23:19:28 +0000 (19:19 -0400)]
more minor lighting/texture tweaks

11 years agoMade spigot animated, so the water actually looks like it's pouring
Vanessa Ezekowitz [Sun, 9 Jun 2013 22:37:35 +0000 (18:37 -0400)]
Made spigot animated, so the water actually looks like it's pouring

11 years agoadded sunlight_propagates=true to most devices to fix lighting issues
Vanessa Ezekowitz [Sun, 9 Jun 2013 22:29:08 +0000 (18:29 -0400)]
added sunlight_propagates=true to most devices to fix lighting issues
adjusted size of spigot "pouring" segment.

11 years agoAdd vertical version of airtight pipe entry
Vanessa Ezekowitz [Sat, 8 Jun 2013 05:00:49 +0000 (01:00 -0400)]
Add vertical version of airtight pipe entry
if automatically rotates to connect to the thing you point at, if a connection
is possible.

11 years agoMerge pull request #38 from Uberi/master
VanessaE [Thu, 6 Jun 2013 00:10:57 +0000 (17:10 -0700)]
Merge pull request #38 from Uberi/master

Update Overview.html

11 years agoAdd documentation entry about MESE filter/injector, add note about on/off button...
Anthony Zhang [Wed, 5 Jun 2013 21:03:10 +0000 (17:03 -0400)]
Add documentation entry about MESE filter/injector, add note about on/off button on teleporter tube formspec, fix some confusing wording.

11 years agoMerge pull request #37 from Novatux/teleport
VanessaE [Wed, 5 Jun 2013 14:38:47 +0000 (07:38 -0700)]
Merge pull request #37 from Novatux/teleport

Add an no-receive option to teleport tubes.

11 years agoMerge pull request #36 from Novatux/tubesfix
VanessaE [Wed, 5 Jun 2013 14:38:39 +0000 (07:38 -0700)]
Merge pull request #36 from Novatux/tubesfix

Fix crash sometimes with tubes

11 years agoFix crash sometimes with tubes
Novatux [Wed, 5 Jun 2013 13:54:03 +0000 (15:54 +0200)]
Fix crash sometimes with tubes

11 years agoAdd an no-receive option to teleport tubes.
Novatux [Wed, 5 Jun 2013 13:54:23 +0000 (15:54 +0200)]
Add an no-receive option to teleport tubes.

11 years agoMerge pull request #35 from Novatux/sand
VanessaE [Sun, 2 Jun 2013 21:38:42 +0000 (14:38 -0700)]
Merge pull request #35 from Novatux/sand

Fix bug with sand tubes

11 years agoFix bug with sand tubes
Novatux [Sun, 2 Jun 2013 18:36:27 +0000 (20:36 +0200)]
Fix bug with sand tubes

11 years agoMerge pull request #34 from Novatux/doc
VanessaE [Sat, 1 Jun 2013 14:36:04 +0000 (07:36 -0700)]
Merge pull request #34 from Novatux/doc

Fix Overview.html

11 years agoMerge pull request #33 from Novatux/craft
VanessaE [Sat, 1 Jun 2013 14:35:51 +0000 (07:35 -0700)]
Merge pull request #33 from Novatux/craft

Change craft of autocrafter to use mese crystal (autocrafter should be l...

11 years agoChange craft of autocrafter to use mese crystal (autocrafter should be less expensive...
Novatux [Sat, 1 Jun 2013 10:40:29 +0000 (12:40 +0200)]
Change craft of autocrafter to use mese crystal (autocrafter should be less expensive than teleport tube...)

11 years agoFix Overview.html
Novatux [Sat, 1 Jun 2013 10:34:41 +0000 (12:34 +0200)]
Fix Overview.html

11 years agoRan all textures through pngquant.
Vanessa Ezekowitz [Thu, 30 May 2013 21:29:48 +0000 (17:29 -0400)]
Ran all textures through pngquant.

11 years agoRan all textures through pngcrush.
Vanessa Ezekowitz [Thu, 30 May 2013 19:47:55 +0000 (15:47 -0400)]
Ran all textures through pngcrush.

11 years agoMerge pull request #32 from Uberi/master
VanessaE [Tue, 21 May 2013 23:20:49 +0000 (16:20 -0700)]
Merge pull request #32 from Uberi/master

Fix teleport tube in latest mt

11 years agoFix the teleport tube in the latest mt.
Anthony Zhang [Tue, 21 May 2013 21:44:05 +0000 (17:44 -0400)]
Fix the teleport tube in the latest mt.

11 years agoMerge pull request #31 from Uberi/master
VanessaE [Sat, 11 May 2013 04:29:49 +0000 (21:29 -0700)]
Merge pull request #31 from Uberi/master

Update the Basic Overview page for the latest changes.

11 years agoUpdate the Basic Overview page for latest changes.
Anthony Zhang [Sat, 11 May 2013 04:18:44 +0000 (00:18 -0400)]
Update the Basic Overview page for latest changes.

11 years agoadd flow sensor. Sends mesecons signal when water is flowing through it.
Vanessa Ezekowitz [Fri, 10 May 2013 22:28:57 +0000 (18:28 -0400)]
add flow sensor.  Sends mesecons signal when water is flowing through it.

11 years agoMake pumps and valves respond to mesecons signals
Vanessa Ezekowitz [Fri, 10 May 2013 21:44:26 +0000 (17:44 -0400)]
Make pumps and valves respond to mesecons signals