dynamic assets rebuilt for queen update
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# Helper script used to generate frontend/src/assets/item_category_map.json
|
||||
# Args: items.xml generated by ao-id-extractor
|
||||
# Usage python scripts/item_category_map.py items.xml > frontend/src/assets/item_category_map.json
|
||||
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
@@ -14,6 +18,9 @@ tree = ET.parse(file)
|
||||
root = tree.getroot()
|
||||
|
||||
for child in root:
|
||||
if not 'uniquename' in child.attrib:
|
||||
continue
|
||||
|
||||
add_item(nd, child.attrib['uniquename'], child.attrib)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user