Commit Graph

88 Commits

Author SHA1 Message Date
Mark Wolfman c9a0eb1f0e Added ability to define magic weapons by multiple inheritence. 2022-03-10 14:17:26 -06:00
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 a30dc28100 Added passive insight and investigation for GM notes. 2022-01-13 15:28:56 -06:00
Mark Wolfman be7268a0b3 Added generic encounter class (doesn't really do anything yet). 2021-10-04 17:08:19 -05:00
Mark Wolfman 5b8ef004c7 Added party XP thresholds to GM sheets. 2021-09-30 21:10:34 -05: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 e7ccb6f9f3 Added more flexible way of specifying random tables in the GM sheet. 2021-08-11 21:56:03 -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 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 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 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