InventoryAllow
Callable
Parameters
C: Character
The character on which we check for prerequisites
asset: Asset
The asset for which prerequisites should be checked. Any item equipped in the asset's group will be ignored for the purposes of the prerequisite check.
optionalprerequisites: AssetPrerequisite | readonly AssetPrerequisite[] = asset.Prerequisite
An array of prerequisites or a string for a single prerequisite. If nothing is provided, the asset's default prerequisites will be used
optionalsetDialog: boolean = true
If TRUE, set the screen dialog message at the same time
optionalallowActivePose: readonly AssetPoseName[] = asset.AllowActivePose
Returns boolean
- TRUE if the item can be added to the character
Returns TRUE if we can add the item, no other items must block that prerequisite