Advertisement
Guest User

oven.lua

a guest
Nov 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local success, data = turtle.inspect()
  2.  
  3. print("Block name: ", data.name)
  4.  
  5. if data.name == "railcraft:coke_oven" then
  6.     turtle.turnLeft()
  7.     turtle.suck()
  8. end
  9.  
  10. success, data = turtle.inspect()
  11.  
  12. if data.name == "immersiveengineering:wooden_device0" then
  13.     turtle.turnRight()
  14.     turtle.drop()
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement