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

Fluid Dictionary

Importing

script.zs
import mods.industrialforegoing.FluidDictionary;

Adding

It needs the Fluid Name as an input, the Fluid Name as an output and a conversion rate. The rate is how many mb from the origin will be transformed into the output. (InputMB * rate = OutputMB)

script.zs
FluidDictionary.add(String input, String output, double rate);
FluidDictionary.add("essence", "xpjuice", 1);

Removing

It needs the Fluid Name as an input, the Fluid Name as an output.

script.zs
FluidDictionary.remove(String input, String output);
FluidDictionary.remove("essence", "xpjuice");