[Solved] Is there a way to remove tiles via events?

Hey folks, how are you all?

I am developing a system in my game where you can collect wood from trees, minerals from rocks and etc. But, a limitation that is really annoying me is removing the tile after said action. Let's say you used your axe to collect wood but, the tree stays there like nothing happened. It will quickly become hard to know what tree is already collected and what isn't (and the obvious reality shock that completely yeets you out of immersion).

I have been facing this issue since the moment I touched in RPG Maker and, I used other ways in the past to fix them (like, trees occupy two tiles, the solution would be to simply use an event on the base of the tree and another on the top. When you interact with the base, you erase the event of the top and change the image of the base to show a chopped trunk)

That way is how I worked with this but, in this game, this won't suffice because this system is the main base for my game (stardew valley type).

And with a single large map filled with events to collect several resources, this method can easily surpass 999 events when you count every single tree, stone and etc.

I tried using VisuStella's doodads but, to turn them on/off, you can only use switches (count a switch for a single tree and there we go with the huge numbers again).

So, is there a plugin, event method or script that can remove a tile or do I need to fragment my game due to the sheer number of events in each map?
Yes there are ways to do this: OcRam Map Editor.
This plugin will let you swap out map tiles with a different one, and supports auto-tiles. You'll just have use the plugin command 3-4 times depending on the size of the tree sprites, so that you swap them all out, and then of course you'll need to swap them back when the tree respawns.

For the respawning portion, I recommend using this: Respawning Resources using Common Events - Trihan

Utilizing both together should effectively do what you'd want.
Yes there are ways to do this: OcRam Map Editor.
This plugin will let you swap out map tiles with a different one, and supports auto-tiles. You'll just have use the plugin command 3-4 times depending on the size of the tree sprites, so that you swap them all out, and then of course you'll need to swap them back when the tree respawns.

For the respawning portion, I recommend using this: Respawning Resources using Common Events - Trihan

Utilizing both together should effectively do what you'd want.
It worked wonderfully. Thank you so much for the help!
The plugin did exactly what I needed and this tutorial will be very helpful for me too. Thanks again, buddy!
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/solved-is-there-a-way-to-remove-tiles-via-events.154569/