[confirmed]Ashnod's Altar v. animated Bottle of Suleiman

Describe the Bug:
Bottle of Suleiman enchanted by Animate Artifact can be activated when you control no other creatures or mana sources except an Ashnod's Altar. (Click on the Bottle first.)
Which card behaved improperly?
Don't blame the cards, it's not their fault.
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
0dc14d10d - (master) Merge branch 'manalink/master_sep2020'
What exactly should be the correct behavior/interaction?
You can sacrifice the Bottle to pay for its own ability, or the Ashnod's Altar's ability, but not both.
Ideally, the Bottle's title shouldn't even turn yellow. It would be acceptable, but still wrong, for the activation to start but cancel itself after you sac the Bottle for mana, leaving you with two mana in your pool and no coin flip, damage, or Djinn.
Are any other cards possibly affected by this bug?
Yes, indeedy. (I first saw it with the AI trying to sacrifice a Food to Gilded Goose to help pay for sacrificing the Food to gain life.) I only picked this combination because all three are original Microprose cards, and it looks like the original game will exhibit this bug too. (I haven't tested that, since I don't have an unmodified install handy; I doubt anyone else does either. It's at least conceivable someone has an unmodified Shandalar around and is bored enough to try it out, I guess.) This search plus Manalink's approximations of Rain of Filth and Basal Sliver should be comprehensive for the rarer half of this bug: a mana ability with "sacrifice <something else>" in its cost.
It's also possible this can happen the other way, too: something like sac a Black Lotus to get mana to pay for a "
, Sacrifice an artifact: ..." ability.
Tangentially-related aside: Priest of Yawgmoth and Bottle of Suleiman are both original cards, too, but they won't have this bug solely because the original Priest implementation doesn't declare any mana available at all. Neither does the Manalink version of the Priest, though I see now, for the first time, a commented plea in its source for me to make it do so, which has been there since May 2014. Sigh.
Bottle of Suleiman enchanted by Animate Artifact can be activated when you control no other creatures or mana sources except an Ashnod's Altar. (Click on the Bottle first.)
Which card behaved improperly?
Don't blame the cards, it's not their fault.
Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
0dc14d10d - (master) Merge branch 'manalink/master_sep2020'
What exactly should be the correct behavior/interaction?
You can sacrifice the Bottle to pay for its own ability, or the Ashnod's Altar's ability, but not both.
Ideally, the Bottle's title shouldn't even turn yellow. It would be acceptable, but still wrong, for the activation to start but cancel itself after you sac the Bottle for mana, leaving you with two mana in your pool and no coin flip, damage, or Djinn.
Are any other cards possibly affected by this bug?
Yes, indeedy. (I first saw it with the AI trying to sacrifice a Food to Gilded Goose to help pay for sacrificing the Food to gain life.) I only picked this combination because all three are original Microprose cards, and it looks like the original game will exhibit this bug too. (I haven't tested that, since I don't have an unmodified install handy; I doubt anyone else does either. It's at least conceivable someone has an unmodified Shandalar around and is bored enough to try it out, I guess.) This search plus Manalink's approximations of Rain of Filth and Basal Sliver should be comprehensive for the rarer half of this bug: a mana ability with "sacrifice <something else>" in its cost.
It's also possible this can happen the other way, too: something like sac a Black Lotus to get mana to pay for a "

Tangentially-related aside: Priest of Yawgmoth and Bottle of Suleiman are both original cards, too, but they won't have this bug solely because the original Priest implementation doesn't declare any mana available at all. Neither does the Manalink version of the Priest, though I see now, for the first time, a commented plea in its source for me to make it do so, which has been there since May 2014. Sigh.
- Call itself with event=EVENT_CAN_ACTIVATE to see if it can activate at all. If so,
- Find the sacrificeable artifact its controller controls with the highest converted mana cost. (So not an artifact creature with an Assault Suit attached, or artifact creature at all if there's an Angel of Jubilation on the bf, or an Everlasting Lich that's been turned into an artifact. There should be a function to exclude those already.)
- Declare that much black mana available.
- Related to the first half of this bug, don't double-count the Priest for a spell with convoke (or an artifactified Priest for a spell with improvise). I'm still not sure whether it's better to deal with this, or part of this, in the mana source cards' functions.
- Try to account for non-zero-cmc artifacts that can sac themselves for mana, like Composite Golem or Implements of Sacrifice, if you're crazy enough.