• Announcements

    • RagingHobo

      Forum Upgraded!   07/17/2017

      We have successfully upgraded our forum to the latest version! Some things have moved around but don't worry everything is still there, we still need to find updated versions of the plugins we were using previously to restore everything to the way it was. There will be a running topic in the Feedback and Support in case you notice something wrong. Before you do so please clear your browser cache and close your browser completely to rule out a caching issue. Thank you for your patience during the outage and while we get everything back to 150%  
  • entries
    24
  • comments
    44
  • views
    16,433

Shops and event pages

Sign in to follow this  
Followers 0
Tsukihime

630 views

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.


  Report Entry
Sign in to follow this  
Followers 0


1 Comment


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!

Share this comment


Link to comment