Allow options in Show Choice to be shown/hidden based on conditions

Description of the Feature:
  • Have checkboxes for each option in a Show Choice command to show/hide them, possibly with a selection for a switch to tie their state to

Code for Implementation:
Not so much how it would be coded in core, but here's how I did a dynamic choice list in my Winterruption game:
Code:
$gameMessage.setChoiceBackground(0);
$gameMessage.setChoicePositionType(2);
$gameMessage.setChoiceCallback(function(n) {
  $gameVariables.setValue(15, choices[n]);
}.bind(this));
choices = ['Any idea where you argued?', 'Do you know what was argued about?'];
if (($gameSwitches.value(18) || $gameSwitches.value(19) || $gameSwitches.value(20) || $gameSwitches.value(22)) && ($gameSwitches.value(23) || $gameSwitches.value(25) || $gameSwitches.value(27) || $gameSwitches.value(28)) && ($gameSwitches.value(26) || $gameSwitches.value(29) || $gameSwitches.value(30) || $gameSwitches.value(31))) {
choices.push('I think I know what happened...');
}
if (!$gameMessage.isBusy()) {
  $gameMessage.setChoices(choices, 0, -2);
  this.setWaitMode('message');
}

The basic idea is that choices would be filtered based on switch conditions, so you could have options show up or disappear depending on what the player has done.

Mockups:
I lack the ability to do this as present, I'll try to edit a mockup in later.

Why is this feature good?
This feature is great because of the following:
  • Puppies
  • Instant Gratification
  • More dynamic games, especially visual novels, puzzlers and mystery

Possible issues with this feature?
Issues that might arise from this feature:
  • Additional game bugs related to accidentally showing/hiding a choice that shouldn't have been shown/hidden
  • Loss of hair
  • That's about it
It does seem interesting, but not sure if I would need it exactly. It depends when I make more things in my games that may need this feature or not.
Then again. Would this work for VX Ace?
Definitely yes, it should be implemented in MV from the beginning! "Show choices" command is kind of limited without dependings from switches.
@mikey If you mean the feature, yeah. If you mean the code I posted, you can do the same thing with Ruby.
Why is this feature good?
This feature is great because of the following:
  • Puppies
  • Instant Gratification
We get puppies!?

A-anyway, sorta like Himework's Plugin HERE but as an inbuilt plugin? That would be cool!
Sort of like this? Maybe the "is ON/OFF" part is redundant.
72vsFWk.png

Original thread: https://forums.rpgmakerweb.com/threads/allow-options-in-show-choice-to-be-shown-hidden-based-on-conditions.75125/