Chuck item action

How can I make an action that when the player hovers over an item they have the option to chuck the item basically meaning erase it from their inventory.
This has an item discard function
This has an item discard function
Thanks

Original thread: https://forums.rpgmakerweb.com/threads/chuck-item-action.162842/