QuteCreature

Pf2eTools Creature attributes (creature2md.txt)

Extension of Pf2eQuteBase

Attributes

abilities, 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

The creature's abilities, as a CreatureAbilities.

abilityMods

Ability modifiers as a map of (name, modifier)

altNames

attacks

The creature's attacks, as a list of QuteInlineAttack

books

List of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.

defenses

Defenses (AC, saves, etc) as QuteDataDefenses

description

Short creature description (optional)

getAliases

Aliases for this note, including the note name, as quoted/escaped strings.

Example values:

In templates:

aliases:
{#each resource.aliases}
- {it}
{/each}

hasSections

True if the content (text) contains sections

items

Items held by the creature as a list of strings

labeledSource

Formatted string describing the content's source(s): _Source: <sources>_

languages

Languages as CreatureLanguages

level

Creature level (number, optional)

name

Note name

perception

Creature perception (number, optional)

reprintOf

List of content superceded by this note (as Reprinted)

ritualCasting

The creature's ritual casting capabilities, as a list of CreatureRitualCasting

senses

Senses as a list of CreatureSense

skills

Skill bonuses as CreatureSkills

source

String describing the content's source(s)

sourceAndPage

Book sources as list of SourceAndPage

sourcesWithFootnote

Get 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

The creature's speed, as an QuteDataSpeed

spellcasting

The creature's spellcasting capabilities, as a list of CreatureSpellcasting

tags

Collected tags for inclusion in frontmatter

text

Formatted text. For most templates, this is the bulk of the content.

traits

Collection of traits (decorated links, optional)

vaultPath

Path to this note in the vault