Post by hydraheadhunter on Mar 29, 2019 22:34:26 GMT
In order to increase creative options, I want to add options to the color of the card so that end users of the style can have the cards appear in any permutation (instead of just wubrg / grbuw). To do this I need to program an offset for three color cards and offset and color swaps for four and five color cards.
I've got offset mostly working by adding it to the color options of the card fields (and color options 2 for dfc and maybe splits: haven't tested it for splits yet). New-blends takes the sum of all chosen offsets adds the color index and then mods that value by the number of colors.
The problem I have with the current implementation of offset right now is that it behaves like wubrg colors and I want it to behave like blend styles (horizontal, vertical, radial). That is that I want it so that choosing an offset unchooses each other offset. How do I make it do that?
And for swaps, I have no idea how to implement it: other than putting it in the color options so it can be clicked on, I have no idea how to make it function.