aboutsummaryrefslogtreecommitdiff
path: root/make_table.py
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-08 16:12:43 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-08 16:12:43 +0100
commitaa3ade05b974d4897fdc9c652f38afdc4585edd8 (patch)
tree558d2c4439f367695839d6512d0c5e6fd83cf7bd /make_table.py
parent9a2cea1465b7693085d8a3f51de2d0515509ffbb (diff)
downloadkondou-aa3ade05b974d4897fdc9c652f38afdc4585edd8.tar.gz
kondou-aa3ade05b974d4897fdc9c652f38afdc4585edd8.tar.bz2
kondou-aa3ade05b974d4897fdc9c652f38afdc4585edd8.zip
add documentation for make_table.py
Diffstat (limited to 'make_table.py')
-rw-r--r--make_table.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/make_table.py b/make_table.py
index 18a30fa..9af49dd 100644
--- a/make_table.py
+++ b/make_table.py
@@ -1,3 +1,15 @@
+"""This script is used to downlaod the skill palette data.
+
+The Guild Wars 2 chat links for build templates use a different skill ID than
+the API, so skills need to be mapped from their "skill ID" to the corresponding
+"palette ID".
+
+Some game updates may require this mapping to be updated as well, otherwise the
+chat link parsing/generating functionality might be broken.
+
+To use this script, pipe the output to src/skill_palette.json and rebuild
+kondou.
+"""
import requests
import json
from lxml import html, etree