
//This tells the script parser that the script requires Immersive Engineering. If the mod is not loaded, the script will be canceled.
Parser.addRequiredMod("immersiveengineering")
Parser.addRequiredMod("immersivetech")

//Set the icon item
setIcon(<railcraft:steam>)

//Set the title String
setTitle("Putting Steam to Use")

//Set the description String
setDescription("The Steam Turbine is an Advanced Multiblock structure that is used with an Alternator to produce RF power.")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:islandparadisepart3/alternator")
addParent("triumph:islandparadisepart3/lowpressureboilertank")

//Set the position
setPos(-22,117)

//Adds criteria named "formed" with the trigger type "immersiveengineering:multiblock_formed". This function returns the criteria as an object
criteria = addCriteria("formedSteamTurbine", "immersiveengineering:multiblock_formed")

//Sets the required multiblock for the criteria. This is the multiblock that needs to be formed.
criteria.setMultiblock("IT:SteamTurbine")