GamerRick Posted August 9, 2023 Author Share Posted August 9, 2023 (edited) Well, it finally dawned on me that I can also solve this using the numbers that do work. GetItemCount (which counts the base items and doesn't care if there is a soul in it) mostly works, except it keeps telling me i have 1 SoulGemEmpty5Grand when I actually have none. And with my other soulgem swap routine, I learned that counting the filled SoulGemEmpty5Grands by iterating through the inventory refs works. So, the answer is: Number of empty = GetItemCount - Number of Filled ones I don't feel like posting the code unless someone asks. Works every time now, except for getting the count of grand ones. Edited August 9, 2023 by GamerRick Link to comment Share on other sites More sharing options...
Recommended Posts