Skip to main content

InventoryPrerequisiteMessage

Callable


  • Returns an error message if a prerequisite clashes with the character's items and clothes


    Parameters

    • C: Character

      The character on which we check for prerequisites

    • Prerequisite: AssetPrerequisite

      The name of the prerequisite

    • asset: Asset = null

      The asset (if any) for whom the prerequisite is checked

    Returns string

    • The error tag, can be converted to an error message