0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 07:02:39 +00:00

Change snippet to nested list

This commit is contained in:
Trevor Buckner
2023-05-26 17:17:56 -04:00
parent fbfb92735c
commit 71ec9034b7

View File

@@ -1,116 +1,53 @@
const _ = require('lodash');
const dedent = require('dedent-tabs').default; const dedent = require('dedent-tabs').default;
module.exports = () => { module.exports = () => {
return dedent`{{index,wide,columns:5; return dedent`
##### Index {{index,wide,columns:5;
- Abjuration Magic ##### Index
creating spell slots, 12 - Ankh-Morpork
protective wards, 23 - city map, 7
- Acrobatics Skill - city watch, 12
checks, 7, 10 - guilds, 19
- Adventurers - Cheese
creating a character, 4-6, 15 - types of cheese, 8
- Alignment - cheese-related magic, 14
choosing an alignment, 8-9 - cheese-related quests, 26-27
effects of alignment, 18 - Death
- Arcana Skill - appearance, 10
checks, 12, 23 - personality, 13
- Armor - hobbies, 23
types of armor, 5 - Elves
donning and doffing armor, 13-14 - types of elves, 15
- Backgrounds - elvish magic, 24
choosing a background, 6-7 - elvish curses, 28
background features, 20-22 - Footnotes
- Bards - types of footnotes, 16-17
class features, 11-12 - footnote rules, 20-21
spells, 27-28 - footnote humor, 29-30
- Charisma Ability Score - Gods
determining ability score, 10 - types of gods, 12
modifying ability score, 13 - godly interventions, 25
- Clerics - godly conflicts, 31
class features, 11 - Heroes
spells, 25-26 - class features, 11-12
- Combat - heroic deeds, 26-27
initiative, 5-6 - Inns
actions in combat, 13 - types of inns, 9
resolving attacks, 29-31 - inn amenities, 18
- Constitution Ability Score - Jokes
determining ability score, 10 - types of jokes,11-12
modifying ability score, 13 - joke delivery,25
- Dexterity Ability Score - Knives
determining ability score, 10 - types of knives,16-17
modifying ability score, 13 - knife skills,22-23
- Dungeon Master - knife fights,28-29
role of the DM, 4 - Luggage
preparing for a game, 16-18 - appearance,10
- Dungeons & Dragons - personality,13
history of the game, 4-6 - abilities,23
basic rules, 15 - Magic
- Equipment - types of magic,15
buying and selling equipment, 5 - magic rules,24
gear, 14-15 - magic mishaps,28
- Experience Points (XP) }}`;
gaining XP, 8
level advancement, 17
- Familiars
types of familiars, 12
familiar rules, 24
- Feats
gaining feats, 13
types of feats, 30
- Fighters
class features, 11
combat styles, 25
- Hit Points (HP)
determining HP, 5
losing and gaining HP, 13
healing, 29-30
- Intelligence Ability Score
determining ability score, 10
modifying ability score, 13
- Items
types of items, 5
using and interacting with items, 14-15
- Lore
knowledge checks, 12
identifying magic, 23-24
- Monsters
creating and using monsters, 11-12
monster stats, 27-28
- Nature Skill
checks, 12
identifying creatures, 23
- Paladins
class features, 11
spells, 26-27
- Perception Skill
checks, 7, 10
- Rangers
class features, 11
spells, 26
- Religion Skill
checks, 12
identifying holy symbols, 24
- Rogues
class features, 11
sneak attack, 25-26
- Sorcerers
class features, 11
spells, 28-29
- Stealth Skill
checks, 7, 10
- Strength Ability Score
determining ability score, 10
modifying ability score, 13
- Thieves Tools
using thieves tools, 14
disarming traps, 31
- Warlocks
class features, 11
spells, 29
- Wizards
class features, 11-12
preparing spells, 27
}}`;
}; };