Internal
_Protected
Internal
_Track the set of item filters which are applied
Static
_Static
_Static
Internal
Experimental
ACTIONSTemporary action mapping until AppV2 conversion.
Static
BASE_Static
Internal
EDIT_Which fields to track edits for
Static
WHEEL_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
Filters 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
_Protected
Determine 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.
Optional
subSkillId: stringThe id of the subskill, if appropriate.
Internal
Filter inventory section
Called in ()
Category data
Section data
Active filters
Internal
Focuses certain tab based on provided item.
Protected
_Experimental
Dynamic Tooltips
Abstract
_Nameless Change Event
Handler for any change event that did not target an element with name.
Protected
_Protected
Non-action button clicks
Triggering event
Click target
Protected
_Protected
_Protected
Non-action context clicks
Triggering event
Click target
Protected
_Protected
Handle right-click actions
Drag start event
Optional
subType: stringType specific subtype
Optional
dataset: objectWhole dataset
Internal
Drag start event
Protected
_Protected
Finalize Wheel Update
Internal
Pointer Enter event handler delegate
Internal
Pointer Leave event handler delegate
Protected
_Protected
Handle input
Triggering event
Submission handler
Alter span text value before committing.
Update path
Numeric value
Original string from input
Prepare duplicate item data
Protected
_Protected
Prepare item data for display.
Original document
Protected
_Protected
Item render data
Item section
Render context
Protected
_Protected
Organize and classify Owned Items
Protected
_Protected
Prepare item section
Internal
Calculate used and available skill ranks.
HBS context
Internal
Prepare adventure/background skill distinction if needed.
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
Protected
_Protected
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
animation: boolean = {}Whether to animate expansion and collapse or not.
Activate event listeners using the prepared sheet 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.
Static
inheritanceCopy of AppV2 function
NPC Sheet
An Actor sheet for NPC type characters in the game system. Extends the base ActorSheetPF class.