0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00

Snippet for unframed monster block.

This commit is contained in:
Trevor Buckner
2021-04-04 12:50:12 -04:00
parent bf616494f1
commit ea9ba84dc2
3 changed files with 33 additions and 0 deletions

View File

@@ -192,5 +192,32 @@ module.exports = {
### Actions
${_.times(_.random(2, 3), function(){return genAction();}).join('\n\t\t\t\n\t\t\t')}
}}`;
},
unframed : function(){
return dedent`
{{monster
## ${getMonsterName()}
*${getType()}, ${getAlignment()}*
___
: **Armor Class** : ${_.random(10, 20)} (chain mail, shield)
: **Hit Points** : ${_.random(1, 150)}(1d4 + 5)
: **Speed** : ${_.random(0, 50)}ft.
___
| STR | DEX | CON | INT | WIS | CHA |
|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
${getStats()}
___
: **Condition Immunities** : ${genList(['groggy', 'swagged', 'weak-kneed', 'buzzed', 'groovy', 'melancholy', 'drunk'], 3)}
: **Senses** : darkvision 60 ft., passive Perception ${_.random(3, 20)}
: **Languages** : ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)}
: **Challenge** : ${_.random(0, 15)} (${_.random(10, 10000)} XP)
___
:
${_.times(_.random(2, 3), function(){return genAbilities();}).join('\n\t\t\t\n\t\t\t')}
:
### Actions
${_.times(_.random(2, 3), function(){return genAction();}).join('\n\t\t\t\n\t\t\t')}
}}`;
}
};

View File

@@ -151,6 +151,11 @@ module.exports = [
].join('\n');
},
},
{
name : 'Monster Stat Block (unframed)',
icon : 'fas fa-paw',
gen : MonsterBlockGen.unframed,
},
{
name : 'Monster Stat Block',
icon : 'fas fa-spider',

View File

@@ -234,6 +234,7 @@ body {
.useSansSerif();
position : relative;
padding : 0px;
margin-bottom : 1em;
p{
margin-bottom : 0;