
//Set icon item
setIcon(<rftoolspower:cell2>)

//Set title String
setTitle("Greater Modular Power Storage")

//Set description String
setDescription("Powercells also store energy, however, multiple can be combined into a multiblock structure to easily use and saves space. Tier 2 powercells store more then their tier 1 counterparts.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-532,44)

//Rewards
setRewardExperience(4)