LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Ritashi on September 16, 2012, 10:55:38 PM

Title: Tokens
Post by: Ritashi on September 16, 2012, 10:55:38 PM
I've seen that a plugin can define Token cards which will show up in the Tokens menu in game; however I have seen no documentation anywhere of how to actually go about defining them in the plugin.  If I could get a quick explanation of how they are defined (I'm guessing they're an entry in carddata.txt from what I've seen) I'd greatly appreciate it.
Title: Re: Tokens
Post by: Trevor on September 16, 2012, 10:58:10 PM
Make a column in the card data file be "Type" and include "Token" in a card's entry. I believe that's all you need to do.
Title: Re: Tokens
Post by: Ritashi on September 16, 2012, 11:34:43 PM
Thanks! And immediately after seeing your response, I notice that it's clearly explained in the relevant section of the plugin tutorial, and I somehow failed to notice it when I first read through it.   ::)