Template:VisuMZ Item Crafting System 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.

General Notetags

ItemCraftingSys Preview1.png

These notetags are used to mark the item as a craftable item or as items that can only be crafted through a custom crafting list.

---

<Crafting Ingredients>
 Item id: x
 Item name: x
 Weapon id: x
 Weapon name: x
 Armor id: x
 Armor name: x
 Gold: x
 Category name: x
</Crafting Ingredients>

- Used for: Item, Weapon, Armor Notetags
- Turns this item/weapon/armor into a craftable item by using the listed
  ingredients to craft with.
- If the 'Category name' variant is used, it will draw from all items,
  weapons, and armors that have matching <Category: x> notetag data.
- Insert/delete any number of copies of the ingredients as needed.
- Replace 'id' with the item/weapon/armor ID of the ingredient to be used.
- Replace 'name' with the name of the item/weapon/armor/category to be used.
- Replace 'x' with the number of ingredients needed to be used for crafting.

Category Rules:

- If the 'Category name' variant is used, it will draw from all items,
  weapons, and armors that have matching <Category: x> notetag data.
- Multiples of the same category name can be used. However, the player must
  select different items each time.
- If the selected category item already exists as a static ingredient, that
  item cannot be selected either.

Examples:

<Crafting Ingredients>
 Item 5: 1
 Item 6: 3
 Gold: 100
</Crafting Ingredients>

<Crafting Ingredients>
 Item Potion: 1
 Item Magic Water: 3
 Gold: 100
</Crafting Ingredients>

<Crafting Ingredients>
 Weapon 1: 4
 Armor 2: 2
</Crafting Ingredients>

<Crafting Ingredients>
 Weapon Sword: 4
 Armor Hat: 2
</Crafting Ingredients>

<Crafting Ingredients>
 Category Fruit: 2
 Category Meat: 3
</Crafting Ingredients>

---

<Custom Crafting Only>

- Used for: Item, Weapon, Armor Notetags
- This item can only be crafted with custom crafting lists selected through
  the Plugin Command.

---

Switch-Related Notetags

ItemCraftingSys Preview1.png

These notetags can make item crafting require certain switches to be on, or turn switches on/off upon crafting items.

---

<Crafting Show Switch: x>

<Crafting Show All Switches: x,x,x>
<Crafting Show Any Switches: x,x,x>

- Used for: Item, Weapon, Armor Notetags
- Determines the visibility of the craftable item in the crafting scene.
- Replace 'x' with the switch ID to determine the item's visibility.
- If 'All' notetag variant is used, item will be hidden until all switches
  are ON. Then, it would be shown.
- If 'Any' notetag variant is used, item will be shown if any of the
  switches are ON. Otherwise, it would be hidden.
- Insert as many switch ID's as needed.
- This can be bypassed with the custom Item Crafting list plugin command
  option if enabled.

---

<Crafting Turn On Switch: x>
<Crafting Turn On Switches: x,x,x>

<Crafting Turn Off Switch: x>
<Crafting Turn Off Switches: x,x,x>

- Used for: Item, Weapon, Armor Notetags
- Upon crafting this item, turn on/off the marked switch(es).
- Replace 'x' with the switch ID to turn on/off.

---

Masking-Related Notetags

ItemCraftingSys Preview1.png

These notetags can are used to determine name-masking properties for uncrafted items.

---

<Crafting Mask: text>

- Used for: Item, Weapon, Armor Notetags
- Displays the specific 'text' when the item has not yet been crafted.
- Replace 'text' with the text you wish to display if the item has not yet
  been crafted by the player.
- This can be bypassed with the custom Item Crafting list plugin command
  option if enabled.

---

<Crafting No Mask>

- Used for: Item, Weapon, Armor Notetags
- Bypasses name masking even if the item has not yet been crafted.

---

JavaScript Notetag: Effect-Related

The following are notetags made for users with JavaScript knowledge to make custom effects that occur upon crafting the item.

---

<JS Crafting Effect>
 code
 code
 code
</JS Crafting Effect>

- Used for: Item, Weapon, Armor Notetags
- Replace 'code' with JavaScript code to determine what kinds of effects you
  want to occur upon crafting this item.
- The 'item' variable represents the item being crafted.
- The 'number' variable represents the number of items being crafted.

---

Crafting Animation-Related Notetags

ItemCraftingSys Animation.gif

These notetags let you set custom crafting animations when a specific item, weapon, or armor is crafted so that way, they don't all have to use the default crafting animation from the plugin parameters.

---

<Crafting Animation: id>
<Crafting Animation: id, id, id>

- Used for: Item, Weapon, Armor Notetags
- Plays the animation(s) when this item, weapon, or armor is crafted.
- This will override the default animation settings found in the plugin
  parameters and use the unique one set through notetags instead.
- Replace 'id' with the ID of the animation you wish to play.
- If multiple ID's are found, then each animation will play one by one in
  the order they are listed.

---

<Crafting Fade Speed: x>

- Used for: Item, Weapon, Armor Notetags
- This determines the speed at which the item's icon fades in during the
  crafting animation.
- Replace 'x' with a number value to determine how fast the icon fades in.
- Use lower numbers for slower fade speeds and higher numbers for faster
  fade speeds.

---