Class: Utils::CLIConstants

Inherits:
Object
  • Object
show all
Defined in:
lib/utils/constants.rb

Overview

constants to use when user is configuring the tool

Constant Summary collapse

CATEGORY_OPTIONS =
{
  all: 'collates everything',
  offensive: 'category 35, subcategory 1',
  defensive: 'category 35, subcategory 2',
  functional: 'category 35, subcategory 3',
  potion: 'category 35, subcategory 5',
  other: 'category 35, subcategory 8',
  blood: 'searches "\'s blood"',
  oil: "searches 'oil of'",
  'alchemy stone': "searches 'imperfect alchemy stone of'",
  reagent: "searches 'reagent'",
  'black stone': 'category 30, subcategory 1',
  'misc': 'category 25, subcategory 8',
  'other tools': 'category 40, subcategory 10',
  'manos': "searches 'manos'",
  'purified lightstone': "searches 'purified lightstone of' (requires guru 1 alchemy)",
  'combined crystals': 'category 50, subcategory 4',
  'essences of dawn': "searches 'essence of dawn'",
  # 'magic crystal': "searches 'magic crystal'",
  exit: 'stops the search',
}.freeze
REGION_DOMAINS =
{
  na: 'na-trade.naeu.playblackdesert.com',
  eu: 'eu-trade.naeu.playblackdesert.com',
  eu_console: 'eu-trade.console.playblackdesert.com',
  na_console: 'na-trade.console.playblackdesert.com',
  asia_console: 'asia-trade.console.playblackdesert.com',
  sea: 'trade.sea.playblackdesert.com',
  mena: 'trade.tr.playblackdesert.com',
  kr: 'trade.kr.playblackdesert.com',
  ru: 'trade.ru.playblackdesert.com',
  jp: 'trade.jp.playblackdesert.com',
  th: 'trade.th.playblackdesert.com',
  tw: 'trade.tw.playblackdesert.com',
  sa: 'blackdesert-tradeweb.playredfox.com',
  exit: 'stops the search',
}.freeze
REGION_LANGUAGES =
{
  us: 'us english',
  de: 'deutsch',
  fr: 'français',
  ru: 'русский',
  es: 'español (na/eu)',
  sp: 'español (sa)',
  pt: 'português',
  jp: '日本語',
  kr: '한국어',
  cn: '中文',
  tw: '繁体中文',
  th: 'ภาษาไทย',
  tr: 'türkçe',
  id: 'basa indonesia',
  se: 'sea english',
  gl: 'global lab',
  exit: 'stops the search',
}.freeze
AGGRESSION_LEVELS =
{
  normal: 'evaluate one permutation of each recipe',
  hyperaggressive: 'evaluate every substitution for every recipe',
  exit: 'stops the search',
}.freeze
YES_OR_NO =
{
  no: false,
  yes: true,
}.freeze

Class Method Summary collapse

Class Method Details

.set_rvt(rvt) ⇒ Object



80
81
82
# File 'lib/utils/constants.rb', line 80

def self.set_rvt(rvt)
  $request_verification_token = rvt
end