Skip to content

Conversation

theelk801
Copy link
Contributor

The card itself is fine, I just wanna make sure we're handling the // in the name correctly.

tracking #13875

cards.add(new SetCardInfo("Plains", 194, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Risky Research", 62, Rarity.COMMON, mage.cards.r.RiskyResearch.class));
cards.add(new SetCardInfo("Romantic Rendezvous", 86, Rarity.COMMON, mage.cards.r.RomanticRendezvous.class));
cards.add(new SetCardInfo("SP//dr, Piloted by Peni", 147, Rarity.UNCOMMON, mage.cards.s.SPDrPilotedByPeni.class));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to replace by some symbols like ii (like other non ascii card names does). There are possible many problems including system file names, import, card naming, etc.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also there are much more places with "//" usage to check/fix:

shot_250724_190730

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we just change it to SP/dr since a single slash isn't a problem

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you change the name internally, make sure it works with deck imports from the various importers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No needs in single /. Maybe it's better to add // support, but it require addition unit and manual tests with it.

Possible places to check/improve:

  • deck editor's deck save and load with that card (possible problems: unknown card or wrong layout error);
  • deck editor's import from clipboard/text, deck's import from another formats (possible problems: unknown card);
  • deck editor's searching (possible problems: can't find card name);
  • image's download from gatherer (possible problems: can't find card image, can't save);
  • image's download from scryfall (possible problems: can't find card image, can't save);
  • image's download from custom scryfall like cards/tokens (possible problems: can't find image, can't save);
  • gui's drawring (possible problems: can't load card image);
  • gui's m15 render mode (possible problems: wrong name or type drawing);
  • game's card name searching/lookup for name choosing in the ability, e.g. choose dialog (possible problems: can't see card name in the list);
  • game's same card name compare, e.g. ability's effect to find same card name (possible problems: can't find card with same name);
  • test's same card name compare (possible problems: can't find card with same name);
  • test's addCard, cast, setChoice/Target with that name (possible problems: can't find card with that name);

@JayDi85 JayDi85 changed the title Feature/implement spdr piloted by peni Feature/implement spdr piloted by peni and new card name style Jul 24, 2025
@theelk801 theelk801 changed the title Feature/implement spdr piloted by peni and new card name style [SPM] Implement SP//dr, Piloted by Peni Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants