0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 16:42:41 +00:00

Add 1/3 ClassTable, Unframed classes

- Adds a snippet for 1/3 Spellcasting/ClassTables for Issue #191 and builds on PR #1079 to work with v3 (but leaves out Legacy).
- Refactored classTable gen to more closely match monster block gen in terms of element classes (passed to gen function via attributes rather than baked into `return` function)
- Added an "unframed" snippet for each Full, Half, and Third class tables, which is consistent with monster stat blocks, and also is needed to satisfy #191 / #1079.
This commit is contained in:
Gazook89
2021-08-10 08:31:08 -05:00
parent 5d4bc23c84
commit 8bda68d684
2 changed files with 67 additions and 7 deletions

View File

@@ -212,12 +212,32 @@ module.exports = [
{
name : 'Class Table',
icon : 'fas fa-table',
gen : ClassTableGen.full,
gen : ClassTableGen.full('classTable,frame,wide'),
},
{
name : 'Half Class Table',
name : 'Class Table (unframed)',
icon : 'fas fa-table',
gen : ClassTableGen.full('classTable,wide'),
},
{
name : '1/2 Class Table',
icon : 'fas fa-list-alt',
gen : ClassTableGen.half,
gen : ClassTableGen.half('classTable,frame'),
},
{
name : '1/2 Class Table (unframed)',
icon : 'fas fa-list-alt',
gen : ClassTableGen.half('classTable'),
},
{
name : '1/3 Class Table',
icon : 'fas fa-list-alt',
gen : ClassTableGen.third('classTable,frame'),
},
{
name : '1/3 Class Table (unframed)',
icon : 'fas fa-list-alt',
gen : ClassTableGen.third('classTable'),
},
{
name : 'Table',