Unlock Shop Items

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
Author: Mr. Trivel


Name: Unlock Shop Items


Created: 2016-03-16


Version: 1.1




 


What does it do?


Unlock new items in shop by selling or plugin commands.


 


Screenshots:





 


How to use?





Setting up Recipes:



Items tagged with any of these tags will be available in the shop.


<InShopByDefault: [SHOP_ID]> - Will always appear in shop.


<InShopByCommand: [SHOP_ID]> - Will appear once unlocked with plugin command.


 


And the last is little longer, it takes multiple lines:


<InShopByRecipe: [SHOP_ID]>


[TYPE] [ID] [QUANTITY]


</InShopByRecipe>


 


[SHOP_ID] - ID of the shop


[TYPE] - Item type, i, a, w - i:item, a:armor, w:weapon


[ID] - ID of the item in database


[QUANTITY] - How many have to be sold in total


There can be any number of lines with item requirements.


 


Examples:


<InShopByRecipe: 1>


i 5 100


i 2 50


</InShopByRecipe>


<InShopByRecipe: 2>


a 12 1


w 2 1


i 15 10


</InShopByRecipe>


 


Plugin Commands:



DynamicShop Enter [SHOP_ID] - Enters the shop of this plugin so there's normal shop still available.


DynamicShop Unlock [SHOP_ID] [TYPE] [ID] - Unlocks item to be permanently available in the shop.


[SHOP_ID] - ID of the shop


[TYPE] - i, a, w - i: item, a: armor, w: weapon


[ID] - ID of the item in database


 


Examples:


DynamicShop Unlock 1 w 55


DynamicShop Unlock 2 a 15








 


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 non-commercial projects.


For commercial use contact Mr. Trivel.
 
Last edited by a moderator:

deilin

Ranger/Elementalist
Veteran
Joined
Mar 13, 2012
Messages
1,188
Reaction score
172
First Language
English
Is this compatable with Direct Sell/Direct Buy plugin?


I realize it's a different author. Just wondering.
 
Last edited by a moderator:

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
@deilin,


I assume you mean this plugin:




If so, it works just fine since this shop is a child of Scene_Shop. Whatever changes are done to Scene_Shop the same changes are seen in this shop.
 

deilin

Ranger/Elementalist
Veteran
Joined
Mar 13, 2012
Messages
1,188
Reaction score
172
First Language
English
Nice. The combo could work great in the game I'm working on.
 
Joined
Apr 30, 2012
Messages
216
Reaction score
35
First Language
Spanish
Primarily Uses
If you sell an iron ore,the shop will start selling iron equipment? Thanks you very much. :D
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,304
Reaction score
482
First Language
French
I've a question : when you unlock an item it will be unlocked forever or do you have to resell the compements be able to buy it again ?


My wish is to have an option like that (Etrian Odyssey fan here) : that some items/equipements are unlocked just once and for others you will need to resell the materials regulary.
 
Last edited by a moderator:

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
@Chaos17,


Right now it's permanently unlocked, but that's a neat idea for future update.
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,304
Reaction score
482
First Language
French
Edit :


I've a glitch.


When I exit the shop, it re-appears a second time.


My event setup.

 
Last edited by a moderator:

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
@Chaos17,


Well, first shop is a normal shop. 2nd shop is the shop from my plugin. So it works as intended?


Or what were you trying to do?
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,304
Reaction score
482
First Language
French
@Chaos17,


Well, first shop is a normal shop. 2nd shop is the shop from my plugin. So it works as intended?


Or what were you trying to do?
Ah, I didn't know your plugin command is for triggering the shop process.


I'm trying to setup default items to be sold while still be able to unlock new items with your plugin.


Sorry for the confusion, I'm trying to understand how your plugin is working.
 

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
@Chaos17,


Default items are set up by using this tag -  <InShopByDefault> in item note fields.
 
Last edited by a moderator:

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
467
First Language
Lithuanian
Primarily Uses
@Chaos17,


Since it only reads all of the data - yes. Guess I could add Item hiding for specific shops.
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,304
Reaction score
482
First Language
French
Okay, thank you for clarifing that, I was confused if I could or not setup specific shops with your plugin. :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

The Ace attorney series are so great games... But at the same time such a travesty.
Made a video showcasing a plugin (by Lanza) that adds 5 more weather effects to our MV games. :LZYsmile: Namely:
Ash-dust,
bloodrain,
Cherry Blossom Petals,
Hail,
and bubbles.

I just like this website:
lol

Forum statistics

Threads
103,238
Messages
998,294
Members
134,728
Latest member
ripleydx
Top