Changing Cost Parsing Punctuation
This is related to issue 96
Originally, I had used commas to separate costs in the valid form from each other because that's a common use for commas. However, since certain magic cards have commas in them, it causes an issue when the name of the card needs to appear in the cost. Right now, only two cards use a comma in the Cost portion: Knight of the Reliquary and Surge of Strength.
So I'm considering changing Cost to separate by semicolon instead of by commas (or some other punctuation if that makes more sense). This would allow us to convert Baru, Fist of Krosa and friends to AFs (well at least the Green Red and Black ones). The other two can at least than use abCost in a code block if someone feels like coding that up.
I'd rather this not be confusing, where Cost uses semicolons to separate and Target uses commas. So I'm considering moving all of those over as well. It looks like there are 100+ of those.
Any opinions about this? I'm in the middle of getting the developer mode menu options up, but once I'm done with that I think I might clean this up next. Is there anything I might be missing by going down that path?
Originally, I had used commas to separate costs in the valid form from each other because that's a common use for commas. However, since certain magic cards have commas in them, it causes an issue when the name of the card needs to appear in the cost. Right now, only two cards use a comma in the Cost portion: Knight of the Reliquary and Surge of Strength.
So I'm considering changing Cost to separate by semicolon instead of by commas (or some other punctuation if that makes more sense). This would allow us to convert Baru, Fist of Krosa and friends to AFs (well at least the Green Red and Black ones). The other two can at least than use abCost in a code block if someone feels like coding that up.
I'd rather this not be confusing, where Cost uses semicolons to separate and Target uses commas. So I'm considering moving all of those over as well. It looks like there are 100+ of those.
Any opinions about this? I'm in the middle of getting the developer mode menu options up, but once I'm done with that I think I might clean this up next. Is there anything I might be missing by going down that path?