mage/Utils
2022-10-30 18:18:47 -04:00
..
picks
release Update *.sh and *.java files to use Unix line endings 2020-07-09 13:07:26 -04:00
build-and-package-console.pl
build-and-package.pl
cardClass.tmpl [NEO] Implementing Compleated mechanic and hybrid phyrexian mana (ready for review) (#8677) 2022-02-10 10:25:23 -05:00
cardExtendedClass.tmpl updated card generation templates 2018-12-20 19:22:11 -05:00
cardExtendedLandClass.tmpl updated card generation templates 2018-12-20 19:22:11 -05:00
cardSplitClass.tmpl updated card generation templates 2018-12-20 19:22:11 -05:00
cut.pl Fixed symbols and images download from wizards; 2019-06-23 18:56:25 +04:00
de-dup-cards-data.py
extract_in_wiki_format.pl
find_new_cards.pl Fixed deck file names for windows perl script compatible 2019-01-16 21:01:09 +04:00
gen-card.pl Change EnchantAbility parameter from String to Target (#9588) 2022-09-29 10:29:48 -04:00
gen-existing-cards-by-set-author.pl
gen-existing-cards-by-set.pl Add code search to github tracking set. 2018-04-17 23:56:55 +10:00
gen-list-cards-for-set.pl
gen-list-implemented-cards-for-set.pl
gen-list-unimplemented-cards-for-set.pl * gen-list-unimplemented-cards-for-set - Some updates to link generation. 2019-01-05 16:14:45 +01:00
gen-simple-cards-by-set.pl
gen_all_files_in_dck.pl
gen_list_duplicate_collector_ids.pl
gen_types_list.pl
get_modo_artids.pl Fixed set codes for the Duel Deck Anthology deck sets. 2020-03-24 17:32:06 +01:00
get_spoiler_txt_ixa.bat
keywords.txt [BRO] Implemented Rust Goliath and dummy Prototype ability 2022-10-30 18:18:47 -04:00
known-sets.txt [J22] added set 2022-10-21 08:38:25 -04:00
modo_artids
mtg-cards-data.txt [BRC] updated spoiler 2022-10-30 14:45:56 -04:00
mtg-sets-data.txt [J22] added set 2022-10-21 08:38:25 -04:00
pick-convertor.pl
readme.txt
update-list-implemented-cards.pl
version-bump.pl

Usage:
gen-card.pl - enter the card name when prompted to generate the java classes
gen-existing-cards-by-set.pl - generates the java clases for the cards from the set of your choice that already have an implementation
gen-simple-cards-by-set.pl - generates the java clases for the cards from the set of your choice that can be completly generated
update-list-implemented-cards.pl
 - generates
  - oldList.txt: list of cards implemented at the time the script is ran
  - newList.txt: list of cards implemented since the last time the script was ran
gen-list-cards-for-set.pl - generates the file for cards for a set
gen-list-unimplemented-cards-for-set.pl - generates the file for unimplemented cards for a set
  
Files used:
 - author.txt - one line file that contains the author name you want to appear in the generated java files
 - keywords.txt - list of keywords that have an implementation and are automatically added to the card implementation
 - known-sets.txt - list of sets used in mage (Set name and Package name)
 - mtg-cards-data.txt - MTG cards data (generated from the Gatherer database)
 - mtg-sets-data.txt - list of sets in MTG and the 3 letters code for each of them