QuteCreature
Pf2eTools Creature attributes (creature2md.txt)
Extension of Pf2eQuteBase
Attributes
Permalinkabilities, abilityMods, altNames, attacks, books, defenses, description, getAliases, hasSections, items, labeledSource, languages, level, name, perception, reprintOf, ritualCasting, senses, skills, source, sourceAndPage, sourcesWithFootnote, speed, spellcasting, tags, text, traits, vaultPath
abilities
PermalinkThe creature's abilities, as a CreatureAbilities.
abilityMods
PermalinkAbility modifiers as a map of (name, modifier)
altNames
Permalinkattacks
PermalinkThe creature's attacks, as a list of QuteInlineAttack
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
defenses
PermalinkDefenses (AC, saves, etc) as QuteDataDefenses
description
PermalinkShort creature description (optional)
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}
hasSections
PermalinkTrue if the content (text) contains sections
items
PermalinkItems held by the creature as a list of strings
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
languages
PermalinkLanguages as CreatureLanguages
level
PermalinkCreature level (number, optional)
name
PermalinkNote name
perception
PermalinkCreature perception (number, optional)
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
ritualCasting
PermalinkThe creature's ritual casting capabilities, as a list of CreatureRitualCasting
senses
PermalinkSenses as a list of CreatureSense
skills
PermalinkSkill bonuses as CreatureSkills
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
PermalinkThe creature's speed, as an QuteDataSpeed
spellcasting
PermalinkThe creature's spellcasting capabilities, as a list of CreatureSpellcasting
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
traits
PermalinkCollection of traits (decorated links, optional)
vaultPath
PermalinkPath to this note in the vault