Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear
- print("Welcome to the Meth Star Delivery Service. Would you like to place an order (1) or see upcoming deliveries (2)")
- option = read()
- if option == "1" then
- print("The prices and items will be listed momentarily, please type your requested quantity after each item is said, your bill will be said at the end, thankyou")
- sleep(5)
- print("$10/1 Weed Plant")
- weedplant = read() * 10
- print("$4/1 Flower Pot")
- flowerpot = read() * 4
- print("$12/1 Harvested Weed")
- harvestedweed = read() * 12
- print($15/1 Mani Blunt")
- maniblunt = read() * 15
- print("$20/1 Mani Bundle")
- manibundle = read() * 20
- print("$25/1 Liquid Shrooms Bundle")
- liquidshrooms = read() * 25
- print("$22/1 Whiskey Drug")
- whiskeydrug = read() * 22
- print($28/1 Liquid Ice")
- liquidice = read() * 28
- print("$18/1 Cooled Pyro Bottle")
- cooledpyro = read() * 18
- print("Please enter an order name")
- name = read()
- term.clear
- term.setCursorPos(1,1)
- print("Thankyou! Please wait while we process your order.")
- final = weedplant + flowerpot + harvestedweed + maniblunt + manibundle + liquidshrooms + whiskeydrug + liquidice + cooledpyro
- sleep(3)
- print("Your final price comes to" + final + "gold coins")
- order1 = (name) + (final)
- end
- end
- elseif option == "2" then
- print("Please input administrator password.")
- option2 = read("*")
- if option2 == "yourface007" then
- print("Access granted.")
- sleep(2)
- print(order1)
- else
- print("Access denied.")
- sleep(2)
- end
- end
- end
Add Comment
Please, Sign In to add comment