Advertisement
Whiteaxe

fletch

Dec 15th, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. fletch_sack_contents = get_container_contents(settings['fletch_sack'])
  2. #echo fletch_sack_contents
  3. #exit
  4. if settings['fletch_bow'] == "bow"
  5. make_shafts(settings) if fletch_sack_contents.to_s.include? '@noun="wood"'
  6. elsif settings['fletch_bow'] == "crossbow"
  7. make_heavyshafts(settings) if fletch_sack_contents.to_s.include? '@noun="wood"'
  8. end
  9. checkrest
  10. if settings['fletch_bow'] == "bow"
  11. make_arrow(settings,paints)
  12. elsif settings['fletch_bow'] == "crossbow"
  13. make_bolt(settings)
  14. end
  15. if (checkright =~ /bolt/).nil?
  16. echo "stowing"
  17. stow("right",settings['fletch_quiver'])
  18. arrows_made += 1
  19. return
  20. elsif (checkright =~ /arrow/).nil?
  21. echo "stowing"
  22. stow("right",settings['fletch_quiver'])
  23. arrows_made += 1
  24. return
  25. else
  26. arrows_failed += 1
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement