FunctionsDialogHasKeyDialogHasKey CallableDialogHasKey(C: Character, Item: Item): booleanChecks whether the player has a key for the itemParametersC: CharacterThe character on whom the item is equippedItem: ItemThe item that should be unlockedReturns booleanReturns true, if the player can unlock the given item with a key, false otherwise
Checks whether the player has a key for the item