Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS4 Currency support BANK options #448

Open
mrhoribu opened this issue Jul 25, 2023 · 0 comments
Open

GS4 Currency support BANK options #448

mrhoribu opened this issue Jul 25, 2023 · 0 comments

Comments

@mrhoribu
Copy link
Contributor

mrhoribu commented Jul 25, 2023

Allow for Lich::Currency.bank support so that you can query bank details. Infomon should be able to parse BANK ACCOUNT as well as the responses from each town's bank for CHECK BALANCE. Possibly adding something like the following to support referencing all banks or a specific one by name or city.

def self.bank(town: 'all')
  case town
  when 'all'
    return [
      Infomon.get('currency.first_elanith_secured_bank'),
      Infomon.get('currency.icemule_trace_bank'),
      Infomon.get('great_bank_of_kharam_dzu'),
      Infomon.get('vornavis_bank_of_solhaven'),
      Infomon.get('bank_of_kharag doth_dzulthu'),
      Infomon.get('united_city_states_bank'),
      Infomon.get('bank_of_torre_county'),
      Infomon.get('four_winds_bank'),
      Infomon.get('krakens_fall_bank')
    ]
  when /wehnimer|elanith/i
    return Infomon.get('currency.first_elanith_secured_bank')
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant