Commit Graph

77 Commits

Author SHA1 Message Date
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 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 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 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 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 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 4ce68d5642 Added ability for a sheet to inherit from another parent sheet. 2021-06-12 13:15:30 -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 4e4059f44c Merge pull request #97 from stravajiaxen/master
Add all SRD Monsters
2021-06-04 10:51:26 -05:00
Mark Wolfman 905ecee4c9 Now creates GM sheet PDF, but with monsters only. 2021-06-03 23:35:42 -05:00
Matthew DeMartino f05e2ae069 Ankylosaurus is SRD 2021-06-03 21:52:23 -04:00
Matthew DeMartino 1ca5ef16ea Add a couple monsters 2021-06-02 21:14:32 -04: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
Matthew DeMartino ef6e3b4bcb Fix failing character.py tests 2021-05-24 21:45:45 -04:00
Matthew DeMartino ddb9d44354 Remove encounters, refactor Actor into Entity, move more core capabilities into Entity 2021-05-24 20:38:50 -04:00
Matthew DeMartino 601bd0c9aa Remove stochastic unittest D: 2021-05-24 10:34:43 -04:00
Matthew DeMartino f6baaba7ba Address Coverage 2021-05-23 16:18:48 -04:00
Matthew DeMartino 0c24268118 Fix CI -- remove long rest on Agent initialization 2021-05-23 15:52:50 -04:00
Matthew DeMartino 89143c5cbc Finish encounter, test, dice unittest, attack actions 2021-05-23 14:52:18 -04:00
Matthew DeMartino 1243f54823 Create Actions, Executable objects 2021-05-23 00:33:48 -04:00
Matthew DeMartino 947623c42d Refactoring Agent, Character into Agent base class 2021-05-22 23:16:33 -04:00
Matthew DeMartino 610d75582b [WIP] Creating an Encounter 2021-05-22 20:04:47 -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 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 75c77aa750 Added a way to include homebrew in a character file. 2021-02-09 22:26:50 -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