private void AddInventoryItems(ProtoCrewMember kerbalPcm) //, System.Reflection.Assembly KIS)
        {
            $"{kerbalPcm.name} has {WalkAboutPersistent.AllocatedItems[kerbalPcm.name].Count} items to be assigned".Debug();
#if false
            var ModuleKISInventoryType = KIS.GetType("KIS.ModuleKISInventory");
            "found KIS inventory type".Debug();
            var inventory = FlightGlobals.ActiveVessel.GetComponent(ModuleKISInventoryType);
#endif
            var moduleKISInventory = FlightGlobals.ActiveVessel.GetComponent <ModuleKISInventory>();

            "obtained modules for the active vessel".Debug();

            if (moduleKISInventory != null)
            {
                foreach (var itemName in WalkAboutPersistent.AllocatedItems[kerbalPcm.name])
                {
                    var part = PartLoader.getPartInfoByName(itemName)?.partPrefab;

                    moduleKISInventory.AddItem(part, 1, -1);

                    //AddItemToInventory(kerbalPcm, itemName, ModuleKISInventoryType, inventory);
                }
            }

            WalkAboutPersistent.AllocatedItems.Remove(kerbalPcm.name);
        }