v1.13 - Link in OP
Added loyalty support, including initial value and cost.
Removed MID from FILENAME.
Added a new file to the post for LocalInputX99. This file has a variable near the top that points to a folder on your computer. If you provide your input is the same as a file in that folder (do not include extension, and the file must be .txt), then the file will be used for the creation of a DotP-compatible card. The purpose of this input file is to allow easier creation of spoiled cards. I've created a system which will place these needed txt files into a Google Drive folder within an hour of them being spoiled.
However, this file could be used for any card, not just the spoiled ones. To do so, simply make sure it follows this format:
- | Open
- Code: Select all
Name: Proven Combatant
Set: HOU
Cost: 3UB
Type: Basic Creature - Human Warrior
PT: 1/1
Loyalty: 8
Rules: Eternalize {4}{U}{U} |({4}{U}{U}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie Human Warrior with no mana cost. Eternalize only as a sorcery.) |\n{3}, {T}: Investigate.
Flavor: "It's not wise to keep glory waiting."
Artist: Clint Cearly
Rarity: Basic Land
Obviously, this card makes no sense, because I've added several fields to ensure that most of the possible questions are covered.
Name should be the name you want to be displayed.
Set should be a three letter, capital code.
Cost is any mana string (phyrexian mana may or may not be supported...)
Rules is the complete list of all abilities. Separate multiple abilities with "\n". Reminder text (as in the example) will be removed.
The example flavortext has quotes, but that's just the way
Proven Combatant's flavortext is. They're not needed.
Rarity is the English normal rarity. "Common", "Mythic Rare", "Basic Land", etc.
Let me know if there are any questions.
EDIT: Updated input file to V1.1.
Fixed loyalty ability being added when loyalty is blank.
Allowed reminder text to be removed when trailing italicizing pipe is missing.
Added check to reduce double spaces to single spaces.