v0.2.0: relations preview, item shop, abilities, overlay recommend, GSI enhancements
- Add relations/item/abilities preview (serve_relations.py + web/relations/) - Add fetch scripts: hero_items, item_shop, items_meta, hero_abilities, ability_videos, patches, stratz, matchups, portraits - Add overlay.py (role tags + Top-3 cyan marks), recommend.py - Add http_utils.py, loc_format.py, hero_tags.py, item_fears.py - GSI: full payload JSONL dump, foreground window detection - Drop real template library; CDN-only matching - Update docs: CHANGELOG 0.2.0, DESIGN config table, AGENTS module table - .gitignore: exclude large regenerable assets (icons/portraits/videos)
This commit is contained in:
@@ -8,7 +8,23 @@ import numpy as np
|
||||
|
||||
ROOT = Path(__file__).parent
|
||||
CONFIG_PATH = ROOT / "config.json"
|
||||
DATA = ROOT / "data"
|
||||
HEROES_JSON = DATA / "heroes.json"
|
||||
TEMPLATES_CDN = ROOT / "templates" / "cdn"
|
||||
# Landscape cards from dota2.com/heroes (Steam CDN heroes/{key}.png); UI only.
|
||||
HERO_PORTRAITS = ROOT / "assets" / "hero_portraits"
|
||||
# Primary-attribute icons from dota2.com (dota_react/icons/hero_*.png); UI only.
|
||||
ATTR_ICONS = ROOT / "assets" / "attr_icons"
|
||||
# Item icons from Steam CDN (dota_react/items/{key}.png); relations preview only.
|
||||
ITEM_ICONS = ROOT / "assets" / "item_icons"
|
||||
# Shop category header icons from dota2.com.cn/items/images/itemcat_*.png.
|
||||
ITEM_CAT_ICONS = ROOT / "assets" / "item_cat_icons"
|
||||
# Ability icons from Steam CDN (dota_react/abilities/{key}.png); relations preview only.
|
||||
ABILITY_ICONS = ROOT / "assets" / "ability_icons"
|
||||
# Generic UI glyphs from dota2.com.cn (herostatic/icons/*.png); relations preview only.
|
||||
UI_ICONS = ROOT / "assets" / "ui_icons"
|
||||
# Official ability demo clips from dota2.com (dota_react/abilities/{hero}/{ability}.webm).
|
||||
ABILITY_VIDEOS = ROOT / "assets" / "ability_videos"
|
||||
|
||||
|
||||
def load_config() -> dict:
|
||||
|
||||
Reference in New Issue
Block a user