Skip to main content

DialogHasKey

Callable


  • Checks whether the player has a key for the item


    Parameters

    • C: Character

      The character on whom the item is equipped

    • Item: Item

      The item that should be unlocked

    Returns boolean

    • Returns true, if the player can unlock the given item with a key, false otherwise