Open Shops

Author: Mr. Trivel
Name: Open Shops
Created: 2016-03-18
Version: 1.0

What does it do?
This plugins allows player to open a shop for a single item instead of going into whole shop scene with multiple items. Also allows to see whether item was bought or not and set an image for it.


How to use?
Calling the shop is done via plugin commands:
OpenShops Normal [TYPE] [ID] [SHOW] – Opens shop with item to buy.
OpenShops Single [TYPE] [ID] [SWITCH_ID] [SHOW] – Opens the shop and saves if item was bought.

[TYPE] – Item Type – a, w, i: armor, weapon, item
[ID] – ID of item in database
[SWITCH_ID] – ID of switch which will be TRUE if item was sold and FALSE if it wasn’t.
[SHOW] – Show number of item party has? True/False. Can be omitted.

OpenShops Normal w 5
OpenShops Single i 133 19
OpenShops Normal a 9 true
OpenShops Single w 16 28 false

As to how to set images for items, use following tag in any item’s note field:
Images go into img\system
NOTE: There’s no space after :

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s