Zefram [Mon, 14 Jul 2014 18:34:15 +0000 (19:34 +0100)]
Fix detector tube item counting
A detector tube would sometimes miss a decrement, due to the pos structure
passed to can_go being modified by the tubed-item entity while it's also
sitting in the timer queue as an argument to item_exit. As the can_go
API actually depends on being able to mutate the pos structure (see the
teleporter tube), we can't just start passing in a never-mutated copy
of pos. So for now just fix in the detector tube's can_go, by copying the
structure there. Incidentally, make the decrement mechanism consistent
between the two forms of increment.
Vanessa Ezekowitz [Fri, 11 Jul 2014 13:15:37 +0000 (09:15 -0400)]
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.
Zefram [Sat, 5 Jul 2014 15:27:09 +0000 (16:27 +0100)]
Name tube items for function rather than material
Previously, some tube types were named based on their function, and others
based on some arbitrarily-chosen material used in their construction,
with no meaningful system governing which was in each category. With this
change they are consistently named according to function. Naming style
is also made consistent in the wording that identifies tubes as such,
and in capitalisation.
Zefram [Thu, 3 Jul 2014 01:00:24 +0000 (02:00 +0100)]
Fix drops for storage tanks
Zefram [Thu, 3 Jul 2014 01:22:55 +0000 (02:22 +0100)]
Make non-node items in tubes look more solid
Use the "wielditem" visual type for non-node items, with a fixed 45
degree yaw. This matches the recent change of dropped-item entities from
"sprite" visual to "wielditem".
Novatux [Wed, 2 Jul 2014 12:29:51 +0000 (14:29 +0200)]
Don't wear tools out in nodebreaker if it's mechanical wear (tools which are repaired by the tool workshop of technic)
Novatux [Wed, 2 Jul 2014 10:42:33 +0000 (12:42 +0200)]
Fix bug with multiple input inventories with the filters
Novatux [Tue, 1 Jul 2014 16:42:52 +0000 (18:42 +0200)]
Try to fix some bugs that happen on server restart
Novatux [Sun, 29 Jun 2014 10:36:22 +0000 (12:36 +0200)]
Fix problems with incorrectly destructed teleport tubes.
Novatux [Sat, 21 Jun 2014 06:29:41 +0000 (08:29 +0200)]
Fix crash with legacy nodebreakers
Novatux [Sat, 14 Jun 2014 14:54:31 +0000 (16:54 +0200)]
Ugly attempt to fix detector tube.
Novatux [Sat, 14 Jun 2014 13:35:39 +0000 (15:35 +0200)]
Filter inventory fix
Novatux [Sun, 8 Jun 2014 20:49:30 +0000 (22:49 +0200)]
Try to fix old node breakers dropping items
Novatux [Sun, 8 Jun 2014 14:04:36 +0000 (16:04 +0200)]
Support for detection of pipeworks fake players by other mods (item drop, etc.)
Novatux [Sun, 8 Jun 2014 09:04:13 +0000 (11:04 +0200)]
Fix deployer sometimes destroying items
Novatux [Sun, 1 Jun 2014 06:51:18 +0000 (08:51 +0200)]
Try to fix #67
Novatux [Sun, 25 May 2014 20:24:08 +0000 (22:24 +0200)]
Fix #66
Vanessa Ezekowitz [Sun, 25 May 2014 01:20:31 +0000 (21:20 -0400)]
delete redundant check
Novatux [Fri, 23 May 2014 17:49:35 +0000 (19:49 +0200)]
Accept multiple input inventories, fix bug with mesecons_mvps
Novatux [Sun, 18 May 2014 14:41:37 +0000 (16:41 +0200)]
Bugfix
Novatux [Sun, 18 May 2014 12:30:58 +0000 (14:30 +0200)]
Much better node breaker, own contents of deployer too (but still allow IO with tubes)
Novatux [Sun, 20 Apr 2014 17:59:54 +0000 (19:59 +0200)]
Remove debug code
Novatux [Sun, 13 Apr 2014 07:25:17 +0000 (09:25 +0200)]
Deployer fixes
Vanessa Ezekowitz [Thu, 10 Apr 2014 05:29:37 +0000 (01:29 -0400)]
use leaves group for ALL parts of the plastic base recipe, derp
Tim [Fri, 28 Mar 2014 19:57:54 +0000 (20:57 +0100)]
change the decorative grating recipe to something more unique, fixes #58
Tim [Fri, 28 Mar 2014 19:37:08 +0000 (20:37 +0100)]
fix valve recipe crafting unknown nodes
Ciaran Gultnieks [Mon, 10 Feb 2014 19:18:18 +0000 (19:18 +0000)]
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.
Vanessa Ezekowitz [Sun, 9 Feb 2014 02:54:06 +0000 (21:54 -0500)]
check for malformed table in scan_for_tube_objects()
Vanessa Ezekowitz [Thu, 16 Jan 2014 22:10:41 +0000 (17:10 -0500)]
Add alternate sand tube recipes using desert sand
Vanessa Ezekowitz [Thu, 16 Jan 2014 18:39:13 +0000 (13:39 -0500)]
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.
Vanessa Ezekowitz [Sun, 12 Jan 2014 07:10:34 +0000 (02:10 -0500)]
fix missing tubelike meta on legacy tubes
(kept them from properly routing items after placement)
Novatux [Sat, 11 Jan 2014 07:04:11 +0000 (08:04 +0100)]
allow_metadata_inventory_take returns a number, not a bool
Novatux [Fri, 10 Jan 2014 20:26:14 +0000 (21:26 +0100)]
Prevent items from leaving below filters
Novatux [Fri, 10 Jan 2014 19:15:53 +0000 (20:15 +0100)]
Fix
Vanessa Ezekowitz [Fri, 10 Jan 2014 18:20:01 +0000 (13:20 -0500)]
add recipe for crossing tube
Vanessa Ezekowitz [Mon, 6 Jan 2014 02:56:14 +0000 (21:56 -0500)]
fix nil reference crash in tube autorouter when unknown nodes are nearby
(?)
Novatux [Fri, 3 Jan 2014 12:29:38 +0000 (13:29 +0100)]
Support for the mesecons mvps callback
Vanessa Ezekowitz [Thu, 2 Jan 2014 09:36:52 +0000 (04:36 -0500)]
misc fixed
Vanessa Ezekowitz [Thu, 2 Jan 2014 04:44:23 +0000 (23:44 -0500)]
Update all recipes to use the new node names
Vanessa Ezekowitz [Thu, 2 Jan 2014 04:14:27 +0000 (23:14 -0500)]
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.
Vanessa Ezekowitz [Thu, 2 Jan 2014 03:36:52 +0000 (22:36 -0500)]
fix facedir getting reset in detector tubes on state change
Vanessa Ezekowitz [Wed, 1 Jan 2014 18:56:13 +0000 (13:56 -0500)]
fix pipes not becoming empty when pump is turned off
Vanessa Ezekowitz [Wed, 1 Jan 2014 18:34:30 +0000 (13:34 -0500)]
fix wield image of pipes
give legacy compat pipes inventory images
alias them to real pipes on place
fix flicker when placing them
Vanessa Ezekowitz [Wed, 1 Jan 2014 18:26:25 +0000 (13:26 -0500)]
fix tube and pipe drops
Vanessa Ezekowitz [Wed, 1 Jan 2014 18:21:40 +0000 (13:21 -0500)]
fix pipe inventory images
Vanessa Ezekowitz [Wed, 1 Jan 2014 17:26:33 +0000 (12:26 -0500)]
always check for CONTENT_IGNORE around a pipe/tube before converting it
Novatux [Wed, 1 Jan 2014 17:04:45 +0000 (18:04 +0100)]
Fix conversion
Novatux [Wed, 1 Jan 2014 16:40:22 +0000 (17:40 +0100)]
Use 6d for pipes too
Novatux [Tue, 31 Dec 2013 12:59:25 +0000 (13:59 +0100)]
Use crossing textures
Novatux [Tue, 31 Dec 2013 11:29:31 +0000 (12:29 +0100)]
Fix conversion
Novatux [Tue, 31 Dec 2013 10:03:29 +0000 (11:03 +0100)]
Last forgotten spaces
Novatux [Tue, 31 Dec 2013 09:53:14 +0000 (10:53 +0100)]
Remove old code
Novatux [Tue, 31 Dec 2013 09:32:53 +0000 (10:32 +0100)]
Add a few comments
Novatux [Tue, 31 Dec 2013 09:26:25 +0000 (10:26 +0100)]
Fix some more coding style, fix a crash, get rid of a conversion table (only used for the table generation)
Novatux [Tue, 31 Dec 2013 09:12:25 +0000 (10:12 +0100)]
Fix indentation and coding style
Novatux [Tue, 31 Dec 2013 08:08:18 +0000 (09:08 +0100)]
Indent correctly the function
Novatux [Tue, 31 Dec 2013 06:36:04 +0000 (07:36 +0100)]
Add 6d tubes, cleanup code a bit
Vanessa Ezekowitz [Tue, 31 Dec 2013 11:57:31 +0000 (06:57 -0500)]
make crossing tube wield texture look a little better
(I kinda half-assed it initially ;-) )
Vanessa Ezekowitz [Tue, 31 Dec 2013 11:50:34 +0000 (06:50 -0500)]
add crossing tube textures
(to be used shortly)
Vanessa Ezekowitz [Tue, 24 Dec 2013 14:53:36 +0000 (09:53 -0500)]
fix copy&paste error
Vanessa Ezekowitz [Tue, 24 Dec 2013 14:51:38 +0000 (09:51 -0500)]
ok, on second thought, allow tubes to connect to the fronts. Also, define
top-side overlays for furnaces.
Vanessa Ezekowitz [Tue, 24 Dec 2013 14:11:26 +0000 (09:11 -0500)]
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).
Vanessa Ezekowitz [Tue, 24 Dec 2013 13:44:19 +0000 (08:44 -0500)]
chests, furnaces are not supposed to connect to tubes from the front sides
Novatux [Tue, 24 Dec 2013 13:29:33 +0000 (08:29 -0500)]
fix filters and mese filters not working correctly
Novatux [Sat, 21 Dec 2013 10:11:36 +0000 (11:11 +0100)]
A few more fixes (spamming the commit log again...)
Novatux [Sat, 21 Dec 2013 09:24:55 +0000 (10:24 +0100)]
Fix node breaker, use new minetest.swap_node
Novatux [Sat, 21 Dec 2013 09:16:58 +0000 (10:16 +0100)]
Fix item transport code
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:45:45 +0000 (03:45 -0500)]
local-ize a couple of variables, code style fixes
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:38:08 +0000 (03:38 -0500)]
fix a missed function name (due to being renamed)
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:35:39 +0000 (03:35 -0500)]
local-ize a couple more variables
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:33:06 +0000 (03:33 -0500)]
mesecons_rules must be global. made so, confined to pipeworks.{} table.
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:30:07 +0000 (03:30 -0500)]
rules_all has to be global. made it so, confined to pipeworks.{} table
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:26:47 +0000 (03:26 -0500)]
local-ize a couple of variables
Vanessa Ezekowitz [Sat, 21 Dec 2013 08:26:26 +0000 (03:26 -0500)]
fix small typos (False -> false)
Novatux [Sat, 21 Dec 2013 07:46:55 +0000 (08:46 +0100)]
A few fixes
Vanessa Ezekowitz [Wed, 18 Dec 2013 01:38:30 +0000 (20:38 -0500)]
get rid of a redundant comment
Vanessa Ezekowitz [Wed, 18 Dec 2013 01:36:21 +0000 (20:36 -0500)]
close the file handle after checking if the config file exists, add a comment
Vanessa Ezekowitz [Wed, 18 Dec 2013 01:28:54 +0000 (20:28 -0500)]
remove redundant ~= nil
Vanessa Ezekowitz [Wed, 18 Dec 2013 01:27:46 +0000 (20:27 -0500)]
don't write pipeworks config file anymore. if a user needs one, they can
create it themselves :-)
Vanessa Ezekowitz [Sun, 15 Dec 2013 21:05:35 +0000 (16:05 -0500)]
notvel function can't be local - made global and confined to pipeworks.{}
Vanessa Ezekowitz [Sun, 15 Dec 2013 19:41:03 +0000 (14:41 -0500)]
tube_item has to be global. confined it to pipeworks.{} table.
Vanessa Ezekowitz [Sun, 15 Dec 2013 11:21:39 +0000 (06:21 -0500)]
local-ize one last var
Vanessa Ezekowitz [Sun, 15 Dec 2013 11:10:03 +0000 (06:10 -0500)]
local-ize a few more variables
Vanessa Ezekowitz [Sun, 15 Dec 2013 10:59:31 +0000 (05:59 -0500)]
local-ize yet a few more variables
Vanessa Ezekowitz [Sun, 15 Dec 2013 10:53:11 +0000 (05:53 -0500)]
local-ize a few more variables and functions
Vanessa Ezekowitz [Sun, 15 Dec 2013 10:46:39 +0000 (05:46 -0500)]
get rid of an excess print() call
Vanessa Ezekowitz [Sun, 15 Dec 2013 10:35:11 +0000 (05:35 -0500)]
local-ize a few more functions
Vanessa Ezekowitz [Sun, 15 Dec 2013 10:26:39 +0000 (05:26 -0500)]
fix incorrect variable name
Vanessa Ezekowitz [Sun, 15 Dec 2013 09:43:13 +0000 (04:43 -0500)]
default settings have to be global or pipeworks can't see them
(duh!) confined them to pipeworks.{} table.
Vanessa Ezekowitz [Sun, 15 Dec 2013 09:35:59 +0000 (04:35 -0500)]
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.
Vanessa Ezekowitz [Sun, 15 Dec 2013 07:53:10 +0000 (02:53 -0500)]
local-ize pretty muchg everything that was previously global except where
stuff needs to be globally-visible. Also, fix a bad drop on valve.
Vanessa Ezekowitz [Wed, 11 Dec 2013 03:39:53 +0000 (22:39 -0500)]
catch a similar nil condition in the node breaker
Vanessa Ezekowitz [Wed, 11 Dec 2013 02:39:47 +0000 (21:39 -0500)]
More sanity checks on the nodeside() function, courtesy ShadowNinja
Vanessa Ezekowitz [Wed, 11 Dec 2013 02:18:29 +0000 (21:18 -0500)]
Better way to catch that incoming nil, return a real value on the way out
Vanessa Ezekowitz [Wed, 11 Dec 2013 02:16:33 +0000 (21:16 -0500)]
Revert "catch nil return from facedir_to_dir() in tube autoplace code"
This reverts commit
4f9c7a43c9f1f0ab3286c755c49bd8d2951b4dc8.
Vanessa Ezekowitz [Wed, 11 Dec 2013 02:09:38 +0000 (21:09 -0500)]
catch nil return from facedir_to_dir() in tube autoplace code
Vanessa Ezekowitz [Tue, 3 Dec 2013 20:05:52 +0000 (15:05 -0500)]
add "metallic" tube connection image for other mods to use
Vanessa Ezekowitz [Tue, 3 Dec 2013 00:29:35 +0000 (19:29 -0500)]
make the tube connection images for furnaces/chests into overlays
also don't redefine furnace top - tubes don't connect there anyways
Vanessa Ezekowitz [Thu, 28 Nov 2013 07:23:59 +0000 (02:23 -0500)]
Phased out old register_on_punchnode() calls in favor of per-node on_punch
callbacks. Got rid of all the old backward-compat device aliases.
Vanessa Ezekowitz [Thu, 28 Nov 2013 06:20:34 +0000 (01:20 -0500)]
Removed code that detects technic and disables default recipes.
Made tubes and conductor tubes more expensive (yield 6 instead of 12).