setTitle("SOS")

setIcon(<modularmachinery:blockcontroller>)

setDescription("The antenna is build. I just need a book with my message for help in it. Then someone will answer me hopefully...")

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

setPos(785,28)

hiddenUnless("lostisland:page1/communicationantenna")


criteria1 = addCriteria("Book", "minecraft:inventory_changed")
criteria1.addItem(<minecraft:book>)
criteria2 = addCriteria("Log", "minecraft:inventory_changed")
criteria2.addItem(<enchiridion:book, nbt:{identifier: "Log"}>)

addRewardFunction("triumph:end")
setRewardExperience(2)