Advertisement
Guest User

startup

a guest
Sep 2nd, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local uranium = 30047
  2. local tinyura = 30048
  3.  
  4. local enrich = {id = 30243,dmg = 0, qty = 1}
  5. local rod = {id = 30045, dmg = 0, qty = 1}
  6.  
  7. local network = peripheral.wrap("left")
  8.  
  9. while true do
  10.  
  11.   if ( network.countOfItemType(uranium,0) >= 6 and
  12.        network.countOfItemType(tinyura,0) >= 3 ) then
  13.        
  14.        network.requestCrafting(rod)
  15.        network.requestCrafting(enrich)
  16.      
  17.   end
  18.   os.sleep(60)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement