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

Magmatic Dynamo

Import the package

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

script.zs
import mods.thermalexpansion.MagmaticDynamo;

Add Fuel

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

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

Remove Fuel

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