Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("ba")
- m = peripheral.wrap("left")
- m.clear()
- function fillTable()
- ba.setTable("Lava", lava, 3,13,7,9)
- ba.setTable("Water", water, 15,25,7,9)
- --ba.setTable("Fuel", fuel, 27,37,7,9)
- --ba.setTable("Empty1", empty ,15,25,15,17)
- --ba.setTable("Empty2", emptyy ,27,37,15,17)
- --ba.setTable("Empty3", emptyyy ,3,13,19,21)
- --ba.setTable("Empty4", emptyyyy ,15,25,19,21)
- --ba.setTable("Empty5", emptyyyyy ,27,37,19,21)
- ba.screen()
- end
- function getClick()
- event,side,x,y = os.pullEvent("monitor_touch")
- ba.checkxy(x,y)
- end
- function water()
- ba.flash("water")
- end
- function lava()
- ba.flash("Lava")
- end
- fillTable()
- ba.heading("Spawner Control")
- while true do
- getClick()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement