//Set icon item
setIcon(<minecraft:flint>)

//Set title String
setTitle("Mining Level: Flint")

addParent("triumph:4toolprogression/root")

//Set description String
setDescription("Obtain some flint from some gravel to make a beginning tool")
setRequiresParent(true)
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
//addParent("triumph:example/root")

//Set the position
setPos(41,-41)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

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

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

//setRewardFunction("triumph:tool_two")
setRewardFunction("triumph:prestige2points")


setRequirements("any")
