Open Shops

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
460
First Language
Lithuanian
Primarily Uses
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

i watched the sonic movie it was pretty good i hope they make a sequel
tomorrow I'ma go on a cruise for the first time ever... lets hope I'll survive the experience!
Omg! 8 years in this forum :o
Ksi
Streaming the last of the RMN Valentiny event games so feel free to drop on by and watch me cry (whether that's from laughter, rage or sheer pain, who knows?)
Today I went to sleep without setting an alarm, so I could sleep more than 2 hours. I woke up after 2 hours.

Forum statistics

Threads
94,309
Messages
919,827
Members
124,060
Latest member
jloppnow
Top