QuteAction
Pf2eTools Action attributes (action2md.txt)
Extension of Pf2eQuteBase
Attributes
PermalinkactionType, activity, altNames, basic, books, cost, frequency, getAliases, hasSections, item, labeledSource, name, prerequisites, reprintOf, requirements, source, sourceAndPage, sourcesWithFootnote, tags, text, traits, trigger, vaultPath
actionType
PermalinkType of action (as ActionType)
activity
PermalinkActivity/Activation cost (as QuteDataActivity)
altNames
Permalinkbasic
PermalinkTrue if this is a basic action. Same as {resource.actionType.basic}.
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
cost
PermalinkThe cost of using this action
frequency
PermalinkQuteDataFrequency. How often this action can be used/activated. Use directly to get a formatted string.
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
item
PermalinkTrue if this action is an item action. Same as {resource.actionType.item}.
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
name
PermalinkNote name
prerequisites
PermalinkPrerequisite trait or characteristic for performing this action
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
requirements
PermalinkSituational requirements for performing this action
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.
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)
trigger
PermalinkTrigger for this action
vaultPath
PermalinkPath to this note in the vault