1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-02-18 03:00:15 +00:00
mage/Utils
2022-05-17 21:26:03 -04:00
..
picks
release
build-and-package-console.pl
build-and-package.pl
cardClass.tmpl [NEO] Implementing Compleated mechanic and hybrid phyrexian mana (ready for review) () 2022-02-10 10:25:23 -05:00
cardExtendedClass.tmpl
cardExtendedLandClass.tmpl
cardSplitClass.tmpl
cut.pl
de-dup-cards-data.py
extract_in_wiki_format.pl
find_new_cards.pl
gen-card.pl [40K] Implementations for the Implementation God! 2022-05-12 21:18:36 -04:00
gen-existing-cards-by-set-author.pl
gen-existing-cards-by-set.pl
gen-list-cards-for-set.pl
gen-list-implemented-cards-for-set.pl
gen-list-unimplemented-cards-for-set.pl
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
get_spoiler_txt_ixa.bat
keywords.txt Implementing Blitz mechanic (WIP) () 2022-04-24 12:03:25 -04:00
known-sets.txt [40K] added set and spoiler 2022-05-12 19:34:37 -04:00
modo_artids
mtg-cards-data.txt [CLB] updated spoiler and reprints 2022-05-17 21:26:03 -04:00
mtg-sets-data.txt [40K] added set and spoiler 2022-05-12 19:34:37 -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