The method i've been using to transport items is to remove the items from the players inventory and add the same items to the storage chests, however the game only recognises soul gems that are empty or full, and views soulgems holding souls smaller then their maximum capacity ('Grand Soulgem (lesser)' for instance) as empty. As a result of this, some of the Soulgems that get 'sorted' by the mod are effectively stripped of their essences in the process.
To address this, i can only think of two solutions -
1) Find some method of searching a players inventory for soul gems containing a specific soul type (i.e, search for 'Grand Soulgem (lesser) specifically), or
2) Somehow set each of the individual soulgems in the players inventory to ObjectReference's so that i can move them using the AddToContainer Function.
Would anyone know -
1) What form of effect to search for to identify different soul gem states, assuming there is one?
2) How to set nonspecific, stacked items in a players inventory to ObjectReferences?
3) Some other way of solving this problem that I haven't considered?
Thanks very much for any help
