Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --start programu
- slot = 2
- function czyjest()
- if turtle.getItemCount(slot) == 0 then
- slot = slot + 1
- end
- end
- function obsydian()
- turtle.select(slot)
- end
- term.clear()
- term.setCursorPos( 1, 1 )
- print("Witaj w programie tworzacym Obsydian z Redstone'a")
- print("Wloz Redstone w sloty Turtle'a, oprocz pierwszego")
- print("Gdy bedziesz gotowy...")
- print("Press ANY KEY to continue.")
- os.pullEvent('key')
- x = 0
- for n = 2 , 16 , 1 do
- x = x + turtle.getItemCount(n)
- end
- print("Rozpoczynanie tworzenia "..x.."x Obsydianu")
- while czyjest() do
- write("1")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement