A Document instance which should be managed by this form.
Optionaloptions: Partial<Options>Optional configuration parameters for how the form behaves.
(default: {})
Internal_InternalCommit changes from _setItemUses
Protected Internal_Track the set of item filters which are applied
Item search
Static_Static InternalEDIT_Which fields to track edits for
Get the correct HTML template path to use for rendering this particular sheet
StaticdefaultDefine default rendering options for the NPC sheet
InternalAdjust item before addition, overriding data
Temporary item document before creation
InternalFilters item by sheet section config.
Item to filter
Section to filter by
Allow drag start always. Foundry blocks this if sheet is not editable, which blocks copying items.
Selector string
Protected_ProtectedDetermine if the item can have its range shown on this sheet.
Opens a dialog to edit a skill.
The id of the skill in question.
OptionalsubSkillId: stringThe id of the subskill, if appropriate.
InternalFilter inventory section
Called in ()
Category data
Section data
Active filters
InternalFocuses certain tab based on provided item.
Protected_Activate an item from item control button.
Click event
Drag start event
OptionalsubType: stringType specific subtype
InternalDrag start event
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_ProtectedHandle rolling an Ability check, either a test or a saving throw
The originating click event
Protected_ProtectedRoll generic attack
Protected_ProtectedRoll basic BAB check
Protected_ProtectedRoll initiative
Protected_ProtectedRoll saving throw
Protected_ProtectedTriggering event
Submission handler
An alternate value to fill in the input field
Handle standard form submission steps
The submit event which triggered this handler
A promise which resolves to the validated update data
Toggle skill lock.
Prepare duplicate item data
Protected_ProtectedPrepare item data for display.
Original document
Protected_ProtectedItem render data
Item section
Render context
Protected_ProtectedOrganize and classify Owned Items
Protected_ProtectedPrepare item section
InternalCalculate used and available skill ranks.
HBS context
InternalPrepare adventure/background skill distinction if needed.
InternalInsert 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
Activate event listeners using the prepared sheet HTML
{HTML} The prepared HTML object ready to be rendered into the DOM
Add some extra data when rendering the sheet to reduce the amount of logic required within the template.
ProtectedopenProtectedToggle 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.
Optionalinstant: boolean = {}Whether to instantly show the expansion (true), or animate it (false)
An Actor sheet for NPC type characters in the game system. Extends the base ActorSheetPF class.