Commit Graph

113 Commits

Author SHA1 Message Date
Mark Wolfman 23b4bd2559 Fixed tests: needed defaults for making character sheets for NPCs (e.g. GM notes). 2022-01-22 14:49:13 -06:00
Mark Wolfman 8deecf8d5c Fixed bug where all monster spells show up as concentration. 2021-11-03 21:42:33 -05:00
Mark Wolfman 5d2f61fe6f Added command line argument for using the LaTeX character sheet template. 2021-09-30 21:40:23 -05:00
Mark Wolfman c38d8172d2 Merge branch 'master' of https://github.com/bw-mutley/dungeon-sheets into bw-mutley-master 2021-09-30 21:16:36 -05:00
Mark Wolfman 5b8ef004c7 Added party XP thresholds to GM sheets. 2021-09-30 21:10:34 -05:00
bw-mutley b012c8388c Merge branch 'canismarko:master' into master 2021-09-08 11:09:51 -03:00
Mark Wolfman 4f8a0e442b When resolving +1 weapons, replaced check for inheritance from Weapon
with check for *improved_version* method.

Fixes https://github.com/canismarko/dungeon-sheets/issues/112
2021-09-07 20:10:53 -05:00
bw-mutley 6248165ab3 Merge branch 'canismarko:master' into master 2021-09-02 09:17:16 -03:00
Mark Wolfman e7ccb6f9f3 Added more flexible way of specifying random tables in the GM sheet. 2021-08-11 21:56:03 -05:00
bw-mutley fe88987db1 Add files via upload 2021-08-09 18:48:29 -03:00
Mark Wolfman 8a46ed31db Renamed *extra_sections* to *extra_content* and added documentation for the feature. 2021-08-07 23:45:36 -05:00
Mark Wolfman 92b301a8e0 Made a Content base class, and changed GM extra content interface. 2021-08-07 21:18:34 -05:00
Mark Wolfman 6bfaddf821 GM notes can now include arbitrary additional sections as attributes. 2021-07-24 17:40:21 -05:00
Mark Wolfman 5183a6301d Added character portraits from @vincentmalloy.
Merge https://github.com/canismarko/dungeon-sheets/pull/100
2021-07-21 17:18:31 -05:00
Mark Wolfman 3df1906156 GM notes EPUB now contains monster spell descriptions. 2021-07-13 21:43:28 -05:00
Mark Wolfman f4f101e39c Monsters now have a spells attribute that will eventually hold a list of spells. 2021-07-13 00:13:04 -05:00
Mark Wolfman d110ef6cda Bug fixes and EPUB CSS improvements. 2021-07-11 23:03:36 -05:00
Mark Wolfman e40d6b1a20 When making GM session notes as epub, the party character sheets are also included. 2021-07-11 13:07:40 -05:00
Mark Wolfman 88bdd59fdd Added spell list to the epub, and cleaned up dict-list style sheet. 2021-07-11 12:35:22 -05:00
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