mage/Utils
2015-02-23 23:57:20 -06:00
..
picks
release * Fixed a bug in calculation of available mana that can be a source of heavy server load. 2015-02-13 08:39:44 +01:00
_unimplemented.txt
build-and-package.pl
cardClass.tmpl
cardExtendedClass.tmpl
cardExtendedLandClass.tmpl
extract_in_wiki_format.pl
gen-card.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 * Added some basic logging for deck format validation 2015-01-21 14:40:05 +01:00
gen-simple-cards-by-set.pl
init.txt - Shortcut.lnk
keywords.txt Some minor changes. 2015-01-16 00:57:28 +01:00
known-sets.txt Added WPN Gateway set and reprints, Sol Grail, Spike Rogue, Quirion Elves, Krosan Wayfarer, Crookclaw Transmuter, and Centaur Glade 2015-02-03 00:46:33 -06:00
mtg-cards-data.txt Fixed collector's numbers for Sandsteppe Mastodon [FRF] and Impulse [VIS] 2015-02-23 23:57:20 -06:00
mtg-sets-data.txt Added WPN Gateway set and reprints, Sol Grail, Spike Rogue, Quirion Elves, Krosan Wayfarer, Crookclaw Transmuter, and Centaur Glade 2015-02-03 00:46:33 -06:00
newList.txt
oldList.txt
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