jbrocky

Untitled

Mar 10th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.62 KB | None | 0 0
  1. custom_require.call(%w[common])
  2.  
  3. fput('wield my t hammer')
  4.  
  5. loop do
  6.   if !DRRoom.dead_npcs.empty?
  7.     result = DRC.bput('loot', 'You search', 'I could not find')
  8.     if result =~ /You search/i
  9.       loop do
  10.         result = DRC.bput('get coin', 'You pick', 'What were')
  11.         break if result =~ /What were/i
  12.       end
  13.  
  14.       loop do
  15.         result = DRC.bput('stow gem', 'You pick', 'Stow what?')
  16.         break if result =~ /Stow what?/i
  17.       end
  18.     end
  19.   end
  20.  
  21.     if DRRoom.npcs.empty?
  22.     pause 1
  23.   else
  24.     fput('lob')
  25.     waitrt?
  26.     DRC.bput('get my t hammer', 'You pick up', 'You are already')
  27.   end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment