Commit Graph

42 Commits

Author SHA1 Message Date
Mark Wolfman a30dc28100 Added passive insight and investigation for GM notes. 2022-01-13 15:28:56 -06: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
Mark Wolfman 8fab8911cd Monster stat blocks now include XP alongside challenge rating. 2021-08-08 22:01:02 -05:00
Mark Wolfman 7b5aac9247 Added ability-specific saving throw bonuses to magic items. 2021-08-08 17:26:28 -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 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 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 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 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 1abfcaf657 Fixed broken tests. 2021-06-12 15:37:10 -05:00
Mark Wolfman b432e67a35 Added 'Rival Intern' background, fixed bugs, and findattr now removes '/'. 2021-06-09 23:06:48 -05:00
Mark Wolfman bd895c4efc Cleaned up the PDF for GM monster stats. 2021-06-09 21:22:12 -05: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
Mark Wolfman d2df428969 Removed a deprecated test. 2021-05-21 10:02:41 -05:00
matsavage e66be2e60b moves template pdf functions to new file 2021-05-04 18:02:22 +01:00
Mark Wolfman e5ec51b0e7 Ran flake8 and black against tests. 2021-04-16 11:28:05 -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 63c62a17f8 Fixed remaining docstrings to be valid rst, and cleaned up TeX templates. 2021-04-15 22:31:14 -05:00
Mark Wolfman c8577187b0 Added a test to check that all spells are valid rst. 2021-04-14 13:04:46 -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 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 Wolfman a3bf048e70 Parsing of reST headings into LaTeX \section*{}, etc. 2020-05-14 11:52:32 -05:00
Mark Wolfman 33817135a0 All examples now build, plus added examples to travis build. 2020-05-03 22:56:35 -05:00
Ben Cook d723a047c6 updated tests 2019-01-02 15:47:52 -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 3368a435cb Added a fallback PDF routine that uses pdfrw package instead of pdftk utility. 2018-10-17 02:53:11 -05:00
Mark Wolfman 8a53b7c2be Added spell sheet for casters, but not spells yet. 2018-03-28 23:56:11 -05:00
Mark Wolfman e44bb9203b Added weapons, weapon proficiencies, and equipment. 2018-03-28 01:33:34 -05:00
Mark Wolfman d680cdc296 Some more advanced characteristics, different player classes, and a CLI interface. 2018-03-25 23:59:48 -05:00
Mark Wolfman 7862d14c9d Basic implementation, can fill in some attributes on the character sheet. 2018-03-25 21:08:48 -05:00