setTitle("Train-ing with Coal")

setIcon("stevescarts:cartmodule", 0)

setDescription("You have discovered the power of combustion! Craft a Coal Engine")

setParent("triumph:stage2/piston")
setRequiresParent(true)

setFrameType("challenge")

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("stevescarts:cartmodule", 0)

//Rewards
setRewardExperience(8)
setRewardFunction("triumph:stage-3_trigger")