Skip to content

Global variables

Pival edited this page Jul 17, 2021 · 6 revisions

A list of useful global varibales defined throughout files. This includes both user defined and automatically filled variables.

Global variables useful for a single file, such as Forging Bonds' unit's colors, are not described here, but can be found on their own page's description.

Moreover, globals described here may moved without prior noticed if it has been judged necessary.

USER, BOT, PASSWD

Three user defined strings which must hold respectively the username of the user who will perform the actions, the name of the bot which will be used and its password.

BINLZ_ASSETS_DIR_PATH, WEBP_ASSETS_DIR_PATH, JSON_ASSETS_DIR_PATH, APK_ASSETS_DIR_PATH

Four user defined strings which must hold absolute path to the assets folder holding respectively source files of the game's assets, original images of the game's assets, jsonified version of the game's assets and source files of the game's APK.

URL

A string containing the path to the FeH Wiki's API.

TODO, ERROR

Two strings equals to TODO: and ERROR: , which shall respectively be displayed on a yellow and red background on a terminal.

ROMAN

A list of string representing roman numbers, up to 10.

DIFFICULTIES

A list of string representing the differents FeH difficulties, in ascending order.

TIME_FORMAT

A string containing the format to use for time formatting.

MIN_TIME, MAX_TIME

Two strings containing the minimum time (epoch) and maximum time, formatted with TIME_FORMAT


DATA

An automatically defined object, holding for a given message's tag the corresponding string in english.

SOUNDS

An automatically defined object, holding sound object indexed by their tag.

BGMS

An automatically defined object, holding background music object indexed by map's tag.

WEAPONS

An automatically defined object, holding weapon object indexed by their tag.

REFINED

An automatically defined list of refined weapon's tag.

SKILL_DATA

An automatically defined list, holding all skill object.

ACCESSORY_DATA

An automatically defined object, holding all accessories object indexed by their sprite.

UNITS

An automatically defined object, holding all units object indexed by their english full name (name + title).

UNIT_IMAGE

An automatically defined object, holding all units object indexed by their face name.

ITEM_KIND, AA_ITEM

Two lists of strings, holding respectively regular items and Arena Assault's items.

COLOR

A list of strings, hodling the color use by Shard and Badge.

ELEMENT

A list of string, holding blessing elements.

WEAPON, MOVE

Two lists of strings, holding respectively weapon and movment type.

WEAPON_CATEGORY

An object with a mask as key and a string as value, corresponding to weapon category.

SERIES_BGM

A list of lists of strings, representing the background musics play on Heroic Ordeals maps, depending on the hero's origin.

  • REUtil.py
  • Reverse.py
  • Events
    • RevVG.py
    • RevTT.py
    • RevTB.py
    • RevGC.py
    • RevFB.py
    • RevRS.py
    • RevLL.py
    • RevHoF.py
    • RevMS.py
    • RevFP.py
    • RevPoL.py
  • Others
    • RevData.py
    • RevMap.py
    • RevQuests.py
    • RevSound.py
    • RevUnit.py
Clone this wiki locally