
//Set icon item
setIcon(<artisanworktables:workshop:6>)

//Set title String
setTitle("Engineering")

//Set description String
setDescription("The Engineers Workshop is a specialized crafting table for creating wires, pipe, and various technological parts. Requires various tools and fluids outside of just the recipes.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-60,-73)

//Rewards
setRewardExperience(4)