Home > Tutorials > RPG Maker 2003 > Alchemy
Alchemy 
If you know how to do a cooking event, and custom menu like party changing, this should be fairly easy.
Make a bunch of alchemy spell switches, which turn on as you find Alchemy Books, or maybe unlock them in the game.
Now, make a whole bunch of items. They should be in two categories, ingredients and formulas. Ingredients should be herbs, minerals, liquids, that sort of thing and are common items. See the Random Drops tutorial for how you can add them in. The formulas should be like a single use spell scroll. Now, these scrolls would only be used by the alchemist(s).
Okay, now make a largely blank page with a background that has menu-looking thing. Make a bunch of either teleport events, or just below hero action events (this works better anyway as you'll have more room for more alchemy items). So anyway, make an event that teleports you to this screen, and switches the hero association an arrow or pointer or something. Make another event that teleports you back (and reverts the hero) when you eitther cancel out or select the thing. Make the first page of each event blank and below hero, and the second page should be the (whatever AlchemyFormula) Switch ON in checkbox have whatever charset icon you use to represent the effect.
When you push the action, it should do the following:
<>Var Ingredient1, Set (Item) Amount Held
<>Var Ingredient2, Set (Item) Amount Held
(However many ingredients it has)
If Ingredient1 => (Whatever amount)
If Ingredient2 => (Whatever amount)
<>Remove Ingredient Item (that amount)
<>Remove Ingredient Item (that amount)
<>Add Formula Item 1
<>Message: You made a bottle of (whatever)!
Else
<>Message: You don't have enough ingredients.
Else
<>Message: You don't have enough ingredients.
End
(possibly add a teleport event after making something too)
So then, you just have the various skill scrolls used in battle, and name the command alchemy (and Item command). Make the command which calls the above alchemy screen called Synthesis, make it a skill and contain only one skill, a switch skill by the same name with is field only. Limit the alchemist's items to just what you craft, and that's pretty much it.
|
|
Details
|
|
Tutorial:
|
Alchemy |
|
Date Listed:
|
Fri, 04 Feb 2011 20:42:12 -0500 |
|
Author:
|
bulmabriefs144
|
|
Total Hits:
|
2094 |
|
|