Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("What side is the spout on?")
- print("Options: front, back, left, right, top, bottom")
- side=read()
- while true do
- print("NO CAPITALS")
- print("How many block's are you smelting? Make sure its a number.")
- blocks=tonumber(read())
- print("What are you smelting?")
- input = { gold = 15, iron = 20, bronze = 25, aluminum = 20, copper = 30, lead = 23, stone = 10, cobalt = 45, tin = 16}
- time = input[io.read()]
- doneIn=(time * blocks) / 60
- print("It will take: " .. doneIn .. " Minutes to complete")
- sleep(2)
- print("Starting..")
- sleep(2)
- for i=1, blocks do
- redstone.setOutput(side, true)
- sleep(1)
- redstone.setOutput(side, false)
- print("Number " .. i .. " Pouring")
- sleep(time-1)
- term.setBackgroundColor(colours.black)
- term.clear()
- term.setCursorPos(1,1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement