Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ############### Instellingen ###############
- local monblauw = peripheral.wrap('monitor_3')
- local monrood = peripheral.wrap('monitor_1')
- local mongroen = peripheral.wrap('monitor_2')
- -- ############### / Instellingen ###############
- -- ############### Startup Animatie ###############
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.blue)
- print (" ## ## #### ## ## ###### ")
- print (" #### ## ## ## #### ## ## ## ")
- print (" ## #### ######## ## #### ## ## ")
- print (" ## ## ## ## ## ## ## ## ")
- print (" ## ## ## ## ## ## ###### ")
- --
- print (" ")
- --
- term.setTextColor(colors.red)
- print (" ######## #### ## ## ###### ######")
- print (" ## ## ## #### #### ## ## ")
- print (" ## #### ######## ## ## ## ###### ######")
- print (" ## ## ## ## ## ## ## ##")
- print (" ######## ## ## ## ## ###### ######")
- -- -- --
- os.sleep(5)
- --
- monblauw.clear()
- monrood.clear()
- mongroen.clear()
- os.sleep(2)
- monblauw.setBackgroundColor(colors.blue)
- monblauw.clear()
- os.sleep(0.5)
- monrood.setBackgroundColor(colors.red)
- monrood.clear()
- os.sleep(0.5)
- mongroen.setBackgroundColor(colors.green)
- mongroen.clear()
- os.sleep(2)
- --
- monblauw.setTextColor(colors.black)
- monblauw.setCursorPos(6,4)
- monblauw.setTextScale(5)
- monblauw.write ('Nano')
- --
- monrood.setTextColor(colors.black)
- monrood.setCursorPos(6,4)
- monrood.setTextScale(5)
- monrood.write ('Games')
- --
- mongroen.setTextColor(colors.black)
- mongroen.setCursorPos(6,4)
- mongroen.setTextScale(5)
- mongroen.write ('Network')
- -- -- --
- os.sleep(2)
- monblauw.setBackgroundColor(colors.black)
- monblauw.clear()
- monrood.setBackgroundColor(colors.black)
- monrood.clear()
- mongroen.setBackgroundColor(colors.black)
- mongroen.clear()
- --
- monblauw.setTextColor(colors.blue)
- monblauw.setCursorPos(6,4)
- monblauw.setTextScale(5)
- monblauw.write ('Nano')
- --
- monrood.setTextColor(colors.red)
- monrood.setCursorPos(6,4)
- monrood.setTextScale(5)
- monrood.write ('Games')
- --
- mongroen.setTextColor(colors.green)
- mongroen.setCursorPos(6,4)
- mongroen.setTextScale(5)
- mongroen.write ('Network')
- --
- os.sleep(2)
- monblauw.clear()
- monrood.clear()
- mongroen.clear()
- -- -- --
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.blue)
- term.write ('Nano')
- term.setTextColor(colors.red)
- term.write (' Games')
- term.setTextColor(colors.green)
- term.write (' Network')
- term.setCursorPos(1,2)
- -- -- --
- -- ############### Krijg redstone singnaal ###############
- -- ----------
- local Iside = "right" -- verander de zijde in welke kant je wilt checken
- -- ----------
- term.setTextColor(colors.yellow)
- print ("Dit programma wordt gestart")
- print ("door een redstone signaal.")
- term.setTextColor(colors.orange)
- print ("De ingestelde kant hiervoor is: "..Iside)
- --
- while true do
- os.pullEvent("redstone")
- if rs.getInput(""..Iside) then
- break
- end
- end
- -- ############### / Krijg redstone singnaal ###############
- -- ############### Programma uitvoering ###############
- monblauw.setTextColor(colors.blue)
- monblauw.setCursorPos(6,4)
- monblauw.setTextScale(5)
- monblauw.write ('Nano')
- --
- monrood.setTextColor(colors.red)
- monrood.setCursorPos(6,4)
- monrood.setTextScale(5)
- monrood.write ('Games')
- --
- mongroen.setTextColor(colors.green)
- mongroen.setCursorPos(6,4)
- mongroen.setTextScale(5)
- mongroen.write ('Network')
- -- ############### / Programma uitvoering ###############
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement