Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
MNKR Variable Command - MNKR_VariableCommand.js
Plugin desc : Adds a plug-in command that enables combinations of variables that cannot be selected with event commands.
License : MIT License
Author : munokura
Website : http://x.com/munokura
Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_VariableCommand.js
File name : MNKR_VariableCommand.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_VariableCommand.js @plugindesc Adds a plug-in command that enables combinations of variables that cannot be selected with event commands. @author munokura @license MIT License @help Enables the use of combinations that cannot be selected using variables in event commands. Adds plugin commands. Party - Add/Delete Items - Add/Delete Weapons - Add/Delete Armor - Swap Members Actor - Change State - Add/Delete Skills - Change Equipment - Change Name - Change Job - Change Nickname - Change Profile Character - Display Animation - Display Speech Bubble Icon Scene Control - Process Name Input # Terms of Use MIT License. http://opensource.org/licenses/mit-license.php Modifications and redistribution are permitted without permission from the author, and there are no restrictions on use (commercial, 18+, etc.). @command changeItem @text Increase or decrease of items @desc Change the number of item IDs in the variable’s value. @arg selectAction @text Increase items @desc Decide whether to ”increase or decrease” the item. @type boolean @on increase @off reduce @default true @arg variableIdItem @text Item specification variable @desc Executes the variable’s value as the item ID. @type variable @default 0 @arg constQuantity @text constant @desc Specify the number. @type number @default 0 @arg variableIdQuantity @text Numerical variables @desc Executes the value of the variable as a number, ignoring constants. @type variable @default 0 @command changeWeapon @text Weapon additions and deletions @desc Change the number of weapon IDs in the variable’s value. @arg selectAction @text Increase your arsenal @desc Decide whether to ”increase or decrease” weapons. @type boolean @on increase @off reduce @default true @arg includeEquip @text Includes equipment @desc Decide whether to include equipped weapons. @type boolean @on include @off Do not include @default false @arg variableIdWeapon @text Weapon Designation Variable @desc Executes the weapon ID using the variable’s value. If this is specified, the weapon specification will be ignored. @type variable @default 0 @arg constQuantity @text constant @desc Specify the number. @type number @default 0 @arg variableIdQuantity @text Numerical variables @desc Executes the value of the variable as a number, ignoring constants. @type variable @default 0 @command changeArmor @text Increase or decrease armor @desc Change the number of armor IDs in the variable value. @arg selectAction @text Increase armor @desc Decide whether to ”increase or decrease” your armor. @type boolean @on increase @off reduce @default true @arg includeEquip @text Includes equipment @desc Decide whether to include equipped armor. @type boolean @on include @off Do not include @default false @arg variableIdArmor @text Armor specification variables @desc The value of the variable is executed as the armor ID. If this is specified, the armor specification will be ignored. @type variable @default 0 @arg constQuantity @text constant @desc Specify the number. @type number @default 0 @arg variableIdQuantity @text Numerical variables @desc Executes the value of the variable as a number, ignoring constants. @type variable @default 0 @command changeMember @text Member replacement @desc The actor ID of the variable’s value is ”added” or ”removed” from the member. @arg selectMethod @text Add members @desc Decide whether to add or remove members. @type boolean @on Add @off remove @default true @arg variableIdActor @text Actor ID variable @desc Executes the variable’s value as the actor ID. @type variable @default 0 @arg initializeActor @text Actor Initialization @desc Initialize the actor. @type boolean @on Initialize @off Do not initialize @default false @command changeState @text State increase/decrease @desc ”Add/Remove” states. @arg selectAction @text Add State @desc Decide whether to ”add” or ”delete” the state. @type boolean @on Addition @off Cancellation @default true @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg variableIdState @text State ID specification variable @desc Executes the value of the variable as the state ID. If this is specified, the state ID constant will be ignored. @type variable @default 0 @command changeSkill @text Skill Increase/Decrease @desc Learn and forget skills. @arg selectAction @text Learn skills @desc Decide whether to ”learn” or ”forget” the skill. @type boolean @on learn by heart @off forget @default true @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor-specific variables @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constSkillId @text Skill ID Constants @desc Specify the skill. @type class @default 0 @arg variableIdSkill @text Skill ID specification variable @desc Executes the value of the variable as the skill ID. If specified, the skill ID constant will be ignored. @type variable @default 0 @command changeEquip @text Equipment changes @desc Change equipment. The target equipment must be in your item list. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constWeaponId @text Weapon ID Constants @desc Specify the weapon. @type weapon @default 0 @arg variableIdWeapon @text Weapon ID specification variable @desc Executes the value of the variable as the weapon ID. If specified, the weapon ID constant will be ignored. @type variable @default 0 @arg constArmorId @text Armor ID Constants @desc Specifies the armor. If this is specified, the weapon ID will be ignored. @type armor @default 0 @arg variableIdArmor @text Armor ID specification variable @desc Executes the variable value as the armor ID. If this is specified, the armor ID constant and weapon ID will be ignored. @type variable @default 0 @arg constEquipTypeId @text Equipment Type ID Constant @desc Specifies the equipment type. If 0, it will be automatically acquired from the specified weapon/armor. @type number @default 0 @arg variableIdEquipType @text Equipment type ID specification variable @desc Uses the value of the variable as the equipment type ID. If this is specified, the equipment type ID constant will be ignored. @type variable @default 0 @command changeName @text Name change @desc Change the name of the actor. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constNameId @text Name fixed string @desc Specify a name. @arg variableIdName @text Named Variables @desc Executes the variable value as the name. If you specify this, the name constant string will be ignored. @type variable @default 0 @command changeClass @text Changing occupations @desc Change the actor ID’s occupation in the variable’s value. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constClassId @text Occupation ID constant @desc Specify your occupation. @type class @default 0 @arg variableIdClass @text Occupation ID specification variable @desc Executes the job ID using the value of the variable. If this is specified, the job ID constant will be ignored. @type variable @default 0 @arg holdLevel @text Maintain Level @desc Hold the level. @type boolean @on Hold @off Do not retain @default false @command changeNickname @text Nickname change @desc Change the actor’s nickname. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constNicknameId @text Nickname fixed string @desc Specify two names. @arg variableIdNickname @text Epithetized variables @desc Executes the command with the variable value as the nickname. If you specify this, the fixed nickname string will be ignored. @type variable @default 0 @command changeProfile @text Changing your profile @desc Change the actor’s profile. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg constProfileId @text Profile fixed string @desc Specify the profile. @arg variableIdProfile @text Profile-specific variables @desc Executes the value of the variable as the profile. If specified, the profile constant string will be ignored. @type variable @default 0 @command requestAnimation @text View animation @desc View the animation. @arg constEventId @text Event ID Constants @desc A value of -1 is the player, 0 is the running event, and 1 or greater is the event ID. @type number @default 0 @min -1 @arg variableIdEvent @text Event ID Variable @desc The value of the variable is the event ID. If this is specified, the event ID constant is ignored. @type variable @default 0 @arg constAnimationId @text Animation ID Constants @desc Run as animation ID. @type number @default 0 @arg variableIdAnimation @text Animation ID variable @desc Sets the variable’s value as the animation ID. If this is specified, the animation ID constant will be ignored. @type variable @default 0 @arg wait @text Wait until completion @desc Wait until completion. @type boolean @on Wait @off No wait @default false @command requestBalloon @text Displaying the speech bubble icon @desc Displays a balloon icon. Can also be used to display balloons numbered 16 and above, which cannot be specified with event commands. @arg constEventId @text Event ID Constants @desc A value of -1 is the player, 0 is the running event, and 1 or greater is the event ID. @type number @default 0 @min -1 @arg variableIdEvent @text Event ID Variable @desc The value of the variable is the event ID. If this is specified, the event ID constant is ignored. @type variable @default 0 @arg constBalloonId @text Speech bubble ID constant @desc Run as balloon icon ID. @type number @default 0 @arg variableIdBalloon @text Speech bubble ID variable @desc The value of the variable is the balloon icon ID. If you specify this, the balloon ID constant will be ignored. @type variable @default 0 @arg wait @text Wait until completion @desc Wait until completion. @type boolean @on Wait @off No wait @default false @command changeNameScene @text Processing name input @desc The name input scene is displayed. @arg constActorId @text Actor ID Constants @desc Specify the actor. @type actor @default 0 @arg variableIdActor @text Actor ID specification variable @desc Executes the variable’s value as the actor ID. If specified, the actor ID constant will be ignored. @type variable @default 0 @arg maxLength @text Maximum character constant @desc Specify the maximum number of characters. @type number @arg variableIdmaxLength @text Maximum character constant variable @desc Executes the variable’s value as the maximum number of characters. If this is specified, the maximum character constant is ignored. @type variable @default 0