QuteItem
Pf2eTools Item attributes
Extension of Pf2eQuteBase
Attributes
Permalinkaccess, activate, altNames, ammunition, armor, books, category, contract, craftReq, duration, getAliases, group, hands, hasSections, labeledSource, level, name, onset, price, reprintOf, shield, source, sourceAndPage, sourcesWithFootnote, tags, text, traits, usage, variants, vaultPath, weapons
access
PermalinkFormatted string. Item access attributes
activate
PermalinkItem activation attributes as QuteItemActivate
altNames
Permalinkammunition
PermalinkFormatted string. Ammunition required
armor
PermalinkItem armor attributes as QuteItemArmorData
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
category
PermalinkFormatted string. Item category
contract
PermalinkItem contract attributes as a list of NamedText
craftReq
PermalinkFormatted string. Crafting requirements
duration
PermalinkFormatted string. How long will the item remain active
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}
group
PermalinkFormatted string. Item group
hands
PermalinkFormatted string. How many hands does this item require to use
hasSections
PermalinkTrue if the content (text) contains sections
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
level
PermalinkFormatted string. Item power level
name
PermalinkNote name
onset
PermalinkFormatted string. Onset attributes
price
PermalinkFormatted string. Item price (pp, gp, sp, cp)
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
shield
PermalinkItem shield attributes as QuteItemShieldData
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)
usage
PermalinkItem use attributes as a list of NamedText
variants
PermalinkItem variants as list of QuteItemVariant
vaultPath
PermalinkPath to this note in the vault
weapons
PermalinkItem weapon attributes as list of QuteItemWeaponData