Advertisement
Whiteaxe

critters

Mar 17th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. def find_dead()
  2. GameObj.npcs.find_all { |npc| npc.status == 'dead' }
  3. find_dead.each { |critter|
  4. dothistimeout "search ##{critter.id}", 5, /^You search (?:through )?the .*\.$|^What were you referring to|You plunge your hand|and withdraw a fiery red gem!/
  5. }
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement