actions actions : Record < string , Action > Optionalarmor Prof armorProf ?: Trait < "med" | "lgt" | "hvy" | "shl" | "twr" > artifact artifact : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:47 aura aura : { custom : boolean ; school ?: string }
Defined in module/models/item/abstract/physical-item-model.d.ts:73 broken broken : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:16 carried carried : boolean | undefined
Defined in module/models/item/abstract/physical-item-model.mjs:692 Defined in module/models/item/abstract/physical-item-model.d.ts:39 Optionalchange Flags changeFlags ?: Set < | "haste" | "lowLightVision" | "seeInDarkness" | "seeInvisibility" | "immuneToMorale" | "loseDexToAC" | "noMediumEncumbrance" | "noHeavyEncumbrance" | "mediumArmorFullSpeed" | "heavyArmorFullSpeed" | "noAblScore.str" | "noAblScore.dex" | "noAblScore.con" | "noAblScore.int" | "noAblScore.wis" | "noAblScore.cha" | "pointBlankShot" | "rapidShot" | "manyshot" , >
cl cl : number | null
Defined in module/models/item/abstract/physical-item-model.d.ts:72 class Skills classSkills : Set < | "int" | "crf" | "acr" | "swm" | "clm" | "fly" | "lor" | "art" | "per" | "apr" | "blf" | "dip" | "dev" | "dis" | "esc" | "han" | "hea" | "kar" | "kdu" | "ken" | "kge" | "khi" | "klo" | "kna" | "kno" | "kpl" | "kre" | "lin" | "prf" | "pro" | "rid" | "sen" | "slt" | "spl" | "ste" | "sur" | "umd" , >
Optionalcontext Notes contextNotes ?: Record < string , ContextNote >
creation creation : { cost : { unit ?: "gp" | "cp" | "pp" | "sp" ; value ?: number } ; dc ?: number ; description ?: HTML ; } Defined in module/models/item/abstract/physical-item-model.d.ts:78 cursed cursed : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:55 description description : any
equipped equipped : boolean | undefined
Defined in module/models/item/abstract/physical-item-model.mjs:695 Defined in module/models/item/abstract/physical-item-model.d.ts:35 hardness hardness : { base : any ; total : any } | undefined
Defined in module/models/item/abstract/physical-item-model.mjs:458 Defined in module/models/item/abstract/physical-item-model.d.ts:17 hp hp : { base : number ; max : number ; offset : number ; value : number }
Defined in module/models/item/abstract/physical-item-model.d.ts:10 identified identified : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:59 Optionallanguages languages ?: Set < | "dark" | "aboleth" | "abyssal" | "aklo" | "ancientosiriani" | "androffan" | "aquan" | "auran" | "azlanti" | "boggard" | "brethedan" | "canto" | "catfolk" | "celestial" | "common" | "cyclops" | "draconic" | "drowsign" | "druidic" | "dtang" | "dwarven" | "dziriak" | "ekekeh" | "elderthing" | "elven" | "erutaki" | "firstspeech" | "gholgan" | "giant" | "gnoll" | "gnome" | "goblin" | "grippli" | "grioth" | "gug" | "halfling" | "hallit" | "honla" | "hwan" | "ib" | "ignan" | "infernal" | "iobaran" | "jandelayan" | "jistka" | "kasatha" | "kelish" | "kuru" | "lashunta" | "migo" | "minatan" | "minkaian" | "munavri" | "nagaji" | "necril" | "orc" | "orvian" | "osiriani" | "polyglot" | "protean" | "reptoid" | "rougarou" | "sakvroth" | "samsaran" | "sasquatch" | "senzar" | "shadowtongue" | "shae" | "shoanti" | "shobhad" | "skald" | "sphinx" | "strix" | "sylvan" | "syrinx" | "taldane" | "tekritanin" | "tengu" | "terran" | "thassilonian" | "tien" | "treant" | "triaxian" | "undercommon" | "urdefhan" | "vanaran" | "varisian" | "varki" | "vegepygmy" | "vishkanya" | "vudrani" | "wayang" | "yaddithian" | "yithian" , >
nonhumanoid nonhumanoid : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:31 Optionalprice price ?: number
Defined in module/models/item/abstract/physical-item-model.d.ts:28 quantity quantity : number
Defined in module/models/item/abstract/physical-item-model.d.ts:18 resizing resizing : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:30 script Calls scriptCalls : Record < string , ItemScriptCall >
Optionalshow In Combat showInCombat ?: boolean
Optionalshow In Quickbar showInQuickbar ?: boolean
size size : "dim" | "med" | "fine" | "tiny" | "sm" | "lg" | "huge" | "grg" | "col"
Defined in module/models/item/abstract/physical-item-model.d.ts:29 Optionalsub Type subType ?: string
technology technology : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:51 timeworn timeworn : boolean
Defined in module/models/item/abstract/physical-item-model.d.ts:43 unidentified unidentified : { name ?: string ; price : number }
Defined in module/models/item/abstract/physical-item-model.d.ts:63 Optionalweapon Prof weaponProf ?: Trait < "simple" | "siege" | "martial" | "firearm" | "heavy" > weight weight : { converted : { one : number ; total : number ; value : number } ; total : number ; value : number ; }
Defined in module/models/item/abstract/physical-item-model.d.ts:19 attack Notes get attackNotes () : HTML [] can Equip get canEquip () : boolean
Returns boolean Defined in module/models/item/abstract/physical-item-model.mjs:754 effect Notes get effectNotes () : HTML [] is Broken get isBroken () : boolean
Returns boolean Defined in module/models/item/abstract/physical-item-model.mjs:718 _ active State Change _activeStateChange ( changed : any ) : any Internal ExperimentalReturns any _ charge Pre Update _chargePreUpdate ( changed : object , context : object ) : Promise < void > InternalParameters changed : object context : object Returns Promise < void > _ finalize Weight InternalReturns void Defined in module/models/item/abstract/physical-item-model.mjs:536 _ get Armor Cost Multiplier _getArmorCostMultiplier () : 0.5 | 1 | 2 | 4 | 8 | 16 | 32 Returns 0.5 | 1 | 2 | 4 | 8 | 16 | 32 Defined in module/models/item/abstract/physical-item-model.mjs:809 _ get Armor Weight Multiplier _getArmorWeightMultiplier () : number InternalReturns number
Defined in module/models/item/abstract/physical-item-model.mjs:788 Protected_ recharge Actions _rechargeActions ( options ?: { exact : boolean ; period ?: string ; rollData ?: object } , ) : object | undefined ProtectedParameters options : { exact : boolean ; period ?: string ; rollData ?: object } = {} exact : boolean Optionalperiod ?: string OptionalrollData ?: object Returns object | undefined
Update data or undefined if no update is needed.
Protected_ recharge Uses _rechargeUses ( options ?: { exact ?: boolean ; maximize ?: boolean ; period ?: string ; rollData ?: object ; value ?: number ; } , ) : Promise < object | undefined > ProtectedParameters options : { exact ?: boolean ; maximize ?: boolean ; period ?: string ; rollData ?: object ; value ?: number ; } = {} Optionalexact ?: boolean Optionalmaximize ?: boolean Optionalperiod ?: string OptionalrollData ?: object Optionalvalue ?: number Returns Promise < object | undefined >
Promise for the update, update data object, or undefined (no update needed).
_ reset Charges On Quantity Update _resetChargesOnQuantityUpdate ( changed : object ) : Promise < void > Returns Promise < void > Defined in module/models/item/abstract/physical-item-model.mjs:242 _ size Adjusted Health _sizeAdjustedHealth () : number InternalReturns number
Defined in module/models/item/abstract/physical-item-model.mjs:482 _ update Charge Linking _updateChargeLinking () : void _ update Inherited Charges _updateInheritedCharges ( source : Item < "base" | ModuleSubType > ) : void InternalParameters source : Item < "base" | ModuleSubType > Returns void adjust Contained Returns void Defined in module/models/item/abstract/physical-item-model.mjs:691 get Cost Multiplier getCostMultiplier () : number Returns number
Multiplier, 1 for most items regardless of size.
Defined in module/models/item/abstract/physical-item-model.mjs:805 get Default Charge Cost getDefaultChargeCost ( options ?: { rollData ?: object } ) : number Parameters Optionaloptions : { rollData ?: object } = {} OptionalrollData ?: object Returns number Number for default cost.
Protected Abstractget Labels getLabels ( labels : object , options ?: { isolated ?: boolean ; rollData ?: object } , ) : void ProtectedParameters labels : object Optionaloptions : { isolated ?: boolean ; rollData ?: object } = {} Returns void get Name getName ( asPlayer ?: boolean ) : string Parameters asPlayer : boolean = false Returns string
Abstractget Proficiency getProficiency ( _weapon ?: boolean ) : boolean Parameters Optional_weapon : boolean = true Returns boolean
Whether or not the owner of the item is proficient.
get Roll Data getRollData ( result : any ) : void get Value getValue ( options ?: { base ?: boolean ; forceUnidentified ?: boolean ; identical ?: boolean ; inLowestDenomination ?: boolean ; maximized ?: boolean ; recursive ?: boolean ; sell ?: boolean ; single ?: boolean ; type ?: "resale" | null ; } , ) : number Parameters Optionaloptions : { base ?: boolean ; forceUnidentified ?: boolean ; identical ?: boolean ; inLowestDenomination ?: boolean ; maximized ?: boolean ; recursive ?: boolean ; sell ?: boolean ; single ?: boolean ; type ?: "resale" | null ; } = {} Optionalbase ?: boolean OptionalforceUnidentified ?: boolean Optionalidentical ?: boolean OptionalinLowestDenomination ?: boolean Optionalmaximized ?: boolean Optionalrecursive ?: boolean Optionalsell ?: boolean Optionalsingle ?: boolean Optionaltype ?: "resale" | null Returns number The item's value
Defined in module/models/item/abstract/physical-item-model.mjs:612 get Weight Multiplier getWeightMultiplier () : number Returns number
Multiplier, 1 for most items regardless of size.
Defined in module/models/item/abstract/physical-item-model.mjs:776 prepare Dependent Data prepareDependentData () : void prepare Derived Data prepareDerivedData () : void prepare Durability prepareDurability () : void InternalReturns void Defined in module/models/item/abstract/physical-item-model.mjs:454 prepare Weight Returns void Defined in module/models/item/abstract/physical-item-model.mjs:519 recharge recharge ( options ?: { commit ?: boolean ; context ?: object ; exact ?: boolean ; maximize ?: boolean ; period ?: "round" | "minute" | "hour" | "day" | "week" | "any" ; rollData ?: object ; value ?: number ; } , ) : Promise < object | PhysicalItemModel | undefined > Parameters options : { commit ?: boolean ; context ?: object ; exact ?: boolean ; maximize ?: boolean ; period ?: "round" | "minute" | "hour" | "day" | "week" | "any" ; rollData ?: object ; value ?: number ; } = {} Optionalcommit ?: boolean Optionalcontext ?: object Optionalexact ?: boolean Optionalmaximize ?: boolean Optionalperiod ?: "round" | "minute" | "hour" | "day" | "week" | "any" OptionalrollData ?: object Optionalvalue ?: number Returns Promise < object | PhysicalItemModel | undefined >
Promise for the update, update data object, or undefined (no update needed).
set Active setActive ( active : any , context : any ) : Promise < Item < "base" | ModuleSubType > > Returns Promise < Item < "base" | ModuleSubType > >
Update promise if item type supports the operation.
Protected Static Abstract_ adjust New Item _adjustNewItem ( item ?: ItemPF , data ?: object , override ?: boolean ) : void ProtectedParameters Optionalitem : ItemPF Optionaldata : object Optionaloverride : boolean = false Returns void Static Abstractmigrate Parent Data migrateParentData ( _source : object ) : void Staticprune Data pruneData ( source : any ) : void
Default Value
false