Yanfly Core: http://yanfly.moe/2015/10/09/yep-1-core-engine/
My game is crafting/resources/shop management type of game, and is currently using an ammunition-style arrangement for handling skills in battle using Yanfly Skill Cost plugin. For example, "Shoot Arrow" costs 1 Arrow.
Because it's also a game of resource management, I've implemented limits on Arrows. At first it was just 5 but then as the user progresses through the story, I felt they should be able to upgrade their "Quiver" in order to hold more Arrows (7, 10, etc.).
I tried setting the notetag to <Max Items: $gameVariables.value(83)> but that didn't do anything.
Then I found JS Items Max by @Engr. Adiktuzmiko which works perfectly!
Over time, I've found that I depend on this plugin immensely. More complicated than the Archer, there is a Mage within the party that uses a "hidden" resource based on elemental crystals. All of these crystals add up to their hidden resource, so it's important that I limit them based off a variable. A Fire Crystal looks like: <maxItems:$gameVariables.value(81) - $gameVariables.value(79) - $gameVariables.value(80)> (It subtracts Water Crystal and Storm Crystal from the hidden resource variable, which may be something like 5, so the Mage can't get a Fire Crystal if they already have 3 Water Crystals and 2 Storm Crystals).
Everything works UNTIL I open up Yanfly's Shop.
The shop is set up with multiple currencies so you can purchase Arrows from the Weaponsmith using Wood + Gold. This is extremely important to the gameplay.
Unfortunately, JS Items Max and Yanfly Shop Menu Core do not get along. No matter where I place the plugins in relation to each other, the game crashes immediately upon opening the shop. Attached is the error I receive.
Does anyone have a solution for this? Using both a Max Item Variable and Yanfly Shop Menu? I am open to new plugins, a revision to Yanfly's, or a revision to JS Items Max. I have posted on that thread but it's been a few days with no response so I thought I'd come to the forums with my own thread about it.
Thanks so much!
My game is crafting/resources/shop management type of game, and is currently using an ammunition-style arrangement for handling skills in battle using Yanfly Skill Cost plugin. For example, "Shoot Arrow" costs 1 Arrow.
Because it's also a game of resource management, I've implemented limits on Arrows. At first it was just 5 but then as the user progresses through the story, I felt they should be able to upgrade their "Quiver" in order to hold more Arrows (7, 10, etc.).
I tried setting the notetag to <Max Items: $gameVariables.value(83)> but that didn't do anything.
Then I found JS Items Max by @Engr. Adiktuzmiko which works perfectly!
Over time, I've found that I depend on this plugin immensely. More complicated than the Archer, there is a Mage within the party that uses a "hidden" resource based on elemental crystals. All of these crystals add up to their hidden resource, so it's important that I limit them based off a variable. A Fire Crystal looks like: <maxItems:$gameVariables.value(81) - $gameVariables.value(79) - $gameVariables.value(80)> (It subtracts Water Crystal and Storm Crystal from the hidden resource variable, which may be something like 5, so the Mage can't get a Fire Crystal if they already have 3 Water Crystals and 2 Storm Crystals).
Everything works UNTIL I open up Yanfly's Shop.
The shop is set up with multiple currencies so you can purchase Arrows from the Weaponsmith using Wood + Gold. This is extremely important to the gameplay.
Unfortunately, JS Items Max and Yanfly Shop Menu Core do not get along. No matter where I place the plugins in relation to each other, the game crashes immediately upon opening the shop. Attached is the error I receive.
Does anyone have a solution for this? Using both a Max Item Variable and Yanfly Shop Menu? I am open to new plugins, a revision to Yanfly's, or a revision to JS Items Max. I have posted on that thread but it's been a few days with no response so I thought I'd come to the forums with my own thread about it.
Thanks so much!