DawnbrandBots / yaml-yugi

A machine-readable, human-editable database of the Yu-Gi-Oh! Trading Card Game, Official Card Game, Master Duel, Rush Duel, Speed Duel.
https://dawnbrandbots.github.io/yaml-yugi/cards.json
GNU Affero General Public License v3.0
13 stars 2 forks source link

Recognize alternate arts with the same set number #197

Open SantiagoRivera92 opened 3 days ago

SantiagoRivera92 commented 3 days ago

Some cards like Rescue Cat have alternate artworks in certain sets.

It would be extremely useful if we could have separate printings for alternate artwork and regular artwork for sets that include both in the same set (such as Rarity Collection 2 for Rescue Cat) listed.

kevinlul commented 2 days ago

Is this information on the wiki? That should be the first step. As far as I know, the *_sets CardTable2 fields do not indicate the artwork variant for the print.

SantiagoRivera92 commented 2 days ago

Not for individual cards, but you can find the information in the Card Gallery for individual sets.

Cards that have 2 printings including the original art (such as Rescue Cat in RA02) have the alternate art printed with ";AA" Cards that have more than 2 printings including the original art (such as Firewall Dragon in MGED) have the alternate arts printed with ";AA", ";AA2", etc Cards that have more than 2 printings not including the original art (such as Dark Magician Girl in RA03) have the alternate arts with ";2", ";3", etc.

kevinlul commented 2 days ago

Okay, there may be something there if we start with say fetching https://yugipedia.com/wiki/Category:Worldwide_English_Set_Card_Galleries in yaml-yugipedia. Do these "AA" labels correspond with the labels for the art in CardTable2?

SantiagoRivera92 commented 2 days ago

These labels seem to correspond with the labels for the art in sets that have multiple printings, but Dark Magician Girl definitely doesn't. Most cards have 1 artwork, and the majority of cards that have an alternate artwork just have the 1.

Blue-Eyes White Dragon, Dark Magician, Dark Magician Girl, etc might require special handling since they're more of an exception than a rule. That said, just knowing there's 2 different printings in a single set would be huge already.

SantiagoRivera92 commented 2 days ago

Also there's special cases (such as Genex Ally Birdman in Battles of Legend: Terminal Revenge) that have different arts inside the same set but don't share a set number. Those should be handled correctly already though. It's the ones that share a set number that aren't being duplicated for each printed art.

Also RA03 introduces the concept of alt arts only available as Quarter Century Secret Rares (cards like Sky Striker Ace - Shizuku or Dragonmaid Hospitality come to mind, but I'm sure there's more) which introduce their own layer of complexity.