forked from mtcontrib/pipeworks
649c7d79f6
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. |
||
---|---|---|
.. | ||
homedecor_oil_extract.png | ||
homedecor_paraffin.png | ||
homedecor_plastic_sheeting.png | ||
pipeworks_accelerator_tube_end.png | ||
pipeworks_accelerator_tube_inv.png | ||
pipeworks_accelerator_tube_noctr.png | ||
pipeworks_accelerator_tube_plain.png | ||
pipeworks_accelerator_tube_short.png | ||
pipeworks_autocrafter.png | ||
pipeworks_black.png | ||
pipeworks_blue.png | ||
pipeworks_button_interm.png | ||
pipeworks_button_off.png | ||
pipeworks_button_on.png | ||
pipeworks_conductor_tube_end.png | ||
pipeworks_conductor_tube_inv.png | ||
pipeworks_conductor_tube_noctr.png | ||
pipeworks_conductor_tube_on_end.png | ||
pipeworks_conductor_tube_on_noctr.png | ||
pipeworks_conductor_tube_on_plain.png | ||
pipeworks_conductor_tube_plain.png | ||
pipeworks_conductor_tube_short.png | ||
pipeworks_crossing_tube_end.png | ||
pipeworks_crossing_tube_inv.png | ||
pipeworks_crossing_tube_noctr.png | ||
pipeworks_crossing_tube_plain.png | ||
pipeworks_crossing_tube_short.png | ||
pipeworks_deployer_back.png | ||
pipeworks_deployer_bottom.png | ||
pipeworks_deployer_front_off.png | ||
pipeworks_deployer_front_on.png | ||
pipeworks_deployer_side.png | ||
pipeworks_deployer_side1.png | ||
pipeworks_deployer_side2.png | ||
pipeworks_deployer_top.png | ||
pipeworks_detector_tube_end.png | ||
pipeworks_detector_tube_inv.png | ||
pipeworks_detector_tube_noctr.png | ||
pipeworks_detector_tube_plain.png | ||
pipeworks_detector_tube_short.png | ||
pipeworks_digiline_filter_input.png | ||
pipeworks_digiline_filter_output.png | ||
pipeworks_digiline_filter_side.png | ||
pipeworks_digiline_filter_top.png | ||
pipeworks_dispenser_back.png | ||
pipeworks_dispenser_bottom.png | ||
pipeworks_dispenser_front_off.png | ||
pipeworks_dispenser_front_on.png | ||
pipeworks_dispenser_side1.png | ||
pipeworks_dispenser_side2.png | ||
pipeworks_dispenser_top.png | ||
pipeworks_entry_panel.png | ||
pipeworks_filter_input.png | ||
pipeworks_filter_output.png | ||
pipeworks_filter_side.png | ||
pipeworks_filter_top.png | ||
pipeworks_flow_sensor_off.png | ||
pipeworks_flow_sensor_on.png | ||
pipeworks_fountainhead.png | ||
pipeworks_grating_sides.png | ||
pipeworks_grating_top.png | ||
pipeworks_green.png | ||
pipeworks_mese_filter_input.png | ||
pipeworks_mese_filter_output.png | ||
pipeworks_mese_filter_side.png | ||
pipeworks_mese_filter_top.png | ||
pipeworks_mese_sand_tube_end.png | ||
pipeworks_mese_sand_tube_inv.png | ||
pipeworks_mese_sand_tube_noctr.png | ||
pipeworks_mese_sand_tube_plain.png | ||
pipeworks_mese_sand_tube_short.png | ||
pipeworks_mese_tube_end.png | ||
pipeworks_mese_tube_inv.png | ||
pipeworks_mese_tube_noctr_1.png | ||
pipeworks_mese_tube_noctr_2.png | ||
pipeworks_mese_tube_noctr_3.png | ||
pipeworks_mese_tube_noctr_4.png | ||
pipeworks_mese_tube_noctr_5.png | ||
pipeworks_mese_tube_noctr_6.png | ||
pipeworks_mese_tube_plain_1.png | ||
pipeworks_mese_tube_plain_2.png | ||
pipeworks_mese_tube_plain_3.png | ||
pipeworks_mese_tube_plain_4.png | ||
pipeworks_mese_tube_plain_5.png | ||
pipeworks_mese_tube_plain_6.png | ||
pipeworks_mese_tube_short.png | ||
pipeworks_nodebreaker_back.png | ||
pipeworks_nodebreaker_bottom_off.png | ||
pipeworks_nodebreaker_bottom_on.png | ||
pipeworks_nodebreaker_front_off.png | ||
pipeworks_nodebreaker_front_on.png | ||
pipeworks_nodebreaker_side1_off.png | ||
pipeworks_nodebreaker_side1_on.png | ||
pipeworks_nodebreaker_side2_off.png | ||
pipeworks_nodebreaker_side2_on.png | ||
pipeworks_nodebreaker_top_off.png | ||
pipeworks_nodebreaker_top_on.png | ||
pipeworks_one_way_tube_input.png | ||
pipeworks_one_way_tube_output.png | ||
pipeworks_one_way_tube_side.png | ||
pipeworks_one_way_tube_top.png | ||
pipeworks_pane_embedded_tube_ends.png | ||
pipeworks_pane_embedded_tube_sides.png | ||
pipeworks_pipe_3_empty.png | ||
pipeworks_pipe_3_loaded.png | ||
pipeworks_pipe_inv.png | ||
pipeworks_pipe_plain.png | ||
pipeworks_plastic_sheeting.png | ||
pipeworks_pump_off.png | ||
pipeworks_pump_on.png | ||
pipeworks_red.png | ||
pipeworks_sand_tube_end.png | ||
pipeworks_sand_tube_inv.png | ||
pipeworks_sand_tube_noctr.png | ||
pipeworks_sand_tube_plain.png | ||
pipeworks_sand_tube_short.png | ||
pipeworks_spigot.png | ||
pipeworks_storage_tank_back.png | ||
pipeworks_storage_tank_fittings.png | ||
pipeworks_storage_tank_front_1.png | ||
pipeworks_storage_tank_front_2.png | ||
pipeworks_storage_tank_front_3.png | ||
pipeworks_storage_tank_front_4.png | ||
pipeworks_storage_tank_front_5.png | ||
pipeworks_storage_tank_front_6.png | ||
pipeworks_storage_tank_front_7.png | ||
pipeworks_storage_tank_front_8.png | ||
pipeworks_storage_tank_front_9.png | ||
pipeworks_storage_tank_front_10.png | ||
pipeworks_storage_tank_front_0.png | ||
pipeworks_teleport_tube_end.png | ||
pipeworks_teleport_tube_inv.png | ||
pipeworks_teleport_tube_noctr.png | ||
pipeworks_teleport_tube_plain.png | ||
pipeworks_teleport_tube_short.png | ||
pipeworks_testobject.png | ||
pipeworks_trashcan_bottom.png | ||
pipeworks_trashcan_side.png | ||
pipeworks_tube_connection_metallic.png | ||
pipeworks_tube_connection_stony.png | ||
pipeworks_tube_connection_wooden.png | ||
pipeworks_tube_end.png | ||
pipeworks_tube_inv.png | ||
pipeworks_tube_noctr.png | ||
pipeworks_tube_plain.png | ||
pipeworks_tube_short.png | ||
pipeworks_tube_transparent.png | ||
pipeworks_valve.png | ||
pipeworks_white.png | ||
pipeworks_yellow.png |