How can I make shop where you can synthesize your items(i.e you have too potions, you go to synthesis shop and synthesize them for small fee)?
------------------
KJK
-------------------------------
Karel
Johannes Kaurila
Quote
Originally posted by Celchu:
**define synthesize. What are you trying to do?
**
In this context I beleave he is talking about taking two potions, going to a synthesize shop, and coming out with one uber potion. Or using two short swords to make a double bladed fiend knife. Like in FF IX.
------------------
You know you live in Arizona when you see someone driving with oven mits on.. and you think they are clever.
You can't do this in a shop, as the only factor in 'purchasing' an item is the gold to do so. You can't set up an event to control what a shop sells or to place additional conditionals on items in order to purchase them.
That being said...
You can set up a regular NPC and give him events to do what you wish. Basically give him a dialog response to the effect of, "I'd like you to create a potion for me" which takes you to another dialog which asks which kind of potion and he lists his options(Dragon flame potion, Leapfrog Potion, Orange Julius). If you select the potion that you want then an event is launched that checks if you have the materials to mix up the potion and, if so, removes them from the player and the potion is made(and given to the player).
The downside to something like this is the amount of choices; with dialogs you get 3 responses and multiple potion choices can quickly become cluttered. You can solve this by using an Ask Entry and forcing the player to type in the potion they want created(along with a dialog listing all of the choices). The downside to that is the player has to enter in the potion that they want by hand, as opposed to clicking a selection.
Choice is yours.
------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)
You could also try using a Main location for this. It would probably take a fair bit more work, but you wouldn't be limited to 3 choices at a time, and it would probably look nicer.
(edit)
I haven't tried this myself, but it seems like it should work. Use a location image that has pictures and/or labels for each potion to be synthesized, and place event links over each potion that bring up the event to check for whether the player can make the item, then do so.
If you want to have "secret" potions that don't become available until later in the game, you can leave parts of the location image empty and use stamps to add the items in when they become available.
(/edit)
------------------
I don't know what I'm talking about.
Oh no, here comes another learning experience.
(This message has been edited by Glenn (edited 02-20-2003).)
Quote
Originally posted by Glenn:
~snip~
Not having had much reason / desire to play around with main images(except once under the barrel of a shotgun), I never would have thought of that. But that could work very, very well in fact.
Nice idea Glenn, thanks!
------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)
Quote
Originally posted by Neep:
**In this context I beleave he is talking about taking two potions, going to a synthesize shop, and coming out with one uber potion. Or using two short swords to make a double bladed fiend knife. Like in FF IX.
**
Just like that!
------------------
KJK
-------------------------------
Karel
Johannes Kaurila