[HELP]Item Upgrade Consumable

Is there a way I can create a consumable that when consumed it will check your inventory for weapons and armour then it will upgrade one of them. And then once it’s the max level it will no longer be able to be upgraded. It also displays a little message saying what item has been upgraded at to top of the screen.

So overall kinda like Midas touch from dragon gods.

Any help will be much appreciated.

Thanks Moza