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

Powered Thingies :: Fluid Burner :: Coolant

Importing

script.zs
import mods.poweredthingies.Tweaker.fluidBurnerCoolantTweaker as coolant;

Listing Keys, Removing Recipes by Key, Clearing

script.zs
coolant().logKeys()
coolant().removeRecipe('teslathingies:fluid_tf-molten_tesla') // check <logKeys> output for valid keys
coolant().clear()

Adding Recipe

Signature
script.zs
addCoolant(fluid: ILiquidStack, timeMultiplier: Float)

timeMultiplier is the value that will be used to increase (or decrease) the number ticks a fuel will burn for.

Example
script.zs
coolant().addCoolant(<liquid:tf-sewage> * 50, 1.1);

Notes

All of these actions will get cached and ran after the default registry for this machine has finished registering all recipes (including the ones from the custom jsons).