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
30,262
Reaction score
7,138
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,009
Reaction score
11,341
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

Yay! Got 3 new frying pans, its weird, but I'm so happy about it.
Yelp. I've discovered that I am one of those people who should not be drinking coffee. Took me a week detoxing off of coffee and switching to tea to realize how badly it was affecting me- and I've been drinking the stuff for years. Yikes!
I bought a gaiter with Meijer printed on it.

I'm still a Walmart worker, and I wore it today for work.
Trying out new carpet autotiles and I can't decide if it's working or not. Pixeling soft carpets is hard
It seems like this is going to be another remote semester. RIP.

Forum statistics

Threads
99,516
Messages
966,348
Members
131,146
Latest member
jakobhenerey309
Top