Robotic Assembly System
Link to robotic-assembly-system
The Robotic Assembly System is a multiblock consisting of the Assembly Controller, Assembly I/O Units, Assembly Platform, Assembly Laser and Assembly Drill. It converts input items to output items using the laser and/or drill.
There are several functions for adding and removing recipes, depending on whether the recipe requires use of the laser, the drill, or both.
Calling
Link to calling
You can call the Assembly package using mods.pneumaticcraft.assembly
.
Removing
Link to removing
These functions remove the first recipe they find with the given IItemStack output
:
ZenScript Copymods.pneumaticcraft.assembly.removeLaserRecipe(IItemStack output);
mods.pneumaticcraft.assembly.removeDrillRecipe(IItemStack output);
mods.pneumaticcraft.assembly.removeDrillLaserRecipe(IItemStack output);
// Examples
mods.pneumaticcraft.assembly.removeLaserRecipe(<pneumaticcraft:aphorism_tile>);
mods.pneumaticcraft.assembly.removeDrillRecipe(<pneumaticcraft:pressure_chamber_valve>);
These functions remove all recipes currently defined for the Assembly System:
ZenScript Copymods.pneumaticcraft.assembly.removeAllLaserRecipes();
mods.pneumaticcraft.assembly.removeAllDrillRecipes();
mods.pneumaticcraft.assembly.removeAllDrillLaserRecipes();
Adding
Link to adding
These functions are used to add new recipes for the assembly system:
ZenScript Copymods.pneumaticcraft.assembly.addLaserRecipe(IItemStack input, IItemStack output);
mods.pneumaticcraft.assembly.addDrillRecipe(IItemStack input, IItemStack output);
// Examples
mods.pneumaticcraft.assembly.addLaserRecipe(<pneumaticcraft:ingot_iron_compressed> * 2, <pneumaticcraft:compressed_iron_gear>);
Combined drill/laser recipe are automatically added when a drill recipe goes from Item A -> Item B, and a laser recipe from Item B -> Item C.