need help on money related events

SunlightSquad

Villager
Member
Joined
Jun 4, 2020
Messages
5
Reaction score
0
First Language
English
Primarily Uses
RMMV
Is there a way to make a event happen once you paid enough money to a certain person? As an example let's say we have this merchant who sells wares. He only sells the same things but once you buy 1000 of his items from him or you've bought 10000G worth of items he adds a new item to his shop or opens a secret passage to his secret shop.
 

Black Pagan

Veteran
Veteran
Joined
Feb 21, 2017
Messages
248
Reaction score
159
First Language
English
Primarily Uses
RMMV
Not really sure about that but i could suggest an alternative - You could assign Variables lets say from 1 to 5 and make a different Shop Processing event for each Control Variable. You could trigger the Variables depending on Conditional Branches like Switches that are active based on number of Items in Player inventory or Player Gold or Game Time etc.
 

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
432
Reaction score
1,379
First Language
Bahasa
Primarily Uses
RMMV
This example basically check your current gold BEFORE shopping to be substracted by your gold AFTER shopping. The surplus will then be accumulated inside "Secret Unlock" variable.
1591426571245.png
Note that it only works if the type of shop is "purchase only", so you won't be able to sell things and confuse the variable check.
 

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

Latest Threads

Latest Profile Posts

Hosting a private game jam...might have smthng to post soon if I can fix these dang parallaxes.
Oof it's been a while...well I'm back to stay!
Gosh I hate fireworks. Especially if you cant even see em. Its just noise. Noise that scares my pets.
Some (totally) differfent (more traditional) Goblin faces...

what do you guys think?
My game = 4.5k hours, 4 years+ and should be done in 3 weeks!!

OMG so excited!

I plan to finish before my b day, July 21st.

Forum statistics

Threads
99,238
Messages
963,314
Members
130,820
Latest member
viewtifuljoe
Top