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

Compression Dynamo

Import the package

To shorten method calls you can import the package like so:

script.zs
import mods.thermalexpansion.CompressionDynamo;

Add Fuel

script.zs
//mods.thermalexpansion.CompressionDynamo.addFuel(ILiquidStack stack, int energy);
mods.thermalexpansion.CompressionDynamo.addFuel(<liquid:water>, 20000);

Note: The energy parameter needs to be a value between 10000 and 200000000.

Remove Fuel

script.zs
//mods.thermalexpansion.Compression.removeFuel(ILiquidStack stack);
mods.thermalexpansion.Compression.removeFuel(<liquid:water>);