Get Class of Inventory Item

Hello!
So, long story short, I’m attempting to make a mod to “teleport” items from one container to another by using Add New Item to place the item in the second inventory, and Increment Quantity with a negative value to remove the original. The removal is working fine and doesn’t seem to cause any issues, but I’m running into an issue with Add New Item.

First, I get the item I’m going to send and save it to a variable type of Primal Item, called Temp Item Store. I then use “Get Item Custom Class” dragged from the temp item store to attach to the Primal Item Class of Add New Item- However it doesn’t work at all. No item is spawned, presumably because the retrieved value is unrecognized. I know that certain other values that are taken from the Temp Item Store are working properly, because I can retrieve an items description, quality, and quantity and a number of other values (verified by printing them to strings). I also know that there’s nothing wrong with Add New Item as if I select a class from the dropdown instead of linking a variable, it spawns the item just fine.

So is there something I’m missing with Get Item Custom Class? Is there any other way that I can retrieve the class of an inventory item and have it be properly recognized when plugged into Add New Item?
Alternatively, is there some way that I can add something to an inventory directly, with all of its values intact? (I.e. quantity, durability, quality, etc)

No idea what that variable is but just use Get Class when dragging from the Primal Item reference. You’ll then need to cast the class to PrimalItem Class for that node to accept is a valid input.

-WM

Thank you SO much! I had thought about that before but wasn’t sure if the cast would return the parent template or the child (i.e. the actual item), but it seems to work how I needed it to! Thanks!