SHOP ADDS NEW ITEMS WHEN SELLING

RPG Maker VX Ace

Shop stocks up on items when you sell materials to it.

  • Glasses
  • 01/05/2015 12:14 PM
  • 2063 views
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.

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.