How do I implement key items?

A bit of a newby question, but Im currently developing a puzzle game, and I'm wondering if anyone knows on how to make an event to require a certain item to progress.

For example, lets just say that I have walked up to a wall of wooden planks, and I can't progress without, say, a crowbar, to break it down. If I press my action key on it, and I don't have the crowbar, a text box will appear saying something like "I need something to break this down...", and it'll keep on saying that until I acquire said item.

Any help and advice would be appreciated!
I'm pretty sure Conditional Branch has the option to check if a specific item is in the player's inventory.
Condition Script: $game_party.item_number(YOUR ITEM'S DATABASE ID HERE) > 0
This means to check if your inventory has the item whose id is "YOUR ITEM'S DATABASE ID HERE" and the number of that item is more than 0 (which means 1,2,3,4....)
You can also change that 0 to something else.
For example, if you want to check if the party has at least 100 item no.3 (which may be wood)
Then you can use $game_party.item_number(3) > 99

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-implement-key-items.131001/