1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-02-18 03:00:15 +00:00
mage/Utils
2013-04-10 16:55:31 +02:00
..
picks
release fix paths 2012-12-28 13:33:15 +13:00
build-and-package.pl
cardClass.tmpl
cardExtendedClass.tmpl
extract_in_wiki_format.pl Updated extract_in_wiki_format.pl (added links to cards). 2012-11-28 10:41:16 +02:00
gen-card.pl 6 USG, fix Abyssal Specter 2012-07-06 18:38:23 +12:00
gen-existing-cards-by-set.pl
gen-list-cards-for-set.pl
gen-simple-cards-by-set.pl
keywords.txt Added land cycling Ability 2013-03-30 19:09:17 +01:00
known-sets.txt Added Commander and Dragon's Maze set objects to MAGE. 2013-04-10 16:55:31 +02:00
mtg-cards-data.txt updated mtg-cards-data.txt 2013-01-23 18:46:05 +02:00
mtg-sets-data.txt Added Commander and Dragon's Maze set objects to MAGE. 2013-04-10 16:55:31 +02:00
pick-convertor.pl
readme.txt
update-list-implemented-cards.pl
version-bump.pl Bump version to 0.9.1dev 2012-08-14 15:28:06 +12: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