Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slot_energy = 16
- slot_rf = 15
- slot_bridge = 14
- slot_mj = 13
- slot_miner = 12
- slot_fuel = 11
- slot_chests = 10
- turtle.select(slot_fuel)
- turtle.refuel()
- function oneRight()
- turtle.turnRight()
- turtle.select(1)
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- end
- function oneLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- end
- function selectPlace(slot)
- turtle.select(1)
- turtle.dig()
- turtle.select(slot)
- turtle.place()
- end
- function selectDig(slot)
- turtle.select(slot)
- turtle.dig()
- end
- while true do
- selectPlace(slot_miner)
- turtle.up()
- selectPlace(slot_chests)
- turtle.down()
- oneRight()
- selectPlace(slot_mj)
- oneRight()
- selectPlace(slot_bridge)
- oneRight()
- selectPlace(slot_rf)
- oneRight()
- selectPlace(slot_energy)
- i = 0
- while i < 10 do
- print(i)
- sleep(5)
- i = i + 5
- end
- selectDig(slot_energy)
- oneLeft()
- selectDig(slot_rf)
- oneLeft()
- selectDig(slot_bridge)
- oneLeft()
- selectDig(slot_mj)
- oneLeft()
- selectDig(slot_miner)
- turtle.forward()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment