MV Gifting System (Any Item)

Hi there! I’m very new to RPG Maker MV and have been following tutorials on how to create a general “gifting system”. I’m aware on how to open the “Item Select” menu for an event and used variables to achieve this, but how can I achieve a gift system where the player can select any item they want to give, have the event respond accordingly to the item chosen, and have that selected item be removed from their inventory?

I only figured out so far how to do this with a pre-determined item. (Ex., if player selects a flower to give, I add the “flower -1” command in the event bar” and then the flower disappears.)

I want the player to be able to pick any item they want to give and have the game figure out what item to remove from their inventory without me specifying which per event. Is there a plugin that does this?

Bonus: I would also like to find a way for a player to carry an item and then drop it on the event to trigger a gift dialogue (like in the classic HM games), instead of creating an event on its own prompting the player to give a gift.

Any help would be awesome!!
I want the player to be able to pick any item they want to give and have the game figure out what item to remove from their inventory without me specifying which per event. Is there a plugin that does this?
You can do this with a single script call from the pinned thread of MV script calls.

1712717228205.png

Then after you do your stuff, you do a Script command and type in
Code:
$gameParty.loseItem($dataItems[$gameVariables.value(4)], 1);


Bonus: I would also like to find a way for a player to carry an item and then drop it on the event to trigger a gift dialogue (like in the classic HM games)
I don't what "classic HM games" means, but you could event this by use of the Change Actor Images event command, if you've drawn them carrying a box or whatever.
I don't what "classic HM games" means,
Probably classic Harvest Moon games. It goes by the name Story of Seasons now.
you could event this by use of the Change Actor Images event command, if you've drawn them carrying a box or whatever.

You could use Mog Pick Up and Throw or CT_BOLT's Bind Event To if you want to have an event on top/attached to the player. Then on every NPC action trigger, check if there is a carried/bound event and unspawn it or whatever to show the NPC accepting it.

If you want to be able to throw the item event at the NPC event and have them react (you can do this in some HM/SoS games), you'd need Mog Pick Up and Throw and CT_Bolt's Event Trigger Event
The editor command will let your player choose any regular, key, hidden 'a' or hidden 'b' item. If you wanted to extend your party's generosity to non-equipped weapons and armour, there is a plugin that you could use:

https://forums.rpgmakerweb.com/inde...ra-choose-items-for-weapons-or-armour.141076/

[I wrote it because at the time I was considering giving the party a limited inventory, and I wanted to do re-usable treasure chests.]
The editor command will let your player choose any regular, key, hidden 'a' or hidden 'b' item. If you wanted to extend your party's generosity to non-equipped weapons and armour, there is a plugin that you could use:

https://forums.rpgmakerweb.com/inde...ra-choose-items-for-weapons-or-armour.141076/

[I wrote it because at the time I was considering giving the party a limited inventory, and I wanted to do re-usable treasure chests.]
Thank you so much!!

Original thread: https://forums.rpgmakerweb.com/threads/gifting-system-any-item.167605/