diff --git a/eid_xmldata.lua b/eid_xmldata.lua index 13ba21a7..00dc1827 100644 --- a/eid_xmldata.lua +++ b/eid_xmldata.lua @@ -1,7 +1,8 @@ --This file was autogenerated using 'lookuptable_generator.py' found in the scripts folder --It will have to be updated whenever the game's item XML files are updated ---The highest item ID found (uses an enum, so doesn't need to be updated) -EID.XMLMaxItemID = CollectibleType.NUM_COLLECTIBLES - 1 +--The highest item ID found in this specific export of XML data +--Crafting doesn't use the in-game enum, because otherwise array index out-of-bounds errors could occur immediately after a game update +EID.XMLMaxItemID = 732 --The fixed recipes, for use in Bag of Crafting EID.XMLRecipes = {["29,29,29,29,29,29,29,29"] = 36, ["8,8,8,8,8,8,8,8"] = 177, ["1,1,1,1,1,1,1,1"] = 45, ["2,2,2,2,2,2,2,2"] = 686, ["3,3,3,3,3,3,3,3"] = 118, ["12,12,12,12,12,12,12,12"] = 343, ["15,15,15,15,15,15,15,15"] = 37, ["21,21,21,21,21,21,21,21"] = 85, ["1,2,4,4,4,4,4,5"] = 331, ["4,4,4,4,4,4,4,4"] = 182, ["22,22,22,22,22,22,22,22"] = 75, ["3,22,22,22,22,22,22,22"] = 654, ["1,1,1,1,1,1,7,7"] = 639, ["12,12,12,12,12,12,13,13"] = 175, ["17,17,17,17,17,17,17,17"] = 483, ["15,15,15,15,15,15,16,16"] = 483, ["6,6,6,6,6,6,6,6"] = 628, ["24,24,24,24,24,24,24,24"] = 489, ["25,25,25,25,25,25,25,25"] = 580, }