The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: shanachiba on August 11, 2007, 04:47:46 PM

Title: Only buying one quantity of an item
Post by: shanachiba on August 11, 2007, 04:47:46 PM
Good morning. (Or afternoon, depending on your location.  ;))

I'd like to make a request for a shop script that would allow the player to buy only one of an item. (As an example, if you've played EQ2, a Lore item.) I need this because my game has the player buying a quest item. I don't want them to have more than one because of some event switches. I've seen the shop script for buying or selling only, but it doesn't include an option like this one (that I saw.) If someone could help me out, or direct me to a place that has one that I couldn't find, I would be very appreciative. :)

Thanks.
Title: Re: Only buying one quantity of an item
Post by: modern algebra on August 11, 2007, 04:54:44 PM
http://www.hbgames.org/forums/archive/index.php/t-6538.html
Title: Re: Only buying one quantity of an item
Post by: shanachiba on August 11, 2007, 06:16:08 PM
That's an awesome script but . . . I'm an absolute moron when it comes to understanding how to program it. Can someone translate the instructions into laymen's terms?
Title: Re: Only buying one quantity of an item
Post by: Falcon on August 11, 2007, 07:05:49 PM
Could you not just use an event?

Conditional Branch + Reponse == Yes -> Remove Gold, give item, turn self switch on.