Jump to content
Glasses

Shop adds new Items when Selling

Recommended Posts

Author: Mr Trivel
Idea from: Etrian Odyssey

Name: New Items in Shop on Sell

 

Version: 1.0

 

Features: 

Instead of having default shop where you list items in it. Now you can call another type of shop. Which gets new items as you sell specific items to it.
E.g. Sell 5 Copper Ore to unlock Copper Dagger.
(You can still use normal shop, too!)

 

Screenshots: 

 

9isnz.gif

 

 

Instructions: 

Call the item buy by using:
SceneManager.call(MrTS_Dynamic_Shop)
 
In item’s note tag, write:
<Shop:
i: X, Y
>
i – item, w – weapon, a – armor
X – ID of the item/weapon/armor
Y – Quantity
E.g.:
 
<Shop:
i: 10, 12
w: 2, 5
>
Means you need to have 12 of Item with ID 10 sold at the shop and 5 of Weapon with ID 2 also sold at the shop to unlock that item.
 
Or you can use
<Shop: Default>
To have item be automatically unlocked in the shop.

 

Script: <Link: Pastebin>

Blog: <Link: On blog>

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