
//Set icon item
setIcon(<thermaldynamics:duct_0:0>)

//Set title String
setTitle("Is Lead a Conductive Metal?")

//Set description String
setDescription("Fluxducts are also useful for transferring power, though the resources for them are harder to come by. It is recommended to start with the Leadstone ones as they are easiest to make. Needed sometimes to conect the power in torque shafts to certain machines from other mods, such as Forestry multifarms.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasLeadstoneFluxduct", "minecraft:inventory_changed")

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<thermaldynamics:duct_0:0>)

drawDirectLines(true)

//Set the position
setPos(-154,57)

//Rewards
setRewardExperience(4)