Stan Posted November 5, 2021 Share Posted November 5, 2021 Heya guys, i got another question today. Â Is there any possible way to make an limited sell of a item per day? Let's say i want to put an npc who sell a bread. Then, if the player buys the bread, can i make something to avoid the player buys again the bread till the next real life day? Link to comment Share on other sites More sharing options...
0 Cheshire Posted November 5, 2021 Share Posted November 5, 2021 Not by default, there's currently no concept of stock on shops. Link to comment Share on other sites More sharing options...
0 SkySpeedXIV Posted November 15, 2021 Share Posted November 15, 2021 You can design 2 shops in the editor. After that, in an event, based with conditions, you can show different shops to the player.  Example :  Shop #1 : Has your bread in stock. Shop #2 : Doesn't have it in stock.  Event : If : The player doesn't have the bread : Open Shop #1 Else : Open Shop #2  You can also trigger different shops by setting more conditions.  Hope this helps! Stan 1 Link to comment Share on other sites More sharing options...
Question
Stan
Heya guys, i got another question today.
Â
Is there any possible way to make an limited sell of a item per day? Let's say i want to put an npc who sell a bread. Then, if the player buys the bread, can i make something to avoid the player buys again the bread till the next real life day?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now