To fix these issues, HandZone.MoveStashToHand and HandZone.onObjectLeaveContainer should be updated to support StackObject in addition to DeckScript (when IsInfiniteStack == false). Do note that unlike with a deck or stack calling DealObjectToColor on a bag will only deal the bag’s contents and won’t draw the bag itself so it would need to be followed by another DealToEnd call (although the former behavior might be desirable in some cases).


The stash is only intended for cards. Perhaps in the future it can be extended to support other object types.

Sounds good. If you’re ever interested, I have created a seemingly-working implementation with a client mod, but it’s hard to test currently due to the other hand stash bugs.