Rest
...args: [data?: ItemDataConstructorData, context?: Context<ActorPF>]Abstract
activeAbstract
canIs this item usable at base level, disregarding per-action details.
Abstract
isIs the item is fully functional.
This returns composite result of if the item is equipped, has quantity, is not disabled, is not out of charges, etc. and is not representative if the item can be set active or not via setActive.
Abstract
setSet item's active state.
Active state
Optional
context: objectOptional update context
Static
_createStatic
_onOn-Create Operation
Post-create processing so awaiting the original operation has all secondary updates completed when it returns.
Documents
Operations and context data
Triggering user
Static
_onOn-Delete Operation
Post-delete processing so awaiting the original operation has all secondary updates completed when it returns.
Documents
Operations and context data
Triggering user
Static
_onOn-Update Operation
Post-update processing so awaiting the original operation has all secondary updates completed when it returns.
Documents
Operations and context data
Triggering user
Static
createItem create dialog.
Initial form data
Optional
context: { Additional options.
Dialog context options.
Pack ID parameter passed to Item.create() options
Parent parameter passed to Item.create() options
Item types to limit creation choices to.
Synchronized with Foundry VTT v12.331
Static
defaultOverride to provide naming by subType potential.
Context where the name would be used
Pack this would be within
Parent document
Type
Synced with Foundry v12.331
Static
get
Base item
From which all other item documents inherit from.