//Set icon item
setIcon(<tconstruct:tooltables:3>)

//Set title String
setTitle("Tinker Time")

addParent("triumph:1mainline/wood")

//Set description String
setDescription("These beginning tools are weak, time for some tinkers tools! Make the part builder, stencil table, crafting station, pattern chest, and tool station")
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(-15,64)

//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("hasWood", "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:tooltables:3>)
criteria.addItem(<tconstruct:tooltables:2>)
criteria.addItem(<tconstruct:tooltables>)
criteria.addItem(<tconstruct:tooltables:4>)
criteria.addItem(<tconstruct:tooltables:1>)

setRewardFunction("triumph:prestige2points")