mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 01:22:44 +00:00
Update wide monster snippet to use {{
This commit is contained in:
@@ -141,33 +141,30 @@ const genAction = function(){
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
||||||
full : function(){
|
full : function(){
|
||||||
return `${[
|
return dedent`
|
||||||
'___',
|
{{monster,frame,wide
|
||||||
'___',
|
## ${getMonsterName()}
|
||||||
`> ## ${getMonsterName()}`,
|
*${getType()}, ${getAlignment()}*
|
||||||
`>*${getType()}, ${getAlignment()}*`,
|
___
|
||||||
'> ___',
|
: **Armor Class** : ${_.random(10, 20)} (chain mail, shield)
|
||||||
`> - **Armor Class** ${_.random(10, 20)}`,
|
: **Hit Points** : ${_.random(1, 150)}(1d4 + 5)
|
||||||
`> - **Hit Points** ${_.random(1, 150)}(1d4 + 5)`,
|
: **Speed** : ${_.random(0, 50)}ft.
|
||||||
`> - **Speed** ${_.random(0, 50)}ft.`,
|
___
|
||||||
'>___',
|
| STR | DEX | CON | INT | WIS | CHA |
|
||||||
'>|STR|DEX|CON|INT|WIS|CHA|',
|
|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|
|
||||||
'>|:---:|:---:|:---:|:---:|:---:|:---:|',
|
${getStats()}
|
||||||
getStats(),
|
___
|
||||||
'>___',
|
: **Condition Immunities** : ${genList(['groggy', 'swagged', 'weak-kneed', 'buzzed', 'groovy', 'melancholy', 'drunk'], 3)}
|
||||||
`> - **Condition Immunities** ${genList(['groggy', 'swagged', 'weak-kneed', 'buzzed', 'groovy', 'melancholy', 'drunk'], 3)}`,
|
: **Senses** : darkvision 60 ft., passive Perception ${_.random(3, 20)}
|
||||||
`> - **Senses** passive Perception ${_.random(3, 20)}`,
|
: **Languages** : ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)}
|
||||||
`> - **Languages** ${genList(['Common', 'Pottymouth', 'Gibberish', 'Latin', 'Jive'], 2)}`,
|
: **Challenge** : ${_.random(0, 15)} (${_.random(10, 10000)} XP)
|
||||||
`> - **Challenge** ${_.random(0, 15)} (${_.random(10, 10000)} XP)`,
|
___
|
||||||
'> ___',
|
:
|
||||||
_.times(_.random(3, 6), function(){
|
${_.times(_.random(3, 6), function(){return genAbilities();}).join('\n\t\t\t\n\t\t\t')}
|
||||||
return genAbilities();
|
:
|
||||||
}).join('\n>\n'),
|
### Actions
|
||||||
'> ### Actions',
|
${_.times(_.random(4, 6), function(){return genAction();}).join('\n\t\t\t\n\t\t\t')}
|
||||||
_.times(_.random(4, 6), function(){
|
}}`;
|
||||||
return genAction();
|
|
||||||
}).join('\n>\n'),
|
|
||||||
].join('\n')}\n\n\n`;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
half : function(){
|
half : function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user