setTitle("Sleeping on the go")

setIcon(<comforts:sleeping_bag>)

setDescription("With a sleeping bag you can sleep without resetting your spawn point")

addParent("lostisland:page1/bed")
setRequiresParent(true)

hiddenUnless("lostisland:page1/boneshards")

setPos(268,112)

criteria1 = addCriteria("Sleeping Bag", "minecraft:inventory_changed")
criteria1.addItem(<comforts:sleeping_bag>)



setRewardExperience(2)