Collection Quest

The Actors are given a quest that asks them to collect an item x5.

The items drop 1 at a time from Enemies on the next map over.

Can someone tell me the most elegant way to track the item number, so that when interacting with an Event, the Event acknowledges that the Actors have x5 of that item.

Thank you in advance,

GEA
When you interact with the event, you can use a Control Variables > Game Data > Item command followed by a Conditional Branch, e.g.
Code:
◆Control Variables:#0007 Count = The number of Potion
◆If:Count ≥ 5
  ◆Text:None, Window, Bottom
  :    :You have the potions! \.Excellent.
  ◆
:Else
  ◆Text:None, Window, Bottom
  :    :You have \v[7] out of 5 potions.
  ◆
:End

If you want to keep an up-to-date count at all times, you'd need some way of triggering an event or some code every time an item drops, which I think, in general, would want a plugin (could do it with a parallel event, but that's messy 😅).
If you want to keep an up-to-date count at all times, you'd need some way of triggering an event or some code every time an item drops, which I think, in general, would want a plugin (could do it with a parallel event, but that's messy 😅).

Actually looked at this in game and I think it will work. Will edit this in a couple with an update.

Thank you for pointing out the Game Data. I had no idea it was even there =)

This got me through the issue, thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/collection-quest.115313/