Commit Graph

25 Commits

Author SHA1 Message Date
Hamcha 3e00511289
Add JSON output 2019-09-02 17:51:08 +02:00
reimannsum dce65a7332 changed subsorting
changed html to sort colors by type
2016-06-14 23:11:06 -04:00
reimannsum 4bf2d6f219 fixing sorting loop
fixed infinate loop when sorting by CMC, also added slight styling
changes
2016-06-14 15:25:38 -04:00
reimannsum 595d636490 additional sorting
added sorting out of lands and sorting each catagory by CMC
2016-06-14 15:13:12 -04:00
reimannsum 68b512a7e7 added sorting
sorting by color and color coded border boxes for each card. styling for
2016-06-14 13:21:19 -04:00
reimannsum aeb2ff930c HTML override
HTML flag now overrides and forces the forum stylings
2016-06-13 19:54:01 -04:00
reimannsum fcba310d74 Fixed the things I broke
missing styling moved from example files back to source code
2016-06-13 19:47:13 -04:00
reimannsum c24d2e31c2 Fixed missing quotation mark 2016-06-13 17:32:42 -04:00
reimannsum fed25c77f4 Improvements to HTML spoiler
Changed how Creativity card examples are handled as to not flood
magiccards.info and cause it to blacklist computer. Also added forum
spoiler to each card. changed the link for similar cards to the
magiccards.info page.
2016-06-12 22:19:03 -04:00
Bill Zorn 2cd8b03249 added html visual spoilers for nearest cards / names (creativity metrics) 2015-11-09 23:41:45 -08:00
Bill Zorn c9f8f251d5 tweaks and fixes, html mode has a few new features and is mostly working as desired 2015-11-09 19:24:48 -08:00
Bill Zorn ccb112021e Merge branch 'master' of https://github.com/reimannsum/mtgencode into reimannsum-master
Conflicts:
	decode.py
	lib/cardlib.py
	lib/utils.py

Moved massive html header string into a separate file.
2015-11-09 14:10:56 -08:00
reimannsum 0d78b7ab91 updating to the newest version of mtgencode and finishing html support 2015-11-08 20:16:29 -05:00
Bill Zorn b3860eb924 moved general file opening logic to a central location 2015-11-06 20:50:29 -08:00
reimannsum 8f49803581 Update decode.py
Adding support for producing html file outputs.

INCOMPLETE: not sure how to specify how to write the output file for '.html'
not sure how to/if can require only html flag
2015-10-30 11:11:07 -04:00
Bill Zorn 7dbd56a9bd updated encode and decode to use new, unified formats 2015-09-06 20:24:19 -07:00
Bill Zorn 5fbd2dca8e Improved MSE support; lots of cool stuff goes into notes, and bsides work.
Also changed the phrasing of uncast a bit to be clearer for unpasses.
2015-08-14 23:40:47 -07:00
Bill Zorn 438bc86be9 Integration and unbreaking of MSE support changes.
There are still several major issues -
      MSE cards look decent, but there is virtually no text prettification.
      Split cards (bsides) are not supported at all.
      There is no abuse of the notes field to dump additional data yet.
2015-08-11 00:13:31 -07:00
PAK90 29e604cddf Nearly finished planeswalkers, fixed lands, added titlecase for capitalization, fixed choices.
Removed snow mana from land mana cost.
Planeswalkers almost done; need to handle those with loyalty costs above
9.
titlecase.py provides much better capitalization for names and
rulestext.
Choices now have dash and bullet points.
2015-08-08 21:19:00 -06:00
PAK90 1bc3c724a1 Added MSE2 export feature. 2015-08-08 15:03:37 -06:00
Bill Zorn 70bec99138 added support for checking cardnames 2015-08-01 22:16:30 -07:00
Bill Zorn 758f48b790 updated to new mtgjson version and added legacy support for formats
without a rarity field
2015-08-01 13:26:03 -07:00
Bill Zorn 49e386ac4f various improvements, added cbow 2015-07-29 01:21:34 -07:00
Bill Zorn c5231ac947 fixed a few little things 2015-07-17 01:48:12 -07:00
Bill Zorn 747614e355 Added decode script with two supported formats.
Other misc fixes as well, we get all of the choice cards right in the encoding.
2015-07-17 01:13:58 -07:00