Quest help: x Itens for x gold

andrus

Villager
Member
Joined
Jan 20, 2018
Messages
7
Reaction score
0
First Language
not EN
Primarily Uses
RMMV
Hi people, I'm new in RPGM MV and i need some help! If you could help me, i'll appreciate it.

I'm creating some kind of "collecting quest". So let's say the hero can harvest x numbers of an item. And then he can sell it for 2 golds to a man. So if the hero has 1 item its easy in event: change... -1 item + 2 gold, right?

But if the hero has more than one item, and i wanted to make him sell it at once. How can i do that?
For exemple: let's say the item is a "fruit". So the hero has 3 "fruits", instead of talking to the man 3 times (1- fruit + 2 gold etc) he talks just once (-3 fruits + 6 gold). If he has 4 fruits = 8 gold, 10 fruits = 20 gold and goes on and on....

Can you help me?
 

sura_tc

Loner
Veteran
Joined
Jul 6, 2016
Messages
429
Reaction score
327
First Language
Korean
Primarily Uses
Other
This should do it.

aaaa.png
 

andrus

Villager
Member
Joined
Jan 20, 2018
Messages
7
Reaction score
0
First Language
not EN
Primarily Uses
RMMV
It worked! Thank you so much!
 

andrus

Villager
Member
Joined
Jan 20, 2018
Messages
7
Reaction score
0
First Language
not EN
Primarily Uses
RMMV

Hi Sura! Can you help me with another thing? Now i need to respawn the "fruit bushes". After a couple of time harvesting fruits from the bushes, it gets exausted. So i want the player waits x time till the bushes are good to harvest again.

I've tried many things... it works but everytime i leave the map before the event (timer) is finished, it resets. I need a universal timer, if the player leaves the current map the timer still goes on and the event finishes by itself.

My respawn event tab:
 

Attachments

sura_tc

Loner
Veteran
Joined
Jul 6, 2016
Messages
429
Reaction score
327
First Language
Korean
Primarily Uses
Other
Hi Sura! Can you help me with another thing? Now i need to respawn the "fruit bushes". After a couple of time harvesting fruits from the bushes, it gets exausted. So i want the player waits x time till the bushes are good to harvest again.

I've tried many things... it works but everytime i leave the map before the event (timer) is finished, it resets. I need a universal timer, if the player leaves the current map the timer still goes on and the event finishes by itself.

My respawn event tab:
What I can show you is the code for counting time "universally". You will have to work out minor details by yourself.

code-1.jpg
code-2.jpg
 
Last edited:

andrus

Villager
Member
Joined
Jan 20, 2018
Messages
7
Reaction score
0
First Language
not EN
Primarily Uses
RMMV
Thank you so much, again! I'll try to figure this out! :LZSsmile::wub
Tks again!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top