promotional bannermobile promotional banner
premium banner
Allows ComputerCraft to handle items, fluids and RF similar to Steve's Factory Manager but with the power of lua.

Description

Allows ComputerCraft to handle items, fluids and RF similar to Steve's Factory Manager but with the power of lua.

 

Quick-Start

  1. Place a Factory Controller next to a Turtle
  2. Use a few Factory Cables to connect the controller to an empty chest or place a chest besides the controller.
  3. Right-click the Controller to open its GUI and name the turtle "hello" and the chest "world"
  4. Put a distinctive item in the turtles first slot, open a lua shell on the turtle and run:
factory = peripheral.wrap("front")
factory.transferItem("hello", 1, "world", 1, 0)

It should say 1, because it transferred 1 item from the first slot of "hello" to the first-best slot (0) of the target "world", i.e.: transferItem(source, source-slot, target, quantity, target-slot)

 

Recipes

Factory ControllerFactory Cable

 

Permissions

Feel free to use in any modpack. I won't answer messages/issues about this, please don't feel insulted.

 

Peripheral Documentation

Please see the linked GitHub repository (see the above Source link) for detailed documentation on the functions provided by the peripheral.