RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

"Talk" to a plant - get an item ... HELP ME PLIZZ!! [RESOLVED]

Started by Rukishou, February 21, 2007, 04:59:15 PM

0 Members and 1 Guest are viewing this topic.

Rukishou

Hi, Kessiah is back in da house! xP

However, I need to see if there is any help I can get ... You know that in many RPGs you can "talk" to a plant, like a mushroom, and you get it? Lik in the latest pokemon-games where you "talk" to a bush and get like a nanab berry! Is there some way I can do that like it would say like

"[(Hero_name)] spotted a Candeli bush.
[Show choice] Pick
[Show choice] Leave".

Do you get it? Well, however ... I can easily make this work by using an event on the plant that says that ... But what if I want to make this a regular thing so that I won't have to make a new event for every bush or so ... How can I do this? Do I have to use events? Or is there liek a script or something else that can make this work.

And also, I would like to do it so that every time you pick some berries the amount will be randomly chosen (between a certain amount, e.g. between 3-4). And that is maybe some times says "Unfortunately there are no berries left" ...

Is there someone that can help me with this? Plizz!

Thank you, Kessiah!


Rukinet. - the dot's included!

modern algebra

You have to make n event for each one. You could make it a common event if you want and just have the event call it. As for random, that's easy. Just at the start of the event, make a variable like:

Control Variables: [Berry Picking] Random 0...n
Conditional Branch: Variable [Berry Picking] = 0
    No berries left
Else
    Conditional Branch: [Berry Picking] = 1
         you get one berry
...

conditional branch: [Berry picking] = n
       you get n berries


&&&&&&&&&&&&&

#2
Here is my way, this one has it so you can make the plant regenerate. And it has the yes/no.
Here you go!
&&&&&&&&&&&&&&&&

Rukishou



Rukinet. - the dot's included!