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

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

MV plugins

HIME Toggleable States - HIME_ToggleableStates.js

Plugin desc : If you try to add the state and the state is already added,

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Hime

Website : https://himeworks.com/

Desc page : https://himeworks.com/2015/11/toggle-able-states/

Download Page : https://raw.githubusercontent.com/munokura/HIME-MV-plugins-jp/master/HIME_ToggleableStates.js

File name : HIME_ToggleableStates.js

Help of plugin :

@title Toggle-able States
@author Hime --> HimeWorks (http://himeworks.com)
@date Dec 2, 2015
@filename HIME_ToggleableStates.js
@url http://himeworks.com/2015/11/toggle-able-states/

If you enjoy my work, consider supporting me on Patreon!

https://www.patreon.com/himeworks

If you have any questions or concerns, you can contact me at any of
the following sites:

Main Website: http://himeworks.com
Facebook: https://www.facebook.com/himeworkscom/
Twitter: https://twitter.com/HimeWorks
Youtube: https://www.youtube.com/c/HimeWorks
Tumblr: http://himeworks.tumblr.com/

@plugindesc If you try to add the state and the state is already added,
it will be removed instead.
@help
== Description ==

Video: https://www.youtube.com/watch?v=PESDHBV5V4A

Do you have a state that can be removed when you apply the same state?

For example, you use a state that adds a poison state, but when you
apply the same poison state, it will cancel out the existing poison state.

This plugin allows you to create toggleable states. When the state is added,
one of two things can happen

1. If the state does not exist, then it will be added
2. If the state exists, then it will be removed

== Terms of Use ==

- Free for use in non-commercial projects with credits
- Contact me for commercial use

== Change Log ==

Dec 2, 2015
 - fixed bug where test did not return a value
Dec 1, 2015
 - skills that add toggle-able states can be used even if state is added
Nov 17, 2015
 - initial release

== Usage ==

To specify that a state can be toggled, in your database go to the
states tab, find the state you want, and then write in its note-box

 <toggleable state>

スポンサードリンク

-MV plugins

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