How do I make a Multi-Item Fetch Quest?

Pikmanfan2002

Warper
Member
Joined
Aug 14, 2016
Messages
1
Reaction score
0
First Language
English
Primarily Uses
I'm pretty new to RPG Maker, but I get the basics of it. But I'm trying to make it so you bring 10 of a specific item to someone and you get 150 Gold from it, but I don't know how the person who you talk to knows you have 10 of the item. Any help?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
you'll need to use variables


I suggest you follow the link to the starting point in my signature, that contains links to how to use the different parts of the engine.


Everyone of those tutorials will help new users, but in this specific case you want to play the "variables guide".
 

SimProse

Veteran
Veteran
Joined
Jul 9, 2016
Messages
371
Reaction score
202
First Language
English
Primarily Uses
Using a Quest plugin (available in the Javascript plugins section of the forums) and variables should allow you to do this quite easily.
 

GoodSelf

Zhu Li! Do the thing!
Veteran
Joined
Jul 23, 2016
Messages
593
Reaction score
1,116
First Language
English
Primarily Uses
RMMV
 a simple event command can do this,with the help of a variable.
Name your variable (Variable X)


Set Y as the minimum number of items required


Set Variable X = Item count


Conditional Branch


   IF Variable X is equal to or greater than Y
Remove 10 item
Add 150 Gold


[Edited due to error in the event code, Thanks Andar!]
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
@GoodSelf you're wrong, the conditional branch can't do that alone - a variable is needed for checking the amount
 

GoodSelf

Zhu Li! Do the thing!
Veteran
Joined
Jul 23, 2016
Messages
593
Reaction score
1,116
First Language
English
Primarily Uses
RMMV
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,240
Members
137,609
Latest member
shododdydoddy
Top