Commit Graph

94 Commits

Author SHA1 Message Date
Mark Wolfman 8be06d2ffe Epub now contains character sheets information. 2021-07-11 09:13:55 -05:00
Mark Wolfman 50754f7d5d Added ability to make epub files for character sheets (missing stats and spell list). 2021-07-07 22:32:20 -05:00
Mark Wolfman a31b9eb42c Moved mod_str function from forms.py back to stats.py, and black formatting. 2021-07-07 10:29:46 -05:00
Mark Wolfman 8a054b335f Added table of contents to epub. 2021-07-06 23:48:36 -05:00
Mark Wolfman b1e69182eb Added a CSS file to the epub output format. 2021-07-05 22:54:23 -05:00
Mark Wolfman 22dd8894bc Ability to output GM sheets as EPUB files (without CSS for now). 2021-07-04 23:19:44 -05:00
Mark Wolfman 084ea27d00 Bug fix when generating a DM sheet with no random_tables entry. 2021-07-01 21:01:41 -05:00
Mark Wolfman 4e11af7acd Added an option to put random tables into the GM notes. 2021-06-21 16:49:40 -05:00
Mark Wolfman c5672f950f Fixed broken test and added ability to put session summary into GM notes. 2021-06-16 10:08:59 -05:00
Mark Wolfman cc430720fb Added a content registry, so homebrew content can be referenced by name. 2021-06-13 14:29:57 -05:00
Mark Wolfman 72af80f991 Fixed some stale code from a PR and fixed monk unarmed strike when importing from Foundry.
Pull-request https://github.com/canismarko/dungeon-sheets/pull/96
introduced some regressions in terms of the model between
``Character`` and ``Entity`` classes. These were cleaned up.
2021-06-12 13:55:21 -05:00
Mark Wolfman 2312f50d07 Merge pull request #96 from Tim-Jackins/master
Adding the second page of the standard character sheet to the generation (WIP)
2021-06-12 13:14:10 -05:00
Mark Wolfman bd895c4efc Cleaned up the PDF for GM monster stats. 2021-06-09 21:22:12 -05:00
Jack Timmins b4150c5f28 Merge branch 'master' into master 2021-06-09 01:13:10 -04:00
Mark Wolfman 62f6876f69 Added party stats for the GM notes sheet. 2021-06-06 23:07:04 -05:00
Mark Wolfman 3d8b9987db Fixed broken test and cleaned up with flake8/black. 2021-06-04 11:36:35 -05:00
Mark Wolfman 905ecee4c9 Now creates GM sheet PDF, but with monsters only. 2021-06-03 23:35:42 -05:00
Mark Wolfman 3b8dbc0566 Prepared package for adding GM sheets.
- Improved test coverage in ``make_sheets.py``.
- Refactor file loading to make it more flexible.
- Added a stub ``gm.py`` example.
2021-06-01 22:51:10 -05:00
tim_jackins ca4bed23cf Functions to build 2nd page of the character sheet 2021-05-28 11:26:56 -04:00
Mark Wolfman d2df428969 Removed a deprecated test. 2021-05-21 10:02:41 -05:00
Mark Wolfman 90e362055a Added ability to parse JSON files exported from Foundry. 2021-05-21 09:47:40 -05:00
matsavage 94730d2f2d fixes problem with PDF generation 2021-05-09 16:31:16 +01:00
matsavage eeef6c3e96 removes debug print statement 2021-05-05 18:40:28 +01:00
matsavage 40177e783f updates infusions 2021-05-05 18:14:23 +01:00
matsavage 631a320d84 splits out features to multiple templates and added DnD styling 2021-05-05 18:02:04 +01:00
matsavage a097e55fbd first pass at druid shapes to monster blocks 2021-05-04 23:08:32 +01:00
matsavage 406b4d004d spells also ordered by level 2021-05-04 22:31:03 +01:00
matsavage 8dbc5c2359 changes spell levels to ordinals 2021-05-04 21:56:53 +01:00
matsavage 508c93911f first pass at creating singular tex file 2021-05-04 21:06:14 +01:00
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