Commit Graph

361 Commits

Author SHA1 Message Date
Mark Wolfman 700541a35d New function to combine dice, and use this function for hit dice.
Fixes: https://github.com/canismarko/dungeon-sheets/issues/84
2021-08-08 13:23:15 -05:00
Mark Wolfman 339dd61bce Fixed spell list for Dao monster and version bump to 0.17.0. 2021-08-08 00:10:03 -05: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 1c0c13df72 Register content by module name, to avoid circular imports. 2021-08-07 22:51:44 -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 a18b6df3bb Magic items now can add to saving throw modifiers, and added
Ankylosaurus back in.

This is all or nothing at the moment, so all saving throws get the
same bonus.

Fixes: https://github.com/canismarko/dungeon-sheets/issues/101
2021-08-05 21:34:27 -05:00
Mark Wolfman a1659873dc Quick fix to module loading when using fancy D&D sheets. 2021-08-05 14:38:24 -05:00
Mark Wolfman 1e6d877e7c Merge pull request #103 from matsavage/latex_environment
adds DnD tempate as submodule
2021-08-05 14:11:55 -05:00
Mark Wolfman dfa47f957c Recreated monster definitions with different restructured text layout. 2021-07-25 23:52:40 -05:00
Mark Wolfman 6bfaddf821 GM notes can now include arbitrary additional sections as attributes. 2021-07-24 17:40:21 -05:00
mat b46c68eae4 fixes submodule 2021-07-22 15:03:39 +01:00
mat 8db45f1651 updates setup.py to bring dungonsheets deps into site-packages 2021-07-22 14:52:05 +01:00
mat e758ab6a15 updates relative import to / 2021-07-22 14:34:01 +01:00
mat dd2c1cc56e moves submodules 2021-07-22 14:30:21 +01:00
mat 4b8458c646 adds DnD tempate as submodule 2021-07-22 14:10:41 +01:00
Mark Wolfman a1a5d7783a Merge branch 'vincentmalloy-master' 2021-07-21 17:19:16 -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 ee7d5de601 Added background paper to epub output. 2021-07-14 13:01:49 -05:00
Mark Wolfman 70cb8ae30f Tweaked the style sheets for fancy decorations in epub. 2021-07-13 22:37:13 -05:00
Mark Wolfman 3df1906156 GM notes EPUB now contains monster spell descriptions. 2021-07-13 21:43:28 -05:00
Mark Wolfman d26f520666 Epub for gm notes now prints monster spells, if specified. 2021-07-13 12:28:56 -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 f020eaccc6 Cleaned up the display of spell components.
Fixes https://github.com/canismarko/dungeon-sheets/issues/91
2021-07-11 12:47:48 -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 05aec37352 Cleaned up docstrings on monsters. 2021-07-05 09:54:06 -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 aed864b093 Version bump to 15.1 2021-07-03 14:36:26 -05:00
Mark Wolfman dbea8f5dce Character sheet PDF's now have outline bookmarks. 2021-07-01 22:29:42 -05:00
Mark Wolfman 27cbd7c8a2 Foundry reader now properly read max HP (formerly read current HP). 2021-07-01 22:13:53 -05:00
Mark Wolfman d678002131 GM session notes PDF now has a outline. 2021-07-01 22:09:27 -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 086134215c Reformatted docstrings for monsters 'a'. 2021-06-20 17:17:18 -05:00
Mark Wolfman 967b285e27 Added specific weapon subclasses to dungeonsheets.mechanics.
fixes: https://github.com/canismarko/dungeon-sheets/issues/99
2021-06-19 22:01:43 -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 a9c893a4e3 Fixed some content details. 2021-06-15 06:24:42 -05:00
Mark Wolfman 57cb094d2e Fixed a bug where skill names with spaces were not recognized as proficient. 2021-06-13 17:50:53 -05:00
Mark Wolfman 5a037d3c98 _resolve_mechanic no longer accepts a *module* argument since it uses the content registry. 2021-06-13 14:58:43 -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 1abfcaf657 Fixed broken tests. 2021-06-12 15:37:10 -05:00
Mark Wolfman 6dcd20f877 Spell list now only includes prepared spells if the list would overflow the available lines. 2021-06-12 15:02:00 -05:00
Mark Wolfman 2f26cbd951 Tweaked inspiration, and added example of cascading sheets. 2021-06-12 14:07:39 -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