MZ Triple Triad. Trying to make cards useful outside of the card game.

Context: In Final Fantasy 8, the major point of playing Tiple Triad was to refine your cards into items that you could use outside of the mini-game. I got myself an amazing plugin that almost perfectly imitates Triple Triad from FF8.
https://forums.rpgmakerweb.com/index.php?threads/triple-triad-mz.125681/
Unfortunately each card is stored as an ID inside the plugin.

1712505067748.png


So I need to somehow convert these cardId's into actual items that can be accessed outside of minigame.


I was thinking, maybe it's possible to somehow trigger an event that would
convert these Id numbers into "card items" when I leave a casino
and have another event that
converts any "card items" I'm carrying into Id numbers when I enter a casino.

I have no idea how to grab hold of the the Id numbers outside of the plug-in though. Any clues?

Thanks as always. I'm on a 3 day fail streak. So, yeah. Woe is me. 🙁

Original thread: https://forums.rpgmakerweb.com/threads/triple-triad-trying-to-make-cards-useful-outside-of-the-card-game.167562/