Advertisement
ecco7777

bee breeder thing

Sep 29th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. b=peripheral.wrap("bottom")
  2. i=peripheral.wrap("right")
  3.  
  4. function analyzeAll()
  5. a=b.analyze()
  6. speciesPrimary[x]=a["speciesPrimary"]
  7. speciesSecondary[x]=a["speciesSecondary"]
  8. type[x]=a["type"]
  9. lifespan[x]=a["lifespan"]
  10. temperature[x]=a["temperature"]
  11. toleranceTemperature[x]=a["toleranceTemperature"]
  12. humidity[x]=a["humidity"]
  13. toleranceHumidity[x]=a["toleranceHumidity"]
  14. flower[x]=a["flower"]
  15. effect[x]=a["effect"]
  16. fertility[x]=a["fertility"]
  17. nocturnal[x]=a["nocturnal"]
  18. tolerantFlyer[x]=a["tolerantFlyer"]
  19. caveDwelling[x]=a["caveDwelling"]
  20. end
  21.  
  22. x=0
  23. while x<= 124 or ende>=1 do
  24. if i.suck(x,1) == true then
  25. turtle.dropDown()
  26. analyzeAll()
  27. turtle.suckDown()
  28. i.drop(x,1)
  29. else
  30. ende=x
  31. end
  32. x=x+1
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement