Giving items to enemies (And the consequences.)

I was brainstorming about about how to spice up a game a little, and got hit with a great idea! But i'm stuck a little...My dilemma is as follows:

I want to make it so that if you "give" a certain item to a particular enemy, something happens. If the proper conditions are met, the enemy will be satisfied, reward you in a way, then leave the field. If it's not a proper target, something else will occur...

Now, i'm a tad stumped about how I would go about doing that, are there plugins for my goal, or can I do it with the RTP? Any assistance would be appreciated!
I think you can probably do this without plugins if you just want to keep it simple. But you might have to elaborate on what you mean by "if it's not a proper target".

Start by setting up the item. You can use the damage formula to do an "if enemy is X then do this, otherwise do that" kind of thing. Or you could have the item inflict a state with a % chance, and use the state to make the enemy determine whether or not to leave (you may need to use troop events for this, which could get a bit messy if you have to copy/paste to a lot of troops), or attach a common event to the item which can do all the checking for you.
@Shaz Sorry about that! By "not a proper target.* I meant that an item will work on one type of enemy, but not another. So while you have success on pleasing one enemy type, using the same item on another may fail.
I'm working on a similiar system in my game.
It's a bit tricky but I think it could be done without plugins (as there are none available for now).
I see 2 theoretical ways to handle this:
1) Using item calls common event. Common event checks enemy ID and handles different results for different IDs
2) A skill uses a "select item" functionality, then combines "item id" variable to "enemy id" variable and handles different results
Results are handled via Force Action, Change State or other basic event available methods.
I'm clueless about coding but it's probably just a matter of knowing the right syntax for all the callbacks (unless it's not).

If somebody has any tips or ideas how to make it better/easier - I'll appreciate them.

Original thread: https://forums.rpgmakerweb.com/threads/giving-items-to-enemies-and-the-consequences.94078/