QuteMonster
5eTools creature attributes (monster2md.txt)
Extension of Tools5eQuteBase.
Attributes
Permalink5eInitiativeYaml, 5eInitiativeYamlNoSource, 5eStatblockYaml, 5eStatblockYamlNoSource, ac, acHp, acText, action, alignment, allTraits, bonusAction, books, conditionImmune, cr, description, environment, fluffImages, fullType, gear, getAliases, hasImages, hasMoreImages, hasSections, hitDice, hp, hpText, immune, immuneResist, initiative, isNpc, labeledSource, languages, legendary, legendaryGroup, legendaryGroupLink, name, passive, pb, rawSpellcasting, reaction, reprintOf, resist, savesSkills, savingThrows, scores, senses, showAllImages, showMoreImages, showPortraitImage, size, skills, source, sourceAndPage, sourcesWithFootnote, speed, spellcasting, subtype, tags, text, token, trait, type, vaultPath, vulnerable
5eInitiativeYaml
PermalinkA minimal YAML snippet containing monster attributes required by the Initiative Tracker plugin. Use this in frontmatter.
The source book will be included in the name if it isn't the default monster source ("MM").
5eInitiativeYamlNoSource
PermalinkA minimal YAML snippet containing monster attributes required by the Initiative Tracker plugin. Use this in frontmatter.
The source book will not be included in the monster name.
5eStatblockYaml
PermalinkComplete monster attributes in the format required by the Fantasy statblock plugin. Uses double-quoted syntax to deal with a variety of characters occuring in trait descriptions. Usable in frontmatter or Fantasy Statblock code blocks.
The source book will be included in the name if it isn't the default monster source ("MM").
5eStatblockYamlNoSource
PermalinkComplete monster attributes in the format required by the Fantasy statblock plugin. Uses double-quoted syntax to deal with a variety of characters occuring in trait descriptions. Usable in frontmatter or Fantasy Statblock code blocks.
The source book will not be included in the monster name.
ac
PermalinkSee AcHp#ac
acHp
PermalinkCreature AC and HP as AcHp
acText
PermalinkSee AcHp#acText
action
PermalinkCreature actions as a list of NamedText
alignment
PermalinkCreature alignment
allTraits
PermalinkCreature traits as Traits
bonusAction
PermalinkCreature bonus actions as a list of NamedText
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
conditionImmune
PermalinkSee ImmuneResist#conditionImmune
cr
PermalinkChallenge rating
description
PermalinkFormatted text containing the creature description. Same as {resource.text}
environment
PermalinkFormatted text describing the creature's environment. Usually a single word.
fluffImages
PermalinkList of images as ImageRef (optional)
fullType
PermalinkCreature type (lowercase) and subtype if present: {resource.type} ({resource.subtype})
gear
PermalinkCreature gear as list of item links
getAliases
PermalinkAliases for this note, including the note name, as quoted/escaped strings.
Example values:
- "+1 All-Purpose Tool"
- "Carl "The Elder" Frost"
In templates:
aliases:
{#each resource.aliases}
- {it}
{/each}
hasImages
PermalinkReturn true if any images are present
hasMoreImages
PermalinkReturn true if more than one image is present
hasSections
PermalinkTrue if the content (text) contains sections
hitDice
PermalinkSee AcHp#hitDice
hp
PermalinkSee AcHp#hp
hpText
PermalinkSee AcHp#hpText
immune
PermalinkimmuneResist
PermalinkCreature immunities and resistances as ImmuneResist
initiative
PermalinkInitiative bonus as Initiative
isNpc
PermalinkTrue if this is an NPC
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
languages
PermalinkComma-separated string of languages the creature understands.
legendary
PermalinkCreature legendary traits as a list of NamedText
legendaryGroup
PermalinkMap of grouped legendary traits (Lair Actions, Regional Effects, etc.). The key the group name, and the value is a list of NamedText.
legendaryGroupLink
PermalinkMarkdown link to legendary group (can be embedded).
name
PermalinkNote name
passive
PermalinkPassive perception as a numerical value
pb
PermalinkProficiency bonus (modifier)
rawSpellcasting
PermalinkCreature spellcasting abilities as a list of Spellcasting attributes
reaction
PermalinkCreature reactions as a list of NamedText
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
resist
PermalinksavesSkills
PermalinkCreature saving throws and skill modifiers as SavesAndSkills
savingThrows
PermalinkString representation of saving throws.
Equivalent to {resource.savesSkills.saves}
scores
PermalinkCreature ability scores as AbilityScores
senses
PermalinkComma-separated string of creature senses (if present).
showAllImages
PermalinkReturn embedded wikilinks for all images If there is more than one, they will be displayed in a gallery.
showMoreImages
PermalinkReturn embedded wikilinks for all but the first image If there is more than one, they will be displayed in a gallery.
showPortraitImage
PermalinkReturn an embedded wikilink to the first image Will have the "right" anchor tag.
size
PermalinkCreature size (capitalized)
skills
PermalinkString representation of saving throws.
Equivalent to {resource.savesSkills.skills}
source
PermalinkString describing the content's source(s)
sourceAndPage
PermalinkBook sources as list of SourceAndPage
sourcesWithFootnote
PermalinkGet Sources as a footnote.
Calling this method will return an italicised string with the primary source followed by a footnote listing all other sources. Useful for types that tend to have many sources.
speed
PermalinkCreature speed as a comma-separated list
spellcasting
PermalinkAlways returns null/empty to suppress previous default behavior that rendered spellcasting as part of traits.
2024 rules interleave spellcasting with traits, actions, bonus actions, etc.
subtype
PermalinkCreature subtype (lowercase)
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
token
PermalinkToken image as ImageRef
trait
PermalinkCreature traits as a list of NamedText
type
PermalinkCreature type (lowercase)
vaultPath
PermalinkPath to this note in the vault