Advertisement
jbrocky

Untitled

Sep 4th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.64 KB | None | 0 0
  1.   def clean_altar
  2.     walk_to(5843)
  3.  
  4.     pause 10
  5.  
  6.     fput('look first altar')
  7.     result = reget(15)
  8.  
  9.     which = 'first'
  10.     which = 'second' if result =~ /beautiful pheonix/i
  11.     case bput("clean #{which} altar with water in chalice", 'You begin', 'perfectly clean')
  12.     when 'You begin'
  13.       waitfor('You finish your job')
  14.     end
  15.     pause 2
  16.     bput("put chalice in my #{@container}", 'You')
  17.     pray_altar(which)
  18.   end
  19.  
  20.   def pray_altar(which)
  21.     fput('get heron primer')
  22.     fput("put heron primer on #{which} altar")
  23.     fput("pray")
  24.     waitfor('Idon orb')
  25.     fput('get idon orb')
  26.     fput('stow orb')
  27.     exit
  28.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement