dynamic assets rebuilt for queen update
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# Helper script used to generate backend/assets/item_ids.txt
|
||||
# Args: items.xml generated by ao-id-extractor
|
||||
# Usage python scripts/item_id.py items.xml > backend/assets/item_ids.txt
|
||||
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
@@ -18,6 +22,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'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user