This page relates to Immersive Intelligence, which has built-in support!

The Machinegun package can be used to tweak coolant fluids accepted by the Immersive Intelligence Machinegun.

Importing the Package

Link to importing-the-package

ZenScript
Copy
import mods.immersiveintelligence.Machinegun;

Adding/Setting a Coolant

Link to addingsetting-a-coolant

TypeNameRequired
Type
ILiquidStack
Name
Coolant
Required
Yes
Type
int
Name
Amount
Required
Yes
ZenScript
Copy
mods.immersiveintelligence.Machinegun.addCoolant(ILiquidStack fuelEntry, int amountPerUse);
mods.immersiveintelligence.Machinegun.setCoolAmount(ILiquidStack fuelEntry, int amountPerUse);

The methods accept the same parameters, but they serve different purposes.
To register a new Coolant use addCoolant, to change the value for an existing one use setCoolAmount.

ZenScript
Copy
mods.immersiveintelligence.Machinegun.addCoolant(<fluid:milk>, 20);
mods.immersiveintelligence.Machinegun.setCoolAmount(<fluid:water>, 5);

Removing a Coolant

Link to removing-a-coolant

TypeNameRequired
Type
ILiquidStack
Name
Coolant
Required
Yes
ZenScript
Copy
mods.immersiveintelligence.Machinegun.removeCoolant(ILiquidStack fuelEntry;
ZenScript
Copy
mods.immersiveintelligence.Machinegun.removeCoolant(<fluid:water>);