This page relates to Immersive Intelligence, which has built-in support!
Machinegun
Link to machinegun
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 Copyimport mods.immersiveintelligence.Machinegun;
Adding/Setting a Coolant
Link to addingsetting-a-coolant
Parameters
Link to parameters
Type | Name | Required |
---|---|---|
Type ILiquidStack | Name Coolant | Required Yes |
Type int | Name Amount | Required Yes |
Syntax
Link to syntax
ZenScript Copymods.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
.
Example
Link to example
ZenScript Copymods.immersiveintelligence.Machinegun.addCoolant(<fluid:milk>, 20);
mods.immersiveintelligence.Machinegun.setCoolAmount(<fluid:water>, 5);
Removing a Coolant
Link to removing-a-coolant
Parameters
Link to parameters-1
Type | Name | Required |
---|---|---|
Type ILiquidStack | Name Coolant | Required Yes |
Syntax
Link to syntax-1
ZenScript Copymods.immersiveintelligence.Machinegun.removeCoolant(ILiquidStack fuelEntry;
Example
Link to example-1
ZenScript Copymods.immersiveintelligence.Machinegun.removeCoolant(<fluid:water>);