Synrec's State Stacker

Synrec

Veteran
Veteran
Joined
Nov 6, 2019
Messages
69
Reaction score
31
First Language
English
Primarily Uses
RMMV
CodexTest 5_30_2020 1_02_00 PM.png



Github

Itch.io

1) Place inside the plugin folder of your game's location.

2) Edit parameters inside the RPG Maker MV engine.

Changlog:
*v1: Released publically.

*v2: Fixed errors causing the secondary burst effect to not occur. Fixed the problem of burst effect not stacking.

*v3: Removed secondary burst effect for optimization reasons. State overflow instead allows for an alternative state post burst.

*v4: Fixed a bug where the game would crash when burst state is undefined.

*v5: Fixed a bug where a state can be added +1 to the designers defined maximum.

*v6: Removed state icon duplication, added a number which indicates stack amount.

*v1.0: Multiple bug fixes: No turn count, no step count and general incompatibility with game engine repaired. Stacked states are no innate to the game engine. Due to how status windows work, it was decided to leave the status window as is to ensure cross-compatibility with other plugins.


Note:

Credit goes to Synrec.

This script is free to modify.
For free use and for commercial use.

Do NOT sell/resell this script.
 
Last edited:

thierrywtrmz

Villager
Member
Joined
Jan 30, 2020
Messages
12
Reaction score
2
First Language
French
Primarily Uses
RMMV
Hi,

I want to try your plugin but it seems I don't understand how it works.

I want to make my state (ID = 40) able to stack 3 times.

I tried <stateStackable:3> in the state notebox.
I know it says x = stateId, I also tried <stateStackable:40>

Nothing changes. What am I missing ?
 

Synrec

Veteran
Veteran
Joined
Nov 6, 2019
Messages
69
Reaction score
31
First Language
English
Primarily Uses
RMMV
Hi,

I want to try your plugin but it seems I don't understand how it works.

I want to make my state (ID = 40) able to stack 3 times.

I tried <stateStackable:3> in the state notebox.
I know it says x = stateId, I also tried <stateStackable:40>

Nothing changes. What am I missing ?
Are you using any other scripts? When you say nothing happens do you mean that it does not stack at all?

EDIT: I believe I have found the issue and have such updated the script. Let me know if the issue persists.
 
Last edited:

thierrywtrmz

Villager
Member
Joined
Jan 30, 2020
Messages
12
Reaction score
2
First Language
French
Primarily Uses
RMMV
Hi,

I only did try while I was in the menus. The states do stack, but they do infinitely if I don't set a burst effect.
Also if the state if applied 3 times, there is 3 icons. Could be great if there was only one with a numbers on it or something like that.

Works well otherwise, nice work
 

Zerothedarklord

Veteran
Veteran
Joined
Jun 25, 2013
Messages
221
Reaction score
44
First Language
English
Primarily Uses
RMMV
without yet even testing, this definitely looks and sounds promising. my only recommendation would be to update it once more to allow users to add a cap to a state stack, for example, maybe your bleed should only be allowed to stack up to 3 times. maybe the heal should only be able to stack 5, etc.
 

Synrec

Veteran
Veteran
Joined
Nov 6, 2019
Messages
69
Reaction score
31
First Language
English
Primarily Uses
RMMV
Hi,

I only did try while I was in the menus. The states do stack, but they do infinitely if I don't set a burst effect.
Also if the state if applied 3 times, there is 3 icons. Could be great if there was only one with a numbers on it or something like that.

Works well otherwise, nice work
I'll check it out when I get access to my laptop.

without yet even testing, this definitely looks and sounds promising. my only recommendation would be to update it once more to allow users to add a cap to a state stack, for example, maybe your bleed should only be allowed to stack up to 3 times. maybe the heal should only be able to stack 5, etc.
Individual state caps? Sure thing


EDIT: I have not been able to replicate the infinite state stacking effect. I have seen an issue where the states can be added +1 to the defined max states stackable. I have fixed this. If you have any scripts running alongside, please let me know.

I will work on making the states not show an infinite number of icons during my off week beginning Wednesday. Along with any other suggestions.

EDIT 2: Individual state caps are already implemented, expected to update this script on Wednesday, Thursday by the latest.

EDIT 3: Updated.
 
Last edited:

Synrec

Veteran
Veteran
Joined
Nov 6, 2019
Messages
69
Reaction score
31
First Language
English
Primarily Uses
RMMV
Plugin updated, errors associated with turn count and bad removal of stacked states repaired.

Sorry this took so long, I'm actually busy with a personal script I'm working on. Going to update some of my other scripts too.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Hyptosis wrote on Sharm's profile.
Whoa, was browsing the forum and stumbled onto you account! Big fan of your work!
I just put in the equivalent of a full-time work day on my game... I think maybe it's time to take a break.
Finally finished my implementation of Rectangle Expansion A* in C++, and it's working with WASM /o/

This pathfinding plugin is gonna be awesome:kaopride:
(Prepare to be wowed!)

Forum statistics

Threads
103,438
Messages
999,299
Members
134,970
Latest member
doblebandera
Top