DialogHasKey CallableDialogHasKey(C, 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