Commit Graph

67 Commits

Author SHA1 Message Date
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
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
decay 1caa057f66 Add separated case for max_xp 2020-05-18 21:42:43 +03:00
decay 678f44f7be Add 2 tests 2020-05-18 20:22:49 +03: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
Ben Cook 2d7a25724b updated how weapons are handled 2019-01-01 17:11:39 -05:00
Ben Cook 708a39403c testing all new class features 2019-01-01 16:17:00 -05:00
Ben Cook c29d3694f2 Updated latest tests to pass 2018-12-26 20:00:17 -05:00