
//Set icon item
setIcon(<thaumcraft:salis_mundus>)

//Set title String
setTitle("Magical Ointment")

//Set description String
setDescription("Salis Mundus has all sorts of weird magical properties. I wonder what would happen if we right clicked a bookshelf with one?")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:islandparadisepart4/aircrystal")
addParent("triumph:islandparadisepart4/watercrystal")
addParent("triumph:islandparadisepart4/earthcrystal")
addParent("triumph:islandparadisepart4/firecrystal")
addParent("triumph:islandparadisepart4/ordercrystal")
addParent("triumph:islandparadisepart4/chaoscrystal")

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

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

drawDirectLines(true)

//Set the position
setPos(-354,26)

//Rewards
setRewardExperience(4)