Jump to content






Shops and event pages

Posted by Tsukihime, 28 February 2013 · 271 views

shop
The Shop Manager currently handles shops on a per-event basis.
A shop is uniquely identified by two keys: a map ID, and an event ID.

This does not allow you to have multiple shops in a single event, especially if you want the shop to sell different things under different conditions (for example, a shop sells beginner equips at the start of the game, but near the end of the game sells advanced equips)

I am tempted to add the page number of the event to the key as well, but will have to evaluate the consequences. As long as you are not explicitly trying to grab a shop using `ShopManager.get_shop`, it should not be much of a problem, but there may be cases where you actually want to get a specific shop using script calls.

In any case, the next version of the shop manager will add the page number to the shop key. This change should not affect any existing shop plugins.




Hi! I'm just wondering, how do you set the shop goods id?

I'm pretty confused on the shop manager script. It's cool so I wanna use it.

 

Thanks!

September 2014

S M T W T F S
 123456
78910111213
14151617181920
21 22 2324252627
282930    

Recent Entries

Recent Comments