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

Powered Thingies :: Fluid Burner :: Fuel

Importing

script.zs
import mods.poweredthingies.Tweaker.fluidBurnerFuelTweaker as fuel;

Listing Keys, Removing Recipes by Key, Clearing

script.zs
fuel().logKeys()
fuel().removeRecipe('liquid:fluid_lava') // check <logKeys> output for valid keys
fuel().clear()

Adding Recipe

Signature
script.zs
addFuel(fluid: ILiquidStack, ticks: Int)

ticks represents the number of ticks the specified fuel will burn for.

Example
script.zs
fuel().addFuel(<liquid:tf-sewage> * 50, 100);

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).