Advertisement
CelticCoder

mineWorker

Aug 29th, 2024 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. os.loadAPI("turtleGeoScanMine.lua")
  2. -- todo: decide how you want to set the quarry dimension system up,
  3. -- the orientation of the chest is determined if its a horizontal/vertical mine
  4. quarryHostID = 0
  5.  
  6. function worker()
  7.     id, message = rednet.recieve()
  8.     if id == quarryHostID and message ~= nil and type(message) == "table" then
  9.         turtleGeoScanMine.geoMineList(message)
  10.         rednet.send(id, "done")
  11.     end
  12.     os.exit(1)
  13. end
  14.  
  15. worker()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement