
//Set icon item
setIcon(<buildcraftcore:engine:2>)

//Set title String
setTitle("Playing with Explosives")

//Set description String
setDescription("Combustion Engines are the final tier of Buildcraft engines which run off of a liquid fuel and coolant. Be wary of the temperature of these engines, as they are liable to explode.")

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

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<buildcraftcore:engine:2>)

drawDirectLines(true)

//Set the position
setPos(-267,-69)

//Rewards
setRewardExperience(4)