Item Purchase Counter (new v1.5.0)
How to use the Item Purchase Counter setting
The Item Purchase Counter is a new setting (since v1.5.0) that alows you to track how many of a specified item or items a player has bought over time, from any mart event.
ItemPurchaseCounter = {
101 => [:POKEBALL, :GREATBALL, :ULTRABALL],
102 => [:POTION, :SUPERPOTION, :HYPERPOTION]
}
101
= the variable ID you want to use to save the amount of purchased items to.array of items
:POKEBALL
= a first item to track:GREATBALL
= a second item to track:ULTRABALL
= a third item to track
If this becomes a widely used feature, I can include an extra option to add a series of items more easily and faster like "TMs" (would add an array of all TMs in your game) or "Balls" (would add an array of all Ball items in your game).
Last updated