public static void RegisterInfoType(Mod mod, AltNPCInfo info)
        {
            string modname = TmlHelpers.GetModUniqueName(mod);
            //AltNPCInfo.NpcInfoModMappedTypes[modname] = info.GetType();
            Type t = info.GetType();

            AltNPCInfo.NpcInfoTypes[modname] = t;
        }
        public static AltNPCInfo GetNpcInfo(Mod mod, int npc_who)
        {
            if (!AltNPCInfo.NpcInfos.ContainsKey(npc_who) || AltNPCInfo.NpcInfos[npc_who].Count == 0)
            {
                return(null);
            }

            string modname = TmlHelpers.GetModUniqueName(mod);

            if (!AltNPCInfo.NpcInfos[npc_who].ContainsKey(modname))
            {
                return(null);
            }

            return(AltNPCInfo.NpcInfos[npc_who][modname]);              // Dislike this merging convention
        }