Welcome to PGMV! 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.
FTKR Auto State Conditions - FTKR_AutoStateConditions.js
Plugin desc : v1.0.1 Plugin that sets automatic state grant/revocation conditions
License : MIT License
Author : Futokoro
Desc page : https://github.com/munokura/futokoro-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/futokoro-MV-plugins/refs/heads/master/FTKR_AutoStateConditions.js
File name : FTKR_AutoStateConditions.js
Help of plugin :
@plugindesc v1.0.1 Plugin that sets automatic state grant/revocation conditions @author Futokoro @url https://github.com/munokura/futokoro-MV-plugins @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/futokoro-MV-plugins ). Original plugin by Futokoro. Please check the URL below for the latest version of the plugin. URL https://github.com/futokoro/RPGMaker ----- ----------------------------------------------------------------------------- Overview ----------------------------------------------------------------------------- By implementing this plugin, you can add automatic state assignment and removal conditions. Enter the following tags in the state's Note field. - Automatic assignment - Automatically assigns the state when the condition expression is met. <ASC_ADD_CONDITIONS> Condition Expression </ASC_ADD_CONDITIONS> - Automatic removal - Automatically removes the state when the condition expression is met. <ASC_REMOVE_CONDITIONS> Condition Expression </ASC_REMOVE_CONDITIONS> [About the Value of the Condition Expression (eval)] The condition expression (eval) allows you to use non-fixed values by entering a calculation expression, like the damage calculation formula. The following code can be used: a.param - References the parameter of the character being assigned a state. s[x] - References the state of switch ID x. v[x] - References the value of variable ID x. Input Example) The tag is enabled when switch ID 1 is ON. <ASC_REMOVE_CONDITIONS> s[1] </ASC_REMOVE_CONDITIONS> [Setting Multiple Conditions] The following two input examples have the same meaning. 1. Arrange multiple condition expressions vertically. <ASC_ADD_CONDITIONS> Condition 1 Condition 2 </ASC_ADD_CONDITIONS> 1. Arrange multiple condition expressions horizontally using '&&'. <ASC_ADD_CONDITIONS> Condition 1 && Condition 2 </ASC_ADD_CONDITIONS> ----------------------------------------------------------------------------- Setup Instructions ----------------------------------------------------------------------------- 1. Add this plugin to the "Plugin Manager." ----------------------------------------------------------------------------- License for this plugin ----------------------------------------------------------------------------- This plugin is released under the MIT License. Copyright (c) 2017 Futokoro http://opensource.org/licenses/mit-license.php ----------------------------------------------------------------------------- Change History ----------------------------------------------------------------------------- v1.0.1 - 2019/04/13: Processing revisions 1. Part of the automatic state assignment and cancellation process is now executed at game startup. v1.0.0 - 2017/05/02: First version created -----------------------------------------------------------------------------