mage/Utils
2011-07-25 22:27:27 +03:00
..
GathererCrawler Added the GathererCrawler project (used for generating mtg-cards-data.txt) 2011-07-23 19:18:37 +03:00
picks Added pick orders for SOM, M11, ROE, WWK, ZEN. 2011-02-08 11:43:06 +03:00
cardClass.tmpl fixed cardClass.tmpl 2011-07-25 22:27:27 +03:00
cardExtendedClass.tmpl Added rarity to generated extended cards. (fixes issue 181) 2011-07-14 23:44:56 +03:00
gen-card.pl Fixed cost generation for multicolored mana. 2011-07-17 15:55:28 +03:00
gen-existing-cards-by-set.pl Added script to generate cards that can be completely generated. 2011-07-17 11:01:04 +03:00
gen-simple-cards-by-set.pl Added script to generate cards that can be completely generated. 2011-07-17 11:01:04 +03:00
keywords.txt gen-card.pl now adds Keyword abilities to generated card (fixes issue 185) 2011-07-16 23:39:57 +03:00
known-sets.txt Rewrote card generation script. (fixed issue 179) 2011-07-13 23:29:20 +03:00
mtg-cards-data.txt gen-card.pl now adds Keyword abilities to generated card (fixes issue 185) 2011-07-16 23:39:57 +03:00
mtg-sets-data.txt Script for generating existing cards for a specific set. 2011-07-11 21:26:55 +03:00
pick-convertor.pl Enchanced pick-order script. 2011-02-08 11:42:28 +03:00
readme.txt Added new script (generates a list of implemented cards) 2011-07-23 19:30:55 +03:00
update-list-implemented-cards.pl Added new script (generates a list of implemented cards) 2011-07-23 19:30:55 +03:00

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

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 implementaion 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