Commit Graph

115 Commits

Author SHA1 Message Date
matsavage e66be2e60b moves template pdf functions to new file 2021-05-04 18:02:22 +01:00
Mark Wolfman 0c3dbc73fc Fixed bug with textbox formatting. 2021-04-16 11:27:50 -05:00
Mark Wolfman 30369ce1d4 Ran flake8 and black linters, and other cleanup-related fixes.
Project now passes flake8 and black linter (also including more rst
cleanup). Moved latex related things to dedicated ``latex.py`` module,
and removed the ``makesheets -dF`` call from travis.
2021-04-16 11:10:17 -05:00
Mark Wolfman 205093fe32 Added more useful logging output when LaTeX build fails. 2021-04-16 09:17:35 -05:00
Mark Wolfman 4aa43d2bec RST now parses tables. 2021-04-14 07:24:34 -05:00
Mark Wolfman 67adc390cb Fixed unit-tests for RST parsing. 2021-04-14 07:24:33 -05:00
Mark Wolfman 4719ad4305 Switched to docutils/sphinx for parsing docstrings into LaTeX. 2021-04-14 07:23:18 -05:00
Mark Wolfman ccf886b8ae Missing weapons now raise a warning, and recursive directory parsing.
In order to avoid parsing arbitrary python files encountered during
directory recursion, ``makesheets`` now checks each python file for a
string listing the *dungeonsheets_version* before trying to import the
character file.
2020-11-08 14:16:26 -06:00
Mark Wolfman 50ac9f8018 Added ability to import character files in JSON format from VTTES. 2020-11-08 01:11:25 -06:00
Mark Wolfman 839f684b02 Added a test for bulleted list formatting. 2020-10-27 21:24:28 -05:00
Mark Wolfman 6a23931e40 Parsing of lists in spell/feature/etc docstrings. 2020-05-19 16:42:04 -05:00
Mark Wolf c64139db5c Merge pull request #71 from 94d90b08-c4ef-416c-bf7b-b6c5b7275e6a/master
hp_max basic auto-calculation, boolean inspiration
2020-05-19 10:55:26 -05:00
Mark Wolfman a3bf048e70 Parsing of reST headings into LaTeX \section*{}, etc. 2020-05-14 11:52:32 -05:00
Mark Wolf 1c159e87a4 Merge pull request #67 from rkubosz/artificer
Added the Artificer character class
2020-05-13 16:55:26 -05:00
Robert Kubosz da82f37421 turn off multiprocessing if debug 2020-05-13 14:24:20 +02:00
Robert Kubosz 6a5878da93 add multiprocessing
Multiprocessing seems to be working.
Removed unused imports.
Changed output of print statements, because previous ones were unreadable with multiprocessing.
2020-05-13 01:50:33 +02:00
Robert Kubosz 9a526278b3 add infusions
This commit adds infusions for use with Artificer class and adds a latex
form that generates pdf with infusions list.
2020-05-12 13:34:40 +02:00
decay 77da05527f hp_max basic auto-calculation, boolean inspiration 2020-05-11 14:40:45 +03:00
Mark Wolfman 615275f1de Optional support in make_sheets.py for the dndbook LaTeX package with the `-F` flag.
Partially fixes: https://github.com/canismarko/dungeon-sheets/pull/18
2020-05-06 20:48:55 -05:00
Tomáš Heger 9fe0e0f286 Make make_sheets.py runnable directly 2020-05-05 22:23:41 +02:00
Mark Wolfman 33817135a0 All examples now build, plus added examples to travis build. 2020-05-03 22:56:35 -05:00
Tim-Jackins 08ed7da59d Removed non utf-8 characters 2019-09-09 12:45:22 -04:00
Ben Cook 2d7a25724b updated how weapons are handled 2019-01-01 17:11:39 -05:00
Ben Cook 708a39403c testing all new class features 2019-01-01 16:17:00 -05:00
Ben Cook 7f560feedb Added magic items 2018-12-26 19:57:22 -05:00
Ben Cook b73e9848ef Features added and tested for all classes/subclasses in bens campaign 2018-12-26 18:58:25 -05:00
Ben Cook d5a588deb6 confirmed all tests run properly 2018-12-22 17:16:16 -05:00
Ben Cook 943c572d15 changed way class names are handled 2018-12-22 16:16:51 -05:00
Ben Cook 40b070d782 updated so all tests pass except distinct changes to desired implementation 2018-12-22 15:17:58 -05:00
Ben Cook 0dbe54605f Added subclass descriptions 2018-12-21 12:25:02 -05:00
Ben Cook aa84911efd fully tested new multiclass create-characters, with features for races and backgrounds 2018-12-20 22:09:46 -05:00
Ben Cook 371fb327d3 Added all racial features in PHB, EEPC, VGTM 2018-12-20 20:28:35 -05:00
Ben Cook 3e48e0d4cd thorough improvements and checks to create_character 2018-12-20 18:26:44 -05:00
Ben Cook 5a221877dc create-character now works for multiclass and subclasses 2018-12-20 14:00:39 -05:00
Ben Cook 2b1f5981b4 save function now works for a character... need to add defaults if options dont exist 2018-12-20 10:35:50 -05:00
Ben Cook b93b1ac6d7 reorganized spells by name, and added directory for features for each class" 2018-12-20 09:09:38 -05:00
Ben Cook 0ed7262fc8 first features implemented 2018-12-19 16:56:04 -05:00
Ben Cook db76a1924a added new spell functions and custom weapons 2018-12-19 14:33:24 -05:00
Ben Cook e9d3bf989c updated Spells so they auto track concentration and material cost, and display all on spell page 2018-12-19 13:51:49 -05:00
Ben Cook 1629ca7460 v0.7.2: multiclass character now function, with correct spell slots. Need to add MulticlassProficiencies 2018-12-19 11:49:31 -05:00
Ben Cook 8f0ee321a4 test that backward compatability works 2018-12-19 09:34:03 -05:00
Ben Cook 6c634c0429 added first version of multiclass options. Need to test 2018-12-18 22:30:40 -05:00
Ben Cook 274f34fe88 added Aasimar, updated background languages, and corrected a few other issues 2018-12-17 16:47:58 -05:00
Mark Wolfman f10867719d Added feature enhancements for Druid's
- Circle now properly reflects the druid's available wild_shapes
- Unavaiable wild_shapes are not listed on the sheet but ghosted.
- ``spells`` is now longer relevant, only use ``spells_prepared`` in
  the character file.
2018-10-31 18:16:35 -05:00
Mark Wolfman 0e543deee9 Added Druid wild shapes, tweaked armor, and fixed some bugs.
Druid's can now add ``wild_shapes = `` to their character file. "Light
leather armor" is now just "Leather Armor".
2018-10-21 02:09:15 -05:00
Mark Wolfman 3368a435cb Added a fallback PDF routine that uses pdfrw package instead of pdftk utility. 2018-10-17 02:53:11 -05:00
Mark Wolfman 3c3d4be218 Added documentation, currently for writing character sheets only. 2018-10-15 00:52:31 -05:00
Mark Wolfman 0648a08d0c Made pdflatex an optional dependency and a little more reliable. 2018-10-14 15:21:07 -05:00
Mark Wolfman 2c8492485e Minor fixes and minor version bump.
- More reliable clean up of stray temporary files.
- Typos in spell description.
- Separate file for version number.
2018-10-14 13:59:47 -05:00
Mark Wolfman d705a1cb31 Added detailed spellbook for spellcasters 2018-05-03 00:48:36 -05:00