Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("button")
- m = peripheral.wrap("top")
- m.clear()
- modem = peripheral.wrap("front")
- modem.open(1)
- redstone.setOutput("right", false)
- redstone.setOutput("top", false)
- redstone.setOutput("front", false)
- redstone.setOutput("back", false)
- redstone.setOutput("bottom", false)
- function fillTable()
- button.setTable("MineFactory", minefacory, 10,20,3,5)
- button.setTable("Thermal Expansion", thermalexpanison, 10,20,7,9)
- button.setTable("PneumaticCraft", penumaticcraft, 10,20,11,13)
- button.screen()
- end
- function getClick()
- event,side,x,y = os.pullEvent("monitor_touch")
- button.checkxy(x,y)
- end
- function minefacory()
- button.flash("MineFactory")
- button.clearTable()
- function fillTable()
- button.setTable("Laser Drill", laserdrill, 10,20,3,5)
- button.setTable("Zurück"), zurück ,15,25,13,15)
- function laserdrill()
- button.toggleButton("Laser Drill")
- modem.transmit(1, "right")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement