An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Variable Control Item - VariableControlItem.js

Plugin desc : Variable Operation Item Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/VariableControlItem.js

File name : VariableControlItem.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Variable Operation Item Plugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
When an item or skill is used and the action is successful, you can manipulate
variables.

Specify the following in the item or skill's Note field.

<VCIVarNumber: 3>
- Sets a value for variable number [3].
<VCISetValue: 5>
- Assigns the value [5] to the specified variable.
<VCIAddValue: 5>
- Adds the value [5] to the specified variable.
<VCISubject: actor>
- Variable manipulation only occurs if the performer is an actor.
<VCISubject: enemy>
- Variable manipulation only occurs if the performer is an enemy character.
* Specifying a negative value for the add value will result in subtraction.

The setting value is evaluated as a JavaScript formula after applying control
characters.
For example, if you want to multiply variable [1] by [5] when using an item,
use the following:
<VCIVarNumber: 1>
<VCISetValue: ¥v[1] * 5>
- Multiply the value of variable [1] by [5] and set the result to variable [1].

This plugin does not have any plugin commands.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.