Hey, Splinterverse, if you've got time for it, the mana functions are ready to be distributed to more cards. I just realized I actually already coded the mana functions to work for 3 colors, just not more. I added the code to
Arcane Sanctum and went to "fix" the functions when I realized they were already working for it. I tested it, and it's working exactly as it should.
I've also got 4 and 5 color combinations working. I tested with
Chromatic Lantern, and it seemed to work fine. That said, I don't think it'll work well with granting auto-tap mana abilities, so for the moment, the lantern only grants the manual mana ability. But its own ability, and thus the usable code for other "

: Add one mana of any color to your mana pool" abilities is now ready.
It's
exactly the same as dual lands: paste the code and make sure the RSN_MarkCanProduceMana function is correct.
It'll fail gracefully if it can produce all five colors of mana as well as colorless. You can manually produce any color or colorless, and you can get to the auto-tap options, where you can select any options
except to go back to the manual options. That one will be cut off, so going to the auto-tap options in such a scenario would force you to select one even if you don't want to, but that's very minor, not to mention rare (and you can always just choose the same auto-tap option currently in effect anyway). That said, this entire paragraph is theoretical and completely untested.
There are four things left to do.
1: Find a way to get granted mana abilities (
Citanul Hierophants) to interact properly with innate mana abilities (
Iron Myr).
2: Find a way to get granted mana abilities to interact properly with other granted mana abilities (2x
Citanul Hierophants). Currently, there's potential for each to be set to auto-produce

and will produce more mana than it should be able to, I think.
3: Distribute the code to all mana producers that can have it, including single mana producers (excepts basic lands).
4: Distribute code for irregular mana cards (
Azorius Chancery).
Unfortunately, I'm not initially certain how to manage any of these except for number four, e.g. how to get
Azorius Chancery working. I've already done that, and I've also tested it to ensure it works with an ability like "

: Add

or

to your mana pool." That kind of ability doesn't exist, yet (as far as I know), but it might be useful for some hypothetical card like
Cascade Bluffs without the {U/R} cost. (Unnecessary now, but maybe helpful for the future.)
These irregular ones are NOT the same as normal ones. They're each unique and have more that needs to be changed on each card. Most notably, they call a different function with different parameters: CW_Mana_ChooseManaOptionIrregular(...), where "..." is a list of comma-separated strings, each representing a single option. So, for the normal
Azorius Chancery:
- Code: Select all
CW_Mana_ChooseManaOptionIrregular("{W}{U}")
And for the fake one that can produce

or

:
- Code: Select all
CW_Mana_ChooseManaOptionIrregular("{W}{U}", "{B}{R}")
When asking the multiple choice question, it will always display the card the ability is on. If another card needs to be displayed for some reason, it can be included in the list of strings
- Code: Select all
CW_Mana_ChooseManaOptionIrregular(oTargetCard, "{W}{U}", "{B}{R}")
Highly unlikely to be needed anywhere, but possible.
Also, all mana combinations consisting of 5 or fewer colors (and not colorless) have text. The text for "Auto-tap for

." (or whatever color) is only in English, but the manual mana abilities are covered for all languages. (Of course,

on its own is covered, just not in combination with others.) Nearly 4,000 combinations. (I completely rewrote the mana section of
Azorius Chancery, so I updated the author tag and removed the edit info since it would only cause confusion (left you as the original author, but added myself as an author as well for that card).