Advertisement
Guest User

tohelpmaybe

a guest
Dec 15th, 2015
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Icon 0.49 KB | None | 0 0
  1.  
  2. def make_bolt(settings,paints,fletch_sack_contents)
  3.            shaftcheck = fletch_sack_contents.contents.find { |contents| contents.name =~ /crossbow shaft/ }
  4.                if shaftcheck.nil?
  5.                         echo "can't find a crossbow shaft"    
  6.                         return
  7.                else
  8.                       grabshaft = dothistimeout "get 1 my #{grabshaft.id}, 1, /You remove/
  9.                end
  10.  
  11. to call it on line 2032
  12. make_bolt(settings,paints,fletch_sack_contents)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement