
//Set icon item
setIcon(<tconstruct:ingots:2>)

//Set title String
setTitle("Advanced Alloys: Manyullyn")

//Set description String
setDescription("Manyullyn is an alloy created from Cobalt and Ardite. It is used for various advanced components, as well as making tools with higher durability than Aridte, but a little lower speed than Cobalt.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-110,-50)

//Rewards
setRewardExperience(4)