Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
This page relates to Immersive Intelligence, which has built-in support!

Electrolyzer

The Electrolyzer package can be used to modify the Immersive Intelligence Electrolyzer recipes.

Importing the Package

script.zs
import mods.immersiveintelligence.Electrolyzer;

Adding Recipes

Parameters

TypeNameRequired
Type
ILiquidStack
Name
Main Input
Required
Yes
Type
ILiquidStack
Name
Compound Input
Required
Yes
Type
int
Name
Mold
Required
Yes
Type
int
Name
Energy
Required
Yes
Type
ILiquidStack
Name
Time
Required
No

Syntax

script.zs
mods.immersiveintelligence.Electrolyzer.addRecipe(ILiquidStack fluidInput, ILiquidStack fluidOutput1, int energy, int time, @Optional ILiquidStack fluidOutput2);

Example

script.zs
mods.immersiveintelligence.Electrolyzer.addRecipe(<liquid:water>*4,<liquid:lava>*4,123,200,<liquid:hydrofluoric_acid>*8);

Removing Recipes

Parameters

TypeNameRequired
Type
ILiquidStack
Name
Output
Required
Yes

Syntax

script.zs
mods.immersiveintelligence.Electrolyzer.removeRecipe(ILiquidStack output);

Example

script.zs
mods.immersiveintelligence.Electrolyzer.removeRecipe(<liquid:water>);