QuteAction

Pf2eTools Action attributes (action2md.txt)

Extension of Pf2eQuteBase

Attributes

actionType, activity, altNames, basic, books, cost, frequency, getAliases, hasSections, item, labeledSource, name, prerequisites, reprintOf, requirements, source, sourceAndPage, sourcesWithFootnote, tags, text, traits, trigger, vaultPath

actionType

Type of action (as ActionType)

activity

Activity/Activation cost (as QuteDataActivity)

altNames

basic

True if this is a basic action. Same as {resource.actionType.basic}.

books

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

cost

The cost of using this action

frequency

QuteDataFrequency. How often this action can be used/activated. Use directly to get a formatted string.

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

item

True if this action is an item action. Same as {resource.actionType.item}.

labeledSource

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

name

Note name

prerequisites

Prerequisite trait or characteristic for performing this action

reprintOf

List of content superceded by this note (as Reprinted)

requirements

Situational requirements for performing this action

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.

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)

trigger

Trigger for this action

vaultPath

Path to this note in the vault