Added code tested against Dota 2's npc_heroes.txt and items.txt