* Add LCI and LCC Tokens
*Adds 10 new tokens
*Adds 28 set lines for reprinted tokens
*Relates all new and reprinted tokens to new cards in LCI and LCC
*Adjusts Oracle text for tokens with new reminder text
* fixes
* Add Missing Paren
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Revise "x=1" and "x=0" to "x"
*Changes a few instances of `count="x=1"`and `count="x=0"` to `count="x"` for consistency in how `count` is handled.
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add WOE and WOC Tokens
* Adds 12 new token entries
* Adds 21 set lines for new art for reprinted tokens
* fix names of adventure cards
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add MAT Token Relations
*Adds token relations for Pia Nalaar, Consul of Revival and Rocco, Street Chef
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add CMM Tokens
*Adds entries for 8 new tokens
*Adds set lines for 69 reprints
*Splits entries for 3/1 R Elemental and 3/1 R Elemental with Haste and for 1/1 R Elemental and 1/1 R Elemental with Haste as WotC has decided to print those tokens with Haste again and not all the reverse-related cards make tokens with Haste
*Changes text for Chandra, Torch of Defiance to reflect new oracle text
*Changes reverse-related for Lightning Coils to count="x=5" since it should always make at least 5 tokens when it goes off
* sorting
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add LTR and LTC Tokens
*Adds entries for 5 new tokens and set lines for 5 reprints from LTR
*Adds entries for 5 new tokens and set lines for 10 reprints from LTC
* Change 'Tolkien' to 'Token'
* fixes
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Fix Transforming Tokens
*Adds attach="transform" to Phyrexian Incubator, Day, and Night to allow tokens to transform using the context menu
* Sort related on top
* sort
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add MOC Tokens
*Added entries for 3 new tokens
*Added set lines for 40 reprinted tokens
*Corrected several instances of "exlude"
*Excluded tokens from The Argent Etchings
* Remove excludes that don't do anything
See https://github.com/Cockatrice/Magic-Token/pull/222#issuecomment-1503739091
* Add missing token relations
Goro Goro and Satoru
Slimefoot and Squee
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add MOM Tokens
*Added entries for 13 new tokens
*Added set lines for 8 reprinted tokens
*Reverse-related an existing Knight token to Elspeth's Talent
* Add Dinosaur Art
* mark transforming cards as exclude, sort
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add BRC Tokens
*Adds entries and art for 2 new tokens
*Adds set lines for 12 existing tokens
* Relate Staff of Titania (BRC) to Dryad (BRO)
* add missing >
* add titania relation
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add image to banana token
*Card picture is a public domain picture of a bunch of bananas with a GIMP olify applied
*Card made in mtgdesign
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add Token Entries and Relations for Heroes of the Realm
*Adds 10 new token entries (8 tokens and 2 emblems) for tokens made by cards in Heroes of the Realm Sets
*Adds Heroes of the Realm relations to 3 existing tokens
* Fix ampresand
* Fix Indents
* sort tokens
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* Add Token Images from Arena
*Adds entry and image for Karn, Living Legacy's Emblem (from MTG:Arena)
*Replaces user generated Unicorn token with the token from MTG:Arena
* Revert Unicorn token image
* Change Emblem to jpeg for consistency
* Back to png
* Correct duplicated url
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* set xsi to http instead of https
* update check_links.yml
* use env. context
* remove continue-on-error
* all at once
* step name
* update version to 20230313
---------
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
* Add J22 Tokens
*Adds artless entries for 3 new tokens (no physical print available)
*Adds reverse-related lines to 5 existing tokens
*Adds excluded count="x" for Zendikar's Roil to allow for making multiple tokens at once off multiple lands triggering landfall
*Replaces "x=1" with "x" for Iridescent Hornbeetle to conform with style rules
* update version
---------
Co-authored-by: ebbit1q <ebbit1q@gmail.com>
* add missing excludes for double entries
cockatrice will actually implicitly mark the second reverse-related tag
on the same token as exclude, however we prefer to mark them explicitly,
there are only two relations that we happened to have this wrong
lazy bash:
tag="reverse-related"
relationrx="( *)<$tag([^>]*)>([^<]*)</$tag>"
exclude='exclude="exclude"'
while IFS= read -r line; do
if [[ $line =~ $relationrx ]]; then
space=${BASH_REMATCH[1]}
args=${BASH_REMATCH[2]}
name=${BASH_REMATCH[3]}
if [[ $last_name && $name == "$last_name" ]]; then
if [[ ! $args =~ $exclude ]]; then
echo "$space<$tag$args $exclude>$name</$tag>"
continue
fi
else
last_name=$name
fi
else
last_name=""
fi
echo "$line"
done <tokens.xml | sponge tokens.xml
* update version to 20230311
---------
Co-authored-by: github-actions <github-actions@github.com>