Shop AI?

Hatake-hime

Squishy Cat Summoner
Veteran
Joined
Jul 12, 2013
Messages
48
Reaction score
16
First Language
English
Primarily Uses
I'd like to make it so I can have people come in to the shop and order random things, I'd like the people to be random as well, but I'm not sure how to go about this.


Is it too complicated? Should I give up? :stare: Thank you !


**


I'd like to make a shop simulation game, if anyone has any advice for me I'd appreciate it! Thanks
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
ERM xD...I am unsure what you mean...although I have a Dynamic Shopkeeper plugin in work
 

Hatake-hime

Squishy Cat Summoner
Veteran
Joined
Jul 12, 2013
Messages
48
Reaction score
16
First Language
English
Primarily Uses
I would like to make a game where customers come in to buy things, just kinda like: (random generated customer(?)) comes to buy (random generated item in shop)!


I'd imagine the customer's graphic and the item would be chosen from a file or something with that name to make it a bit easier.


But I'm unsure how to script it, any ideas is helpful. I have been looking for plugins or anything
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
ahhhhhh I see random customer...


it's kinda weird it's could be done via event though 
 

Hatake-hime

Squishy Cat Summoner
Veteran
Joined
Jul 12, 2013
Messages
48
Reaction score
16
First Language
English
Primarily Uses
Can you link me to something or tell me how I'd do it?


Everyone I've asked has said its super complicated, so I'm a bit cautious.
 

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
Here is a simple example, if you are the shopkeeper. 


Have an event walk up to you, then a variable randomly generated between 1 and 10. Each corresponds to an item, a statement and a monetary offer. The event essentially has a chance of asking you about a certain item and giving you an offer for it, and you can sell it to them if you own it.


If you wish for them to try to purchase multiple items, you can add this into a loop, which runs until another condition is met. 


You can then expand on this and have the random number regenerate if the person has already asked about that specific number, so they don't keep asking about the same thing over and over.


Have fun!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,848
Messages
1,016,974
Members
137,562
Latest member
visploo100
Top