Post by prismdaisy on Sept 20, 2020 3:22:20 GMT
Hello everyone!
I'm almost done making a template for the more recent tokens (Ikoria and beyond) but I've hit a couple bangs (problems). I really hope some of you can help me. I am not a coder so here is one of the problems.
On the newer tokens, white tokens use black font for the Name line while the others use white. I totally figured out what to do for just the white card but when I select multi or hybrid the font is still black. So I figured out multi:
script:
if contains(card.card_color, match:"white") and
not contains(card.card_color, match:"multicolor") then rgb(0,0,0)
else if contains(card.card_color, match:"white") and
contains(card.card_color, match:"multicolor") then rgb(255,255,255)
else rgb(255,255,255)
How do I add hybrid to this so that it works when selecting one or the other? I've tried about half a dozen different things and I can get multi to turn white but not hybrid! I'm sure I'm not even close with my coding. Next problem:
On white cards the image for Name line is flat.
(I still have a few cosmetic adjustments to do so bare with me!)
When I add a color:
What I want it to look like:
Because the white card is flat the white font doesn't show up well. What I would like to do is call a different wcard image, for example wcard3.png just to use with multiples and hybrids, one that has a gradient background like on the real token cards. Question is- is that even possible and what would be the coding!!!?!
I appreciate anything you can do to help me on this!
FYI, all my images are Royalty free from pixabay.com