Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.
This plugin requires the Item Core plugin as this plugin is an extension plugin for it. This plugin enables your players to be able to uprade their weapons and armors through a dedicated slot system.
This plugin requires YEP_ItemCore.
Make sure this plugin is located under YEP_ItemCore in the plugin list.
This plugin adds Item Upgraders, where you can select the base item and then apply the appropriate Item Upgraders onto it to boost its parameters.
The following notetags can be used to modify item upgrades.
Weapon, and Armor Notetags
<Upgrade Slots: x>
This sets the number of times an item can be upgraded instead of the default amount defined in the database.
<Slot Variance: x>
This makes it so that there is a random variance for the number of slots provided through the item. If this notetag isn’t used, it will go by the setting in the parameters.
<Upgrade Sound: filename>
Changes the upgrade sound played to ‘filename’. If this notetag isn’t used, the ‘Default Sound’ parameter sound will be used instead.
These are the effects applied (in the order they’re listed). Refer to the ‘Upgrade Effects List’ in the next section to have those effects applied to the upgraded item.
<Upgrade Item Type: All>
<Upgrade Item Type: Regular>
<Upgrade Item Type: Key>
<Upgrade Item Type: Hidden A>
<Upgrade Item Type: Hidden B>
<Upgrade Item Type: Always>
<Upgrade Item Type: Battle>
<Upgrade Item Type: Menu>
<Upgrade Item Type: Never>
<Upgrade Item Type: string>
This makes it so this item can be used to upgrade the item that matches either the item type or the item occassion. If none of those work for you, you can use the following notetag and place an instance for ‘string’ inside of the item upgrade types.
Puts this type into the notebox for items (not weapons nor armors) and it will add ‘string’ as its type. You can insert multiple copies of this notetag to enable the item to have more types. Any types in here that match the types for the previous notetag will enable the item to be upgradeable by that upgrade item type.
<Upgrade Weapon Type: x>
<Upgrade Weapon Type: x, x, x>
<Upgrade Weapon Type: x through x>
This makes it so that only weapon types x can use this item for upgrade. If you use weapon type 0, all weapons can be upgraded using this item.
<Upgrade Armor Type: x>
<Upgrade Armor Type: x, x, x>
<Upgrade Armor Type: x through x>
This makes it so that only armor types x can use this item for upgrade. If you use armor type 0, all armor can be upgraded using this item.
Upgrade Effects List
The following is a list of effects you can use for the <Upgrade Effects> notetag to have it apply the desired effects to the upgraded item.
Effect Text Upgrade Effect:
Base Name: x
Changes item’s base name to x. *Note2
Boost Count: +x
Increases Boost Count by x. *Note2
Boost Count: -x
Decreases Boost Count by x. *Note2
Runs x as a piece of code. *Note2
Changes item’s name to x. *Note2
Changes item’s icon to x. *Note2
Changes item’s prefix to x. *Note2
Priority Name: x
Sets priority name to x. *Note2
Random Stat: x
Increases or decreases ‘Stat’ by 0 to x. *Note1
Random Stat: +x
Increases ‘Stat’ by 0 to x. *Note1
Random Stat: -x
Decreases ‘Stat’ by 0 to x. *Note1
Reset Base Name
Resets the base name to default.
Reset Boost Count
Resets the Boost Count to 0.
Resets the icon back to the default icon.
Resets name prefix to default.
Resets ‘Stat’ back to base stat values. *Note1
Resets name suffix to default.
Resets every single aspect about item. *Note3
Changes the slot consumption cost to x. *Note1
Increases ‘Stat’ by x. *Note1
Decreases ‘Stat’ by x. *Note1
Changes item’s suffix to x. *Note2
Note1: ‘Stat’ is to be replaced by ‘MaxHP’, ‘MaxMP’, ‘ATK’, ‘DEF’, ‘MAT’, ‘MDF’, ‘AGI’, ‘LUK’, ‘SLOTS’, ‘ALL’ or ‘CURRENT’. ‘ALL’ affects all stats. ‘CURRENT’ affects only non-zero stats. This effect will also increase the boost count (+x) by 1 and update the item’s name.
Note2: This does not alter boost count nor update the item’s name unless it is altered by the effect.
Note3: Because this effect resets absolutely everything about an item, it will send the player away from the upgrade menu to reset the standings of the item.
The following are some Plugin Commands you can use for your game regarding the upgrade option in the item menu:
Shows the upgrade option in the item menu.
Hides the upgrade option in the item menu.
Disables the upgrade option in the item menu.
Enables the upgrade option in the item menu.
You can use those Plugin Commands at any time to adjust the upgrade option.
Happy RPG Making!