Synchronize Variables with Items/Weapons/Armors

Aloe Guvner

Sep 28, 2017
Reaction score
First Language
Primarily Uses
Synchronize Variables with Items/Weapons/Armors
by Aloe Guvner
Download Link
Note: This plugin is not under active maintenance.


Some menu plugins require data to be stored as variables, which also has to be represented as item counts, or vice-versa. If multiple currency systems (ex. using gold and gems) require the additional currencies to be represented as variables, it would be very useful to represent it as items in the inventory as well.

Another use case is with classic "gather" quests or mini-games. A quest might include collecting 5 MacGuffins, but unfortunately the event page conditions can't read items. Normally, you would have to increment a variable at the same time as giving the party the MacGuffin, but with this plugin, they will by sync'ed automatically.

This plugin will synchronize the value of a variable with the inventory count of a certain item/weapon/armor, making sure that they are always the same.

For example, if Item #1 (Potion) and Variable #22 are synchronized:

1.) The party gains 30 potions. The value of Variable #22 is automatically set to 30.
2.) The value of Variable #22 is set to 50. The party automatically gains 20 potions - for a total of 50 potions.
3.) The value of Variable #22 is set to 46. The party automatically loses 4 potions - for a total of 46 potions.

Only pairs of item/weapon/armor + variable can be synchronized.
Item/Weapon/Armor <---> Variable

Terms of Use:
Free for use in commercial or non-commercial projects.
Credits required to: Aloe Guvner

Version History:
  • v1.0.0 (June 14 2018)
    • Initial release

Download Link
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

X[ oh gawd.... I dropped my super expensive laptop on my hard tile floor! It still comes on and all, but now Im worried its gunna start screwing up in the near future.... I hope not, cant afford to replace stuff like that. :(
I wrote a nice animated preloading system for mv+mz today. It only supports graphic assets atm, should it support audio too? See it in action in my recent minigame @
I posted my first commercial game on the forums, and now waiting for approval.
fingers crossed.
TMW the air quality is so bad, your hair changes color every time you wash it. :LZYyuck:
Finished two animations today. :kaojoy:

Forum statistics

Latest member