Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("Hello there, What would you like?")
- print(" ")
- print("Coffee,Dark Coffee,Cold Coffee,Mushroom Stew, Pumpkin Pie,Bread,Cookie,Apple,Baked Potato,Cake")
- print(" ")
- input = read()
- a = "Coffee"
- b = "Dark Coffee"
- c = "Cold Coffee"
- d = "Mushroom Stew"
- e = "Bread"
- f = "Cookie"
- g = "Apple"
- h = "Baked Potato"
- i = "Cake"
- j = "Pumpkin Pie"
- input = read()
- if input == a then
- print("Alright, making your Coffee! Please wait!")
- rs.setBundledOutput("bottom",colours.green)
- sleep(2.0)
- rs.setBundledOutput("bottom",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == b then
- print("Alright, making your Dark Coffee! Please wait!")
- rs.setBundledOutput("left",colours.brown)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == c then
- print("Alright, making your Cold Coffee! Please wait!")
- rs.setBundledOutput("left",colours.blue)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == d then
- print("Alright, making your Mushroom Stew! Please wait! ")
- rs.setBundledOutput("left", colours.yellow)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == e then
- print("Alright, getting your bread ready! Please wait! ")
- rs.setBundledOutput("left",colours.orange)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == f then
- print("Alright, making your Cookie! :3 Please wait!")
- rs.setBundledOutput("left",colours.lightGray)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == g then
- print("Alright, getting your apple! Please wait!")
- rs.setBundledOutput("left",colours.white)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == h then
- print("Alright, making your Baked Potato! Please wait!")
- rs.setBundledOutput("left",colours.red)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == i then
- print("Alright, making your Cake! Please wait!")
- rs.setBundledOutput("left",colours.purple)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- elseif input == j then
- print("Alright, making your Pumpkin Pie! Please wait!")
- rs.setBundledOutput("left",colours.black)
- sleep(2.0)
- rs.setBundledOutput("left",0)
- sleep(2.0)
- shell.run("startup")
- else
- print("Sorry what?")
- sleep(3.0)
- shell.run("tester")
- end
Advertisement
Add Comment
Please, Sign In to add comment