Add Mosnter Drop Quest

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,289
Reaction score
11,692
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
429
Reaction score
327
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
604
Reaction score
1,420
First Language
English
Primarily Uses
RMMV
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
30,907
Reaction score
7,447
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
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Ami
--- Diary ---

M.Mage: It's the F.Mage's Diary. While she isn't here,i can read it.

May, 10: I'm hurt after the battle with the Minotaur. But luckily,F.Healer heal me with her Heal-2. That why,i Fall in Love with her.

M.Mage: Eh???
So... some of my Desktop hardware has kicked it apparently (still trying to figure out what and how at the moment :/ ) .... yay?
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
Made a HUGE (YYOOOOJJ) Update to Monstructs and moving towards a Steam Early Access release!

Forum statistics

Threads
104,225
Messages
1,004,810
Members
135,740
Latest member
Animalblack
Top