Initial data from which to construct the Item
Optional
context: ConstructionContextConstruction context options
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.
For supporting actions and changes in fromUuid()
Synced with Foundry v12.331
Item name
Optional
forcePlayerPerspective: boolean = falseIf true, return value players see.
Abstract
setSet item's active state.
Active state
Optional
context: objectOptional update context
Static
_Internal
Collect information on supplemental items and create them
Array of items to draw supplemental data from
Owner
Static
_On-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
_On-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
_On-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 item data
Synchronized with Foundry VTT v13.347
Static
defaultOverride to provide naming by subType potential.
Context where the name would be used
Optional
pack?: null | stringPack this would be within
Optional
parent?: null | DocumentParent document
Optional
subType?: stringDocument subtype. Nonstandard option.
Optional
type?: stringType
Synced with Foundry v12.331
Static
getInternal
Add default artwork.
Optional
itemData: objectItem data
Base item
From which all other item documents inherit from.