RS485/LogisticsPipes-Dev — pull request #300 by cjo9900 (2014-03-29 16:00:38+00:00)
Title: Enchantment module

Added enchantment modules to implement Issue https://github.com/RS485/LogisticsPipes-Dev/issues/299.

For the MK2 Filter I re-used the Terminus filter GUI, by making it generic showing a just a simple 9 item filter with its own interface to get the required data. Replaced the Passive supplier GUI in the same way, so that the three modules all use one GUI class.

If both modules are present in the LP network, the MK2 will take the matching items in precedence over the basic one.
Note: An matching item in the ItemSink module will override the enchantment module, ignoring the Damage value.
Example, network consisting of,
1. ItemSink has filter for undamaged Looting 3 Diamond sword
2. Enchantment MK2 has filter for Diamond Sword
3. Enchantment module
4. Item Sink with Default route

A Diamond sword with no enchants goes to 4
An Knockback 2 Diamond sword goes to 2
An Protection 2 Diamond helmet goes to 3
An un-enchanted Diamond helmet goes to 4
An Looting 3 Diamond Sword with no damage goes to 1
An Looting 3 Diamond Sword with some Damage goes to 1

Recipes for these modules are
Basic Enchanted ItemSink module: ItemSink module + any Enchanted Book.
Mk2 Enchanted ItemSink module: Enchanted ItemSink Module + Gold Chipset or Gold Gear.
Feel free to change these as required.