Some object or entity which is the target to be updated.
Optional
options: Partial<Options>Additional options which modify the rendering of the sheet.
(default: {}
)
Rest
...args: [ActorPF, Partial<Options>?]Internal
Commit changes from _setItemUses
Protected
Internal
_filtersTrack the set of item filters which are applied
Item search
Get the correct HTML template path to use for rendering this particular sheet
Static
defaultDefine default rendering options for the NPC sheet
Internal
Adjust item before addition, overriding data
Temporary item document before creation
Internal
Item data
Source item
Internal
Filters item by sheet section config.
Item to filter
Section to filter by
Protected
_canInternal
Commit changes from _setItemUses
Handle the final creation of dropped Item data on the Actor. This method is factored out to allow downstream classes the opportunity to override item creation behavior.
The item data requested for creation
Protected
_onHandle standard form submission steps
The submit event which triggered this handler
A promise which resolves to the validated update data
Protected
_prepareProtected
Prepare item data for display.
Original document
Internal
Insert a spell into the spellbook object when rendering the character sheet
The Actor data being prepared
The spell data being prepared
The key of the spellbook being prepared
Add some extra data when rendering the sheet to reduce the amount of logic required within the template.
Toggle inline display of an item's summary/description by expanding or hiding info div
The element to open. Likely will have the item
class in CSS.
Optional
instant: boolean = {}Whether to instantly show the expansion (true), or animate it (false)
An Actor sheet for Vehicle type characters in the game system. Extends the base ActorSheetPF class.