setTitle("Storage Upgrade")

setIcon("primalchests:primal_chest_advanced")

setDescription("Ditch your old wooden box and upgrade to a nicer Primal Chest!")

setParent("triumph:stage0/firstchest")
setRequiresParent(true)

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("primalchests:primal_chest")

//Rewards
setRewardExperience(4)