RPG Maker VX ace Trading more then one item!

Aleister

Villager
Member
Joined
May 12, 2015
Messages
6
Reaction score
0
First Language
England
Primarily Uses
N/A
Hello, I am Aleister.

I am working on a game for 2 furry YouTubers.
In the game, they is a shop keeper or trader selling stuff but the player can also select specil offer.
Doing this 3 choices come up and the player can choose what they want to buy using a certain item. In this case chocolates
(Which has the same healing values of a potion)

I want some help.
I do not know how to make something like a conditional branch that would only activate if the player has 10 or more chocolates in there invantory. Can you please help me.
If it requires a ruby if, else statement could you please show me how to do a if, else statement in ruby scrips.
Thank you.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
this is done by control variable command.

first use a control variable to load the number of items (gamedata section), then use conditional branch to check if the number in the variable is high enough.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Tech Support is for when you cannot get the engine to run.

[move]RPGMaker VX Ace[/move]
 

Aleister

Villager
Member
Joined
May 12, 2015
Messages
6
Reaction score
0
First Language
England
Primarily Uses
N/A
Tech Support is for when you cannot get the engine to run.

[move]RPGMaker VX Ace[/move]
Sorry Kes
It has been a while :rswt
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top