Skip to content

Commit

Permalink
Update herb-stock.lic
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeLC-hub authored Oct 27, 2024
1 parent c8f1043 commit 9ac4c88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions herb-stock.lic
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ class HerbStock
user_herbs = @settings.herbs

if @hometown == 'Riverhaven' && DRSkill.getrank('Athletics') < 150
echo "Cannot swim the Jantspyre River."
echo "You are athletic enough to handle herb shopping in Therengia."
exit
end
echo "Cannot swim the Jantspyre River."
echo "You are athletic enough to handle herb shopping in Therengia."
exit
end

if (@hometown != 'Crossing' && @hometown != 'Shard' && @hometown != 'Riverhaven' && @hometown != 'Ratha') && !(herbs_override_herbstock && user_herbs)
echo 'Only Crossing, Riverhaven (150+ athletics), Ratha, and Shard hometowns supported. You may provide Crossing or Shard as an argument to override your hometown.'
echo 'Alternatively, define custom herbs in your yaml\'s herbs setting and set herbs_override_herbstock to true.'
exit
exit
end

@settings.storage_containers.each { |container| fput("open my #{container}") }
Expand Down

0 comments on commit 9ac4c88

Please sign in to comment.