Skip to content

Commit 3989bd3

Browse files
committed
update HOWTO and black
1 parent 24922b3 commit 3989bd3

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

sc2reader/data/HOWTO.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ At the time of writing, the latest build version is 53644.
1414
e.g. `python3 sc2reader/generate_build_data.py LotV 53644 balance_data/ sc2reader/`
1515
This will generate the necessary data files to support the new build version (namely, `53644_abilities.csv`, `53644_units.csv`, and updated versions of `ability_lookup.csv` and `unit_lookup.csv`).
1616
4. Finally, modify `sc2reader/data/__init__.py` and `sc2reader/resources.py` to register support for the new build version.
17+
18+
If you are not able to see the correct expansion for the balance data, you may need to authenticate. See the instructions at
19+
https://github.com/ggtracker/sc2reader/issues/98#issuecomment-542554588 on how to do that

sc2reader/data/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,17 @@ def load_build(expansion, version):
469469

470470
# Load LotV Data
471471
lotv_builds = dict()
472-
for version in ("base", "44401", "47185", "48258", "53644", "54724", "59587", "70154", "76114"):
472+
for version in (
473+
"base",
474+
"44401",
475+
"47185",
476+
"48258",
477+
"53644",
478+
"54724",
479+
"59587",
480+
"70154",
481+
"76114",
482+
):
473483
lotv_builds[version] = load_build("LotV", version)
474484

475485
datapacks = builds = {"WoL": wol_builds, "HotS": hots_builds, "LotV": lotv_builds}

0 commit comments

Comments
 (0)