16 Commits

Author SHA1 Message Date
Peter
cc638493e7
decode files as utf-8 on load (#209) 2018-07-30 15:12:05 -07:00
Peter
bea714dfb8
Python 3 Compatibility (#208)
* make python3 compatible; clean up test reqs a bit
2018-07-30 12:03:36 -07:00
Wendel Voigt
236feff33c Additional Divider Options: Curse, Trash, Start Decks - 2nd attempt (#201)
* Trash, Curse, Start Deck Options
2018-04-30 10:11:01 -07:00
Wendel Voigt
a33ec8f6d7 Expansion Randomizer Count Fix (#196)
* Program changes for Randomizer correction
* Card DB changes for Randomizer fix
* Better expansion divider card listing
* Base cards now sorted in preferred order.
* Added randomizer field
2018-04-28 10:29:27 -07:00
Wendel Voigt
11257093f2 Add option to add pdf page with option information (#198)
This adds options --info and -info-all:
--info to add a page that has all the options used for the PDF file.
--info-all is the same as --info, but includes pages with all the possible options that can be used.
2018-04-06 15:57:49 -07:00
Michael Tuttle
b818f7cb7d standardize arguments to use hyphens (#167) 2017-12-11 10:52:35 -08:00
Wendel Voigt
559a8723c0 Fix for base cards printing with expansions (#182)
* Fix for base cards printing with expansions

* Allow base set and base cards in expansions

This changes the existing behavior to allow both the printing of the base set as well as printing base cards with expansions that have them via the --base_cards_with_expansion option.  Prior behavior would eliminate the base set if printing with the --base_cards_with_expansion option.
2017-12-11 10:47:49 -08:00
Nick Vance
4fa5c40a1e New Updates for Nocturne & Dismantle Promo (#171)
- Update db for Nocture and Dismantle
- Add the expansion text blurbs to the expansion dividers if printed
- Improvements to the language update/propagate script
2017-11-28 10:02:21 -08:00
Sébastien Wautelet
a89170fd44 fix for correctly sorting card names with accents (#169)
* fix for correctly sorting card names with accents
2017-11-17 16:21:11 -08:00
Peter
4d69a58411 Preview option (#163)
- fixes for preview code, and options to use it
2017-10-07 12:10:51 -07:00
Sumpfork
a092fca9e6 separate cleaning options from parsing them so the online generator can clean its faked options 2017-04-21 11:03:23 -07:00
Peter
c5c876f8c5 animals user expansion from BBG user rillaith (#148)
* animals user expansion from BBG user rillaith
* Added fan attribute to animals set
* animals.png - This is not the best image.  But it is the best I could get from the original files. I *think* it is 3 penguins.
* updated main.py for fan based expansions
This includes two items:
1) adds --fan for specifying fan expansions to include
2) adds wild cards in specifying both --expansion as well as --fan.  This also fixes issue #149
* Updated all language files for animals
* Normalize all line endings and add gitattributes file to make git do so in the future
* print the possible expansions when non-matching ones are provided
* Allow for no official expansions to be included
Kept the default behavior.  Not specifying '--expansions' will have the same outcome as '--expansions *' (i.e., will print all of them.)
Specifying '--expansions  ' (without any named expansions) or '--expansions none ' will result in no cards from any Official expansion.

For Fan expansions, the absence of '--fan', '--fan   ' (without any named fan expansion), and '--fan none ' will all prevent any Fan expansions from printing.
* Cleaned up expansion/fan lists
2017-03-25 21:39:49 -07:00
Sumpfork
f1fda6fd75 move order choices into constant 2017-01-03 11:08:15 -08:00
Wendel Voigt
4cf97b303a Added 'base' to the list of expansion choices 2016-12-31 09:13:51 -06:00
Wendel Voigt
1d50eb7376 Fix CardSorter use of Base cards (#137)
* enforce specific base card order
* use base card `cardset_tag` instead of card set name to find base cards
2016-12-20 16:37:58 -08:00
Peter
f47d9ee17b Make better package (#132)
* make domdiv a better behaved python package (see #131)
* move code from __init__.py to main.py to make import quicker and make version work without dependencies
* update languages import to use pkg_resources, fix tests
* update readmes
* change font lookup, font readme notes
2016-12-15 16:29:48 -08:00