[Help] Random Generated Contracts

nzombiegaming

Warper
Member
Joined
Jan 26, 2020
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey everyone!

Quick description of what I am trying to do.

I have Job boards across my game and I want then to have a section of random material gathering contracts that if filled will payout a good amount of gold. This is going to be a clear separation of actual story quest and just option grind quests.

What I have attempted so far.
I have a common event that pulls the amounts of each item the party has in their inventory. I also have random numbers that pick between all the resources and how many are required for the contract.

The problem.
I cannot find a suitable way to check if the party has the amount equal to the random number and then remove it from their inventory. The photo attached shows an example of how I would want it to look. The red are all variables: Amount, Item, and Gold.

I know this is possible with a ton of ifs but I figured there is a better way to go about this that my lack of scripting knowledge in this engine isn't thinking about.

Any help would be appreciated!
 

Attachments

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,975
Members
137,563
Latest member
cexojow
Top