Update icon of item in database in-game

Hello!

I was wondering if you could make in sort you change the icon of an item when an event occurs in your game. The change would be permanent.

In my case, I cannot just simply swap the item with another one with a different icon.

Any way to achieve this? Thanks in advance!
Would also like to know this, is the a script call where icon number can be changed maybe?
Would you mind explaining the reason why you need this to happen to see if there might be an alternative?
The entire database is read-only, you can't change any part of it in any way.

However, there are dozens of ways around that limitation, each way having different advantages and disadvantages - that is why we need to know what exactly you want to happen in your game before we can tell you which option would be best for that.
I don't want to take away from the OP so please remove if inappropriate.

For me I have craeted the same system as Zelda:Breath of the wild where if you use metal items when there is a thunder storm you will get electrocuted, and again same as ZBOTW i need the icon to change when there is a thunderstorm (put a small electrical sign buy the default icon) so to be as clear as possible to the player what is going on.

I managed to sort my last problem (very satisfyingly) buy changing the core code so even the location of the script that asigns the icon would be helpful.

Again @frzhrt834 please chime in if this will not surfise your problem as well!
https://galvs-scripts.com/2017/02/19/mv-prize-wheel/

I'm using this plugin, wich act like a prize wheel that spins and makes you win prizes. In my game, it may allow you to collect rare items.
The plugin uses the icon of an item and apply it in the minigame.

I want to make the item black, and it only reveals when you have collected it once through the prize wheel.
In that case it would be much easier to ask for a modification of that plugin to hide the display of icons until the price is revealed.

Original thread: https://forums.rpgmakerweb.com/threads/update-icon-of-item-in-database-in-game.77682/