Skip to content

Commit

Permalink
Add support for EV only places in safe_room_empaths
Browse files Browse the repository at this point in the history
  • Loading branch information
vtcifer committed Sep 5, 2024
1 parent f2e449a commit 6fc3e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safe-room.lic
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class SafeRoom
.map { |room| pc_empaths.select { |empath| empath['id'] == room } }
.flatten
.each do |empath|
next unless DRRoom.pcs.include?(empath['name'].capitalize!) || @validator.in_game?(empath['name'])
next unless empath['name'].upcase == 'EV' || DRRoom.pcs.include?(empath['name'].capitalize!) || @validator.in_game?(empath['name'])
next unless use_pc_empath?(empath['id'], empath['name'])

DRCM.ensure_copper_on_hand(settings.safe_room_tip_threshold || 0, settings)
Expand Down

0 comments on commit 6fc3e7a

Please sign in to comment.