Template:VisuMZ Shop Listing Unlock Notetags

From Yanfly.moe Wiki
Jump to navigation Jump to search

The following are notetags that have been added through this plugin. These notetags will not work with your game if this plugin is OFF or not present.

---

Shop Unlock-Related Notetags

ShopListingUnlock Preview.png

---

<Shop Unlock Requirements>
 requirement
 requirement
 requirement
</Shop Unlock Requirements>

- Used for: Item, Weapon, Armor Notetags
- Creates a list of requirements before the listed item, weapon, or armor
  will appear in the shop.
  - These items still have to be listed normally inside of "Shop Processing"
    event. They just don't become available until the unlock requirements
    have been met.
- Replace 'requirement' with any of the requirement types found below.

    Buy Item id: quantity
    Buy Item name: quantity
    Buy Weapon id: quantity
    Buy Weapon name: quantity
    Buy Armor id: quantity
    Buy Armor name: quantity
    Buy Gold: quantity

    Sell Item id: quantity
    Sell Item name: quantity
    Sell Weapon id: quantity
    Sell Weapon name: quantity
    Sell Armor id: quantity
    Sell Armor name: quantity
    Sell Gold: quantity

  - Replace 'id' with a number representing the ID of the item, weapon, or
    armor that is required to be bought or sold.
  - Replace 'name' with the associated item, weapon, or armor's name.
  - Replace 'quantity' with a number representing the number of items,
    weapons, or armors bought or sold.
  - For gold, "Buy Gold" refers to the amount of gold spent when buying
    items of any sort. "Sell Gold" refers to the amount of gold earned after
    selling items of any sort.
  - Insert multiple lines to add more shop unlock requirements.

  Examples:

  ---

  <Shop Unlock Requirements>
   Buy Item Potion: 5
   Buy Gold: 2000
  </Shop Unlock Requirements>

  - This makes the item with this notetag require at least 5 Potions to be
    bought and at least 2000 gold has to be spent inside any shop for this
    item to become unlocked for the player to purchase.

  ---

  <Shop Unlock Requirements>
   Sell Item Tiger Fang: 10
   Sell Item Tiger Claw: 5
  </Shop Unlock Requirements>

  - This makes the item with this notetag require at least 10 Tiger Fangs
    and at least 5 Tiger Claws to be sold to any shop before this item
    becomes unlocked for the player to purchase.

  ---

---

<Shop Unlock Visible: Always>
<Shop Unlock Visible: Progress>
<Shop Unlock Visible: Never>

- Used for: Item, Weapon, Armor Notetags
- Requires <Shop Unlock Requirements> notetag present, too.
- An item, weapon, or armor with this notetag will change the shop listing
  unlock visibility requirements to something else.
  - Always - Always show unlockable items regardless of progress.
  - Progress - Show unlockable items as long as there is progress.
  - Never - Don't show items until fully unlocked.
- If this notetag is not used, refer to the default ruling set up in the
  Plugin Parameters.

---