Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def stow_hand(hand)
- braid_regex = /The braided (.+) is too long/
- result = DRC.bput("stow #{hand}", 'You put', braid_regex, 'is too long')
- dispose_trash(DRC.get_noun(Regexp.last_match(1))) if braid_regex.match(result)
- end
- def get_item(item, container)
- result = DRC.bput("get #{item} in my #{container}", 'You get', 'I could not', 'What were you', 'You need a free')
- result =~ /^You get/
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment