Volrath's Laboratory Token

Would it be possible to create a token for Volrath's Laboratory that creates a token based on color and creature type that is chosen? Maybe would look something like:
TOKEN_S_C_2_2_S_CW_1
TOKEN_S_C_2_2_S_CW_1
High Quality Resources for Collectible Card Games
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=63&t=19398
It would work with just a little change: once you have given the chest as argument to the token creation function, grant the chosen creature type and color to all tokens in the chest (save the chest count preemptively and loop with a for, because you can't assume that tokens will cease to exist starting from the last index). Cards like Doubling Season will make more tokens, but they will all be inside that chest. I'm pretty sure there must be cards that already do something similar.Xander9009 wrote:Simple way, store the token in a data chest, and then grant the chosen creature type and color to that token. I have my doubts this would work.
Yeah, that's what I was intending. And there are cards that already do this, the most notable of which that come to mind are the restricted mana cards, but I know there are others.thefiremind wrote:It would work with just a little change: once you have given the chest as argument to the token creation function, grant the chosen creature type and color to all tokens in the chest (save the chest count preemptively and loop with a for, because you can't assume that tokens will cease to exist starting from the last index). Cards like Doubling Season will make more tokens, but they will all be inside that chest. I'm pretty sure there must be cards that already do something similar.Xander9009 wrote:Simple way, store the token in a data chest, and then grant the chosen creature type and color to that token. I have my doubts this would work.