
//Set icon item
setIcon(<railcraft:tank_iron_valve>)

//Set title String
setTitle("Mass Liquid Storage")

//Set description String
setDescription("Iron tanks are multiblock structures used to store a large amount of liquid. They are hollow structures made up of a combination of Iron Tank Valves where liquid is input/output, Iron Tank Walls which serve as a structure block for the tank which must make up its frame, and Iron Tank Guages which act as windows to see what is in the tank (though they are not required).")

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

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<railcraft:tank_iron_valve>)
criteria.addItem(<railcraft:tank_iron_wall>)
criteria.addItem(<railcraft:tank_iron_gauge>)

drawDirectLines(true)

//Set the position
setPos(-129,-5)

//Rewards
setRewardExperience(4)