mage/Utils
2012-06-19 23:50:20 +03:00
..
GathererCrawler [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
picks Added pick orders for SOM, M11, ROE, WWK, ZEN. 2011-02-08 11:43:06 +03:00
release Let me get the contribution correct! 2011-10-19 21:19:05 -04:00
build-and-package.pl [RAV] Dark Confidant (request), small fix in package script 2012-05-29 21:25:49 +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
extract_in_wiki_format.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
gen-card.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +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-list-cards-for-set.pl Added script for generating cards list for a set (for unimplemented cards listing) 2011-08-01 21:25:09 +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 Added Persist to keywords list 2012-06-15 08:11:58 +03:00
known-sets.txt [WTH] Weatherlight set and simple cards 2012-05-28 16:00:31 +04:00
mtg-cards-data.txt updated mtg-cards-data (includes Avacyn Restored) 2012-04-28 10:59:12 +03:00
mtg-sets-data.txt Added Avacyn Restored set 2012-04-28 11:26:09 +03:00
pick-convertor.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
readme.txt Added cards. 2011-08-07 16:32:18 +03:00
update-list-implemented-cards.pl [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
version-bump.pl 2 cards, fix version bumping in .git 2012-05-06 23:40:45 +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
gen-list-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