A downloadable plugin

Buy Now$5.00 USD or more

Hi all,

This plugin allows you to add conditions to your choices in the choice window. You can add simple conditions such as a switch being ON or the party having an item in their inventory via text codes. You can also add more complex conditions, including an unlimited number of conditions, via an id text code which will refer to a group of complex conditions set up via the Plugin Manager.

Currently the different conditions you can add are:

  • Switch is ON/OFF
  • Variable is <|<=|=|!=|>=|> some value
  • Self Switch is ON/OFF
  • Weapon is in inventory, optionally specify an amount that the party must have
  • Item is in inventory, optionally specify an amount that the party must have
  • Armor is in inventory, optionally specify an amount that the party must have
  • Player has a certain amount of gold - also works with [CGMZ] Currency System custom currencies.

Here is a short gif of a conditional choice that required an item to be in the player's inventory to display:

To get the above to work, all that was needed was a short text code in the choice window text:

You can also set up more complex chains of choices via an ID choice condition. This ID will then reference a group of choice conditions set up in the Plugin Manager. This way, you can have a choice with a lot of conditions, such as maybe an entire set of armor, a weapon, a switch being ON, and an item in the inventory before the player will see the choice.

As this plugin is still in the Alpha stage, there are some planned features not yet implemented. These include:

  • Better handling when cancel/default choice types are not available
  • Skill conditions
  • Level conditions
  • Armor/Weapon Equipped conditions

Want additional features not already present/listed above? Leave your suggestions below or in my discord under the #suggestions channel!

PLEASE READ BEFORE PURCHASING:

Please be aware that you can access this as well as all of my other Alpha plugins for $5 on my Patreon: https://www.patreon.com/CasperGamingRPGM

This is posted to Itch.io since some people only use Itch and are not aware my Patreon and all of my beta/alpha plugins exist, or want to have everything in one convenient location (itch.io), or do not want to do a monthly subscription.

Casper Gaming's Beta/Alpha plugins are treated as an "early access" and will eventually be free for everyone once they are fully released, though this process can take months/years. By purchasing in beta/alpha, you are able to provide early feedback/suggestions which are more likely to make it into the final fully released plugin.

Please see terms of use here: Terms of Use

Requires CGMZ Core plugin: CGMZ Core

Happy RPG Making!

StatusIn development
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorCasper Gaming
Made withRPG Maker
TagsRPG Maker
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse, Gamepad (any), Touchscreen
LinksHomepage, Community, Patreon, YouTube

Purchase

Buy Now$5.00 USD or more

In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

CGMZ_ConditionalChoices.zip 5 kB

Development log

Comments

Log in with itch.io to leave a comment.

Hello brother, I would like to ask, if I set a complex condition, how do I call it in the selection item. For example, if I set it in the plugin (need item 1 and variable 1), how should I fill in the value in [<cgmzcc>XXXX</cgmzcc>].XXXX. Thank you very much!

Hi, you would put
<cgmzcc>id:yourIdHere</cgmzcc>Choice Text
Where the "yourIdHere" would be replaced by the id you assigned to your complex conditional in the plugin parameters.

Thank you very much! Thank you for being so eager to answer my questions every time! Thank you!

That's such a strange translation. I mean, thank you for being so gentle! No offense!

Hello I set this option the way you told me, but unfortunately this command still doesn't work. The way it works is that with this note in the option, the option is still displayed without the condition being met. I opened a blank document to set up the plugin and it still doesn't show up, is there a problem with my settings somewhere? Thank you for your answer! Looking forward to your reply!

Here's a screenshot of my test

Could you show your plugin parameter with all the conditions? All I see from the image is there is no switch condition. 

Okay! No problem! Thank you for helping me! Is it okay to look like this picture? The condition is set to require item12, dispel herbs, like this.

Hi there! Love your work! I'm interested in this plugin, but for a very specific situation:

If my character is on a collectible side quest for CDs that he can play out of a stereo in the room, would this plugin allow me to have the stereo only present the option to play a CD that he has without me otherwise doing a bunch of conditional branches?

Thanks!

How are your CD items tracked? It can handle switches being ON or items being in the inventory, so if your cds are just items that go into the players inventory then yes you could use it for that. If you are tracking cds some other way then maybe not, it depends.

Hi! This looks fantastic! Do you know, by any chance, if this would be compatible with Galv's Message Styles plugin?

Hi, I am not sure as I only test with my own plugins. In general, CGMZ plugins are highly compatible with other plugin authors' plugins. If Galv's plugin is free you could provide a link to it and I can try it out in my test project, and also let me know which specific features you would like for me to test if Galv's plugin does a lot of different things.

Oh, thank you!
Here is Galv's plugin: https://galvs-scripts.com/2020/09/16/mz-message-styles/

I'm really just using it for the speech bubble style message boxes.

(1 edit)

Hi, after some basic testing it seems to be compatible, and after looking at what Galv's plugin all does I don't see why it would be incompatible. CGMZ Conditional Choices doesn't really alter the UI in any way, it only hides certain choices based on conditions you attach to them. Here is a gif of the two plugins working together I took:


Wow, thanks so much for checking that. I bought the plugin and will have a tinker with it! Thanks again for your work.

Hi! I found a weird issue.
The plugin works perfectly in most cases but sometimes it just, doesn't. For example, I have a very large event with five or six pages using different trigger conditions. I'm using your Conditional Choices in, let's say, four of those pages, and in a common event call. Everything is perfect.

Then, when I paste the event into a different map, the plugin does not work on page 3. Other pages are fine, as is the common event call. As an experiment I copied that exact page and pasted it with no changes into its own event and it works as intended.
I hope that all makes sense. Any ideas what might be causing this interferrence?

Very nice.