Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Washing Factory

Importing

script.zs
import mods.industrialforegoing.WashingFactory;

Adding

The first parameter is the input item, and it has to be an OreDict string. The second and third parameters are the input and output fluids respectively.

The example shown below turns a piece of Gold Ingot and 500mB of Water into 500mB of Lava:

script.zs
// WashingFactory.add(String oreDictInput, ILiquidStack fluidInput, ILiquidStack fluidOutput);
WashingFactory.add("ingotGold", <liquid:water> * 500, <liquid:lava> * 500);

Removing

Put an OreDict string in the parameter to remove the recipe for that specific OreDict.

The example shown below removes the recipe for Gold Ingots:

script.zs
// WashingFactory.remove(String oreDictInput);
WashingFactory.remove("ingotGold");