Item Checker in Decisions

Hello my good ol RPG Maker Community. Ive seem to have run into some troubles and it upsets me to have to turn to you all for some help since I am rather adept at figuring things out.

I have checked the Forums and even Google searched different methods.

Im trying to have a conditional branch that has decisions. These decisions are determined by the item it uses to 'remove' said event.

In the decisions, Im gunning for a way to let people see how many of said item you have.

Ex. Doors locked and needs something to open it.

  Decisions:

  • Fire Shard x03
  • Fire Stone x00
  • Fire Gem x00
  • Fire Crystal x01
Sorry for a bad example. My branches are messy but I have everything correct except I just want people to be able to see how much they have rather than selecting one and it just cancels because of the lack of the item. Any solutions my friends?
control variable : game data : Item in inventory


Then use \v[variableID] in show text.


I suggest following the first link in my signature to the basic tutorials if you don't know how to use variables, they're extremely important for any halfway complex game.
Is there another way to use it without variables? Cause these items can also be obtained through monster drops and Im not sure about variables being obtained along with an item.
I think you misunderstood - the variables get loaded with the number of how many items the player currently has in the inventory, no matter how they would have been gained - and you use that command in the event where you want to give the choice and display how many items are in the inventory.

Follow the starting point link to the variables guide to learn how to do this.
Can I possibly get an example? When using the Control Variables, it didnt add the item but it added the variable. I used the Change Item command and it added the item but im not sure how to get the item number to show up. I assume \v[variableID] you change variableID to 0001:'Name of Variable' ? Sorry like I said I am rather N00bish. I tried looking through your guide and didnt find the variables section.
Of course control variable doesn't change the inventory, it only loads the number from the inventory into the variable.

Which variable is for you to decide in the control variable command - and then you have to use that variable's ID number in the show text command.

Please work through the tutorials as said above - yes, it will take you a month to work through them (only looking through is a wast of your time, you need to work through it) before you can continue your game, but that will speed up your game development a lot.

Because we cannot answer every basic question for you, that would take several months of questions and answers over the internet. And variables are one of the basics of the program, you need to learn them or you will never get past simple go-there quests.
I wouldnt necissarily say basic lol but hey thanks a lot for the help. I figured it out thanks to you. I mostly got lost at where what variables go in what event honestly. But through trial and error I have found it. Thanks again...

Original thread: https://forums.rpgmakerweb.com/threads/item-checker-in-decisions.42865/