0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 13:32: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;
module.exports = () => {
return dedent`{{index,wide,columns:5;
##### Index
- Abjuration Magic
creating spell slots, 12
protective wards, 23
- Acrobatics Skill
checks, 7, 10
- Adventurers
creating a character, 4-6, 15
- Alignment
choosing an alignment, 8-9
effects of alignment, 18
- Arcana Skill
checks, 12, 23
- Armor
types of armor, 5
donning and doffing armor, 13-14
- Backgrounds
choosing a background, 6-7
background features, 20-22
- Bards
class features, 11-12
spells, 27-28
- Charisma Ability Score
determining ability score, 10
modifying ability score, 13
- Clerics
class features, 11
spells, 25-26
- Combat
initiative, 5-6
actions in combat, 13
resolving attacks, 29-31
- Constitution Ability Score
determining ability score, 10
modifying ability score, 13
- Dexterity Ability Score
determining ability score, 10
modifying ability score, 13
- Dungeon Master
role of the DM, 4
preparing for a game, 16-18
- Dungeons & Dragons
history of the game, 4-6
basic rules, 15
- Equipment
buying and selling equipment, 5
gear, 14-15
- 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
}}`;
return dedent`
{{index,wide,columns:5;
##### Index
- Ankh-Morpork
- city map, 7
- city watch, 12
- guilds, 19
- Cheese
- types of cheese, 8
- cheese-related magic, 14
- cheese-related quests, 26-27
- Death
- appearance, 10
- personality, 13
- hobbies, 23
- Elves
- types of elves, 15
- elvish magic, 24
- elvish curses, 28
- Footnotes
- types of footnotes, 16-17
- footnote rules, 20-21
- footnote humor, 29-30
- Gods
- types of gods, 12
- godly interventions, 25
- godly conflicts, 31
- Heroes
- class features, 11-12
- heroic deeds, 26-27
- Inns
- types of inns, 9
- inn amenities, 18
- Jokes
- types of jokes,11-12
- joke delivery,25
- Knives
- types of knives,16-17
- knife skills,22-23
- knife fights,28-29
- Luggage
- appearance,10
- personality,13
- abilities,23
- Magic
- types of magic,15
- magic rules,24
- magic mishaps,28
}}`;
};