Request: Shop that Sells ONLY what items you have sold.

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I want to set up a shop that only sells items that YOU have sold to that shop.

For instance, I go to a shop that only sells Potions. However, if I sell a Super Potion to that shop for 500G, the next time I visit the shop, it now is selling Potions AND Super Potions.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Will it only sell the same quantity? So if you sell a super potion, will it only have ONE super potion to offer next time you come? Or is it an unlimited supply?


Is this for ALL shops? Or do you want some to behave normally and others to have this special ability?


And do you want to have a way to identify the shop, or is it safe to identify it by map/event id? For example, some people will have a shopkeeper NPC, but will then have two or three events set up on the counter that all do the shop processing - no matter which event you interact with, you're at the same shop. If they were identified by event id, you would have to interact with exactly the same event to have the new items, which would be undesirable.
 
Last edited by a moderator:

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I was thinking unlimited stock, and just calling the specific shop with a script call, as I do Not want all shops to have this trait.
 

izyees

My Secret Santa
Veteran
Joined
Oct 24, 2015
Messages
248
Reaction score
67
First Language
english
Himework have those plugin. Go check for her.
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I have her plugins that deal with it, but without making switches for each item (and no way to detect whats sold) I cannot pull that off.
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
I'll add this as a plugin to the shop manager.


I currently have it so that each shop keeps track of what you've sold, so I could have a plugin use this feature to determine which items to display.


However, how would you want it to be set up?


Would it sell *anything* that you sell to the store? Or only certain items?
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
I was thinking having a Potion Shop that learned from the potions (By default, the Items category) you sold to it, making able to sell any potions you sell them. Maybe a notetag in each item will help determine if this type of shop can "learn" to sell the item?
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
What I am thinking is to have you make some plugin commands to declare which items the shop can "learn" to sell. This way, you can have different shops learn different things.


Perhaps also have the ability to reset it, like maybe the shop requires you to sell it something, and it'll only be available for a certain amount of time.


You could potentially even make it so that selling one item will unlock another.
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
Hmmm. I like it!
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
Any progress?
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
How is the shop manager going, Hime?
 

wrigty12

Just a QAer playing with Javascript
Veteran
Joined
Jan 11, 2014
Messages
624
Reaction score
159
First Language
English
Primarily Uses
RMMZ
Just a check on the Shop plugin Hime. Any positive progress?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top