Items used on events in unique ways

In the game I'm building, I've made a stack of items that are spells, instead of skills that are spells. Because it allows a different approach to magic gameplay. You select an item to 'cast a spell', and if you run out of that item, you have run out of that spell. So the player can have unlimited number of smaller spells, but only 1, or very few, of the OP spells. So you need to manage resources, and choose when you use them in the game.

Because of this, I've been looking up unique ways to use items within a game outside of battle. I was searching for ways I can use items on the map to trigger events, and these events can be the results of the spells cast. I have found a few methods that let you go into your inventory and select an item, and if you are in the right spot facing the right way, an event is triggered. Which I will use to have the player choose a spell to cast (aka select an item) in the right place to make some magic happen. For example, you walk up to a prince, you open your inventory, you choose the item called 'spell to turn the prince into a toad' and you choose it, and then the event runs that turns the prince into a toad.

What I'm asking is if anyone has any leads on interesting and unique ways to use items outside of battle. Any posts I could read, or any plugins I might not have thought of.

However, I also have a specific question, too. I have an idea for a spell and I was wondering if anybody knew if this was possible.

I want the spell to be an item named 'Spell to raise the dead' - it turns a dead NPC into an undead servant who then joins the party.

I know how to event that happening, but what I'm having trouble with is -- I wanted to litter the world with dead NPCs so that the player can walk up to any of them, stand in front of them, open their inventory, use the spell item, and then the event of raising the dead occurs on that specific dead NPC, wherever it happened to drop dead while wandering around on the map.

This way, the player can choose to cast a spell on whoever they want to cast a spell on, rather than casting them on the NPCs I've predetermined for them.
Make as many invisible undead characters as you need on the map and then use a spell through a general event to swap places with any NPC. or even a stool?

Original thread: https://forums.rpgmakerweb.com/threads/items-used-on-events-in-unique-ways.165623/