setIcon(<quark:redstone_randomizer>)

setTitle("Randomizing and Inducting")

setDescription("The Redstone Randomizer is a new redstone circuit piece and whenever it receives a signal from the back, it'll enable either the left or right output, randomly.\n\nThe Redstone Inductor outputs the sum of it's 3 input sides. May also be locked by having a repeater or a comparator pointing to it. While locked, it'll maintain its output value regardless of any changes on the sides.\n\n§9Completition Requirement:\n§7Obtain either a Redstone Randomizer or a Redstone Inductor")

addParent("jasb:quark/automation")

hiddenUnless("jasb:quark/automation")
hiddenUnless("jasb:main/netherending")

criteria1 = addCriteria("redstone_randomizer", "minecraft:inventory_changed")
criteria1.addItem(<quark:redstone_randomizer>)

criteria2 = addCriteria("redstone_inductor", "minecraft:inventory_changed")
criteria2.addItem(<quark:redstone_inductor>)

setRequirements("any")

setPos(80,112)

drawDirectLines()

setAnnounceToChat(false)