- 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!
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
-
221.1 KB Views: 2

