Initial data from which to construct the Item
Optionalcontext: ConstructionContextConstruction context options
AbstractactiveAbstractcanIs this item usable at base level, disregarding per-action details.
AbstractisIs 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
OptionalforcePlayerPerspective: boolean = falseIf true, return value players see.
AbstractsetSet item's active state.
Active state
Optionalcontext: objectOptional update context
Static_InternalCollect 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
StaticcreateItem create dialog.
Initial item data
Synchronized with Foundry VTT v13.347
StaticdefaultOverride to provide naming by subType potential.
Context where the name would be used
Optionalpack?: null | stringPack this would be within
Optionalparent?: null | DocumentParent document
OptionalsubType?: stringDocument subtype. Nonstandard option.
Optionaltype?: stringType
Synced with Foundry v12.331
StaticgetInternalAdd default artwork.
OptionalitemData: objectItem data
Staticmigrate
Base item
From which all other item documents inherit from.