Advertisement
jbrocky

Untitled

Sep 22nd, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.41 KB | None | 0 0
  1.     if use_pc_empaths?(pc_empaths, settings)
  2.       # If the player is healed via use_pc_empaths? then no further action is needed
  3.     elsif DRStats.empath?
  4.       walk_to(settings.safe_room) unless args.skip
  5.       wait_for_script_to_complete('healme')
  6.     elsif !DRStats.necromancer? || settings.necro_force_safe_room
  7.       ensure_copper_on_hand(4_000, settings)
  8.  
  9.       Flags.add('npc-idle', '^Dokt glances around the room')
  10.       Flags.add('healthy', 'Dokt waves a large hand at you', 'Dokt gives you a quick glance', 'go have yourself a birthday party', 'you are well', 'have other patients', 'you look fine and healthy', 'A little rest and exercise', 'There is nothing I can do for you', 'Up and out', 'What are you doing lying there with the wounded', 'Come along.  Leave room for the others.', "I think you don't really need healing")
  11.       Flags.add('moved', 'grabs you and drags you', 'grabs your arm and drags you .* with')
  12.       Flags.add('idle', 'you have been idle too long')
  13.  
  14.       town_data = get_data('town')
  15.       hometown = if settings.force_healer_town
  16.                    town_data[settings.force_healer_town]
  17.                  else
  18.                    town_data[settings.hometown]
  19.                  end
  20.       wait_at_empath(hometown['npc_empath']['id'])
  21.       fix_standing
  22.     elsif settings.necro_safe_room_use_devour
  23.       @health_threshold = 0 if args.force
  24.       devour_healing(settings, args.skip)
  25.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement