Removed unused part of xml lookup generator script
This commit is contained in:
1 parent
7dd1962ee8
commit
95583c057d
1 file changed
-9
@@ -57,15 +57,6 @@ for recipe in recipesXML.findall('recipe'):
|
|||||||
convertedInput = str(convertedInput).replace(" ","").replace("[","").replace("]","")
|
convertedInput = str(convertedInput).replace(" ","").replace("[","").replace("]","")
|
||||||
recipes.append({"input": convertedInput, "output": recipe.get('output')})
|
recipes.append({"input": convertedInput, "output": recipe.get('output')})
|
||||||
|
|
||||||
# Read items_metadata.xml
|
|
||||||
items_metadataXML = ET.parse(filePath+'items_metadata.xml').getroot()
|
|
||||||
for item in items_metadataXML.findall('item'):
|
|
||||||
id = int(item.get('id'))
|
|
||||||
if maxItemID < id:
|
|
||||||
maxItemID = id
|
|
||||||
itemIDToPool[id] = []
|
|
||||||
itemQuality.append({"id": id, "quality": item.get('quality')})
|
|
||||||
|
|
||||||
# Read itempools.xml
|
# Read itempools.xml
|
||||||
itempoolsXML = ET.parse(filePath+'itempools.xml').getroot()
|
itempoolsXML = ET.parse(filePath+'itempools.xml').getroot()
|
||||||
currentpool = 0
|
currentpool = 0
|
||||||
|
|||||||
Reference in new issue
Block a user