Can I make using an item, set a variable to a value when the item is used without making too many common events?

Example of what I can do:

I have a Fishing Rod, Strawberry Seeds, Blueberry Seeds, Watering Can, and a Rake in my inventory. I don't want any of these to be equipable, but I do want to click on them so they set Variable Tool ID to a specific number.

Currently, I can click the Fishing Rod, and make it trigger Common Event 1.

In common event 1, I can set the Variable Tool ID to 1, which will let the game know I am ready to use the fishing rod.

Currently, I can click the Strawberry Seeds, and make it trigger Common Event 2, which will set the Variable Tool ID to 2, and let the game know that I am ready to use the seeds.

The purpose of the Tool ID is to set a custom picture of the item I'm clicking on the top left of the screen. That part is already set up.

Example of what I want to do:

Is there a way I can create only 1 common event, upon item click which will assign Variable Tool IDS based on the items I'm clicking on, even if I have multiple items in my inventory.

Like:
Common Event:
If Fishing Rod is Clicked, set Variable Tool ID to 1
If Strawberry Seeds are clicked, set Variable Tool ID to 2

Or skip the common event all together and just make it so if I click Fishing Rod, Then Variable Tool ID is set to 1? Maybe through the item notes, or something? Couldn't find a place to run a script on item click ):
$gameParty.lastItem() in a common event should retrieve the ID of the last used item.
$gameParty.lastItem() in a common event should retrieve the ID of the last used item.
That is very useful information. It should solve it if I get it to work.

The fishing Rod Item ID is 1000. I tried testing it in two ways with the prompts below but nothing...
What did I miss?

The text "test" is popping up which means the common event triggered
The Text "tool ID is 7" is not popping up which means I missed something with the script ):

◆Text:None, None, Window, Bottom
: :test
◆Script:$gameParty.lastItem()
◆Control Variables:#0001 Last Item = $gameParty.lastItem()
◆If:Last Item = 1000
◆Control Variables:#0242 Tool ID = 7
◆Text:None, None, Window, Bottom
: :tool ID is 7
◆
:End
◆If:Script:$gameParty.lastItem().itemId() == 1000
◆Control Variables:#0242 Tool ID = 7
◆Text:None, None, Window, Bottom
: :tool ID is 7
◆
:End
put the processing event as an after-effect of every item.
it only works after using an item.
put the processing event as an after-effect of every item.
it only works after using an item.
Fixed - Thread solved. Thanks so much!

Here is what I did:
◆Script:$gameParty.lastItem()
◆If:Script:$gameParty.lastItem().id = 1000
◆Control Variables:#0242 Tool ID = 7
◆Text:None, None, Window, Bottom
: :tool ID is 7
◆
:End

Original thread: https://forums.rpgmakerweb.com/threads/can-i-make-using-an-item-set-a-variable-to-a-value-when-the-item-is-used-without-making-too-many-common-events.168561/