1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-11-18 16:20:42 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
2adcd3e777 hard dep on mesecons 2017-09-27 02:23:28 -04:00
electrodude
649c7d79f6 Add Digiline Filter-Injector
This adds a new type of Filter-Injector that waits for a digiline
message on its channel and then pulls the items described by the
message out of the inventory. It is basically a Stackwise Injector
that, on receiving a digiline message, sets its filter to the contents
of the digiline message and then activates itself.

Sending the message {name="default:brick", count=2} should do the
same thing as setting the filter of a Stackwise Filter-Injector to
two Brick Blocks and then punching it.

If no count is specified, it defaults to 1. Since this is based off
of the Stackwise Injector, it might make more sense if the default
were an entire stack. I can change this trivially.

You can also send requests like {{name="default:brick", count=1},
{name="default:dirt", count=1}}, which acts the same as setting the
filter to one Brick Block and one Dirt Block and then punching it.

If you send a string "default:dirt" instead of a table
{name="default:dirt"}, the string is passed to ItemStack and the
name and count are extracted from the resulting ItemStack. You can
also send a list of strings instead of tables: {"default:dirt",
"default:brick"}, and the first item found will be pulled.

Punching this or activating it with Mesecons currently does
nothing. I'm not really sure what would be the right thing to do in
either of those two cases, so I made it do nothing. I guess I could
make it use the previously-used filter, but I can't really see any
usefulness in that.

The recipe is probably too cheap. The darker of the two blue texture
colors could probably be better.
2016-05-10 16:13:41 -07:00
Novatux
d33eb89dcb Support for the mesecons mvps callback 2014-01-03 21:36:10 +01:00
Vanessa Ezekowitz
d3cb83c7eb oops, technic doesn't need to load first, it depends on pipeworks! duh 2013-07-22 01:07:42 -04:00
Vanessa Ezekowitz
c9b180116f fix the check for technic for craft recipes, use optional depends to
make sure it loads first
2013-07-22 01:02:29 -04:00
Vanessa Ezekowitz
df68784cec optdepends.txt is depecated. switched to ? syntax in depends.txt 2013-07-01 00:28:36 -04:00
Nemo08
274d4b78b0 added .gitignore for temp Kate files, added depends.txt for "default" 2012-07-14 02:51:26 +04:00