Global variables - pival13/FehWikiBot GitHub Wiki
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.
util.py
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.
mapUtil.py
WEAPONS
An automatically defined object, holding weapon object indexed by their tag.
REFINED
An automatically defined list of refined weapon's tag.
redirect.py
SKILL_DATA
An automatically defined list, holding all skill object.
ACCESSORY_DATA
An automatically defined object, holding all accessories object indexed by their sprite.
EventMap.py
UNITS
An automatically defined object, holding all units object indexed by their english full name (name + title).
scenario.py
UNIT_IMAGE
An automatically defined object, holding all units object indexed by their face name.
reward.py
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.
PoL.py
WEAPON_CATEGORY
An object with a mask as key and a string as value, corresponding to weapon category.
HO.py
SERIES_BGM
A list of lists of strings, representing the background musics play on Heroic Ordeals maps, depending on the hero's origin.