internal static NPCInfo GetNPCInfo(NPC npc, Mod mod, string name) { int index; return infoIndexes.TryGetValue(mod.Name + ':' + name, out index) ? npc.npcInfo[index] : null; }