I've done this in RM2k, but XP is a bit more difficult. I'm remaking a game in XP because the graphics are better and the self switch is AWESOME. It's a system to use a skill called "Chemistry" to pull up a Common Event. This event has many switches and such. Like, I have MANY different chemicles. Each chemical has a specific number assigned to it (not in order, as that could screw things up) example:
Pyrite: 190
Blurite: 320
Adding 3 chemicals together, it reaches a number. (The Mixing variable is used) MANY conditional branches are used here. If it equals such and such, you get such and such, but if not, then another conditional branch goes through. It keeps doing this until either the sum matches, or NONE of the combinations are right. Then it gives you "Failed Experiment"
It's hard to explain. But I want maybe a script or SOMETHING to making this not so difficult to do. Since I'm using XP, it's harder to do already. A script may make it a bit easier. I want the success to also depend on a certain stat such as intelligence. The more advanced the chemical you use, the harder it is to succeed.
If anyone has ANY ideas, please do share.
Aha!
I have done a similar thing before, but not in scripting. However it does sound relatively simple, and I am sure someone that is willing to make a script for you will help you out with it.
As for me, I am still learning RGSS, so I can't help you out there.
What happens if the experiment succeeds?
Then you'll get a certain item. That item depends on the ingredients used.
Like say so far I only got 2 combinations thought out.
Pyrite and Blurite makes Biotite if it succeeds.
Pyrite and Pyrocide and Pyronite makes Pyroxene if it succeeds.
All other combinations will result in failed experiment.
That was just an example.
does it need to be 3 chemicals mixed? it will probably be easier with just 2.
it'd be easier to just use a recipe system, if you ask me.
which has already been made, if you are interested.