Jump to content

Recommended Posts

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.
 
Video:
 
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.
 
Examples:
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:
<OpenShopImage:imageName>
Images go into img\system
NOTE: There's no space after :
 
Plugin: <Link: Github>
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.

 

  • Like 1

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted