SHOW:
|
|
- or go back to the newest paste.
| 1 | function obs() | |
| 2 | if turtle.getItemCount(1) > 0 then | |
| 3 | redstone.setBundledOutput("left", colors.white)
| |
| 4 | redstone.setBundledOutput("right", colors.white)
| |
| 5 | os.sleep(.1) | |
| 6 | redstone.setBundledOutput("left", 0)
| |
| 7 | redstone.setBundledOutput("right", 0)
| |
| 8 | turtle.place() | |
| 9 | os.sleep(2) | |
| 10 | redstone.setBundledOutput("left", colors.white)
| |
| 11 | redstone.setBundledOutput("right", colors.white)
| |
| 12 | os.sleep(.7) | |
| 13 | redstone.setBundledOutput("left", 0)
| |
| 14 | redstone.setBundledOutput("right", 0)
| |
| 15 | os.sleep(.3) | |
| 16 | ||
| 17 | else | |
| 18 | ||
| 19 | os.sleep(1) | |
| 20 | ||
| 21 | end | |
| 22 | end | |
| 23 | while true do | |
| 24 | obs() | |
| 25 | end |