Main Menu
  • Welcome to The RPG Maker Resource Kit.

Limit Items bought

Started by IpickZero, May 12, 2011, 12:13:00 AM

0 Members and 1 Guest are viewing this topic.

IpickZero

Well i'm not sure where to ask this But I was Wondering if there is a way to Limit certain items I Buy from Shops.

like lets say, "the store has a key it is Selling but I only need 1",
After bought I can still buy more but the player would not really need them.
Can I Limit to just 1 to be bought???

would I have to Script it or just use Events to make that possible

LoganF

A script would be easier (and better looking), but that's just my opinion. You could probably add something to Scene_Shop to prevent a player from being able to buy specific items when the player already has said item in their inventory. Window_ShopBuy can be editted to grey out this item making it look a little more obvious that you can't buy any more currently.

I could probably run up a script for it if you aren't sure what you need to do.
(Why do I always feel like it's the end of the world and I'm the last man standing?)

IpickZero

I'm not very sure how I need to do that  :( If you could do that, I would appreciate it very much.