Melina

Warper
Member
Joined
Oct 28, 2017
Messages
2
Reaction score
0
First Language
German
Primarily Uses
RMMV
I just begann with my first game and I think for the first time its pretty good but there is one thing I dont understand.
Where or how you make Monster Drop Quest or item quest. I wanted to do it like that, that the faher of the second "Hero" wanted that I bring him 5 Monster Eyes and thats a random monster drop so I dont really know how to do it.
And I dont use any Quest Plug Ins just because no one really worked for me...
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,315
Reaction score
11,737
First Language
English
Primarily Uses
RMVXA
'General Discussion' is for looking at broad themes of making a game. "How do I...?" (implementation) questions go in the Support forum for the engine you are using.
[move]RPGMaker MV[/move]
 

sura_tc

Loner
Veteran
Joined
Jul 6, 2016
Messages
430
Reaction score
330
First Language
Korean
Primarily Uses
Other
Provided that you are using MV...,

I guess a common event raising count by 1 every time it detects the random loot would be one way to do it. When counter reaches 5, let it turn off and give the player a notification that you got enough.
 

Llareian

Jack of All Trades, Master of None
Veteran
Joined
Jan 26, 2017
Messages
608
Reaction score
1,432
First Language
English
Primarily Uses
RMMZ
I would use the father's event to make this quest. Have your dialog set up on the first page where he asks you to bring him 5 monster eyes, then set Self Switch A on. The next page would have the condition Self Switch A, for when he's already given you the quest. More information on this page below. The last page will have the condition Self Switch B, for when the quest is complete, and he can say something like "Thanks for bringing me those monster eyes."

Without a script call:
The way to do Page 2 without a script call is to have a conditional branch check if the party has the item "Monster Eye". If they don't, he can say something like "You haven't brought me enough monster eyes yet." If they do, use Change Items to decrease the number of monster eyes in the party's inventory by one, then Control Variables to increase a variable "Monster Eyes Recovered" by one. Then add a conditional branch to check if "Monster Eyes Recovered" is >= 5. If yes, have him say "That's five monster eyes!" and give the reward and turn on Self Switch B; otherwise have him say something like, "That's one more monster eye. You've brought me \v[x] so far." Where x is the variable number for Monster Eyes Recovered.

This approach is a little clunky because you have to give him the monster eyes one by one. There are more complicated ways to use a Loop and another variable to remove multiple monster eyes (still one by one, but handled behind the scenes), but for now I'm focusing on the simpler method.

With a script call:
Page 2 is faster and easier with a script call. Instead of all the above, use a conditional branch with the script requirement below, replacing x with the item ID for Monster Eye from your database.
$gameParty.numItems($dataItems[x]) >= 5;
If true, have him say, "You've brought me the monster eyes!" (EDIT, Remove the monster eyes here!) and give the reward and turn Self Switch B on.
Otherwise, have him say, "You don't have enough monster eyes yet."
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,831
Reaction score
8,231
First Language
German
Primarily Uses
RMMV
That is all too much complex.

Since this is a Monster drop quest, have the enemies in that area give that item as a drop when killed.
And on the father event, use control variable to get the number of Monster eyes in inventory into a temporary variable, then use conditional branch to check if the Humber is five or higher.

Absolutely no need for script or counting at all
 

Latest Threads

Latest Profile Posts

I got a new PC... Nothing wrong with my lil laptop at all! Still works great, and I'll be using it for school. But, the specs for gaming were falling off fast. So I was selfish and bought myself a beast of a PC ^-^
Newstuff.PNG

Held hostage in my own house half the day by an old man that cant take hints or read body language, STILL manage to make some pixels! booyah! I should get a promotion!....No wait...I should get a job o_O
Potions are to be hoarded, not used... >_>
The full estate map(include 1F,2F,3F and backyard), yes the backyard is a small labyrinth as well as an entrance to a real labyrinth!

Forum statistics

Threads
112,234
Messages
1,066,737
Members
145,840
Latest member
Braska_Elnor
Top