YEP.58 – Item Synthesis

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.

You can grab the plugin here:
English Dropbox
English Mirror

Item synthesis is now a pretty common aspect of most RPG’s where the player can craft their own items after acquiring recipes. This plugin enables your players to be able to do that after acquiring the said recipes. Recipes can come in the form of items, weapons, and/or armors and transcribed in them are what items, weapons, and/or armors they can make. These items can be made from the main menu and/or synthesis locations!


Introduction


Item synthesis is now a pretty common aspect of most RPG’s where the player can craft their own items after acquiring recipes. This plugin enables your players to be able to do that after acquiring the said recipes. Recipes can come in the form of items, weapons, and/or armors and transcribed in them are what items, weapons, and/or armors they can make. These items can be made from the main menu and/or synthesis locations!


Notetags


To allow the player the ability to craft a certain item, that item must be included in a recipe notetag in an item that the player possesses.

Item, Weapon, and Armor Notetags:
<Item Recipe: x>
<Item Recipe: x, x, x>
<Item Recipe: x to y>
This will change this item into a recipe for x item(s). As long as this item is in possession by the party as a whole, item(s) x can be synthesized by the player provided that the player has the proper quantity of ingredients.
* Note: Entries without names will not be included. Entries without both a synthesis cost and without an ingredient list will not be included.

<Weapon Recipe: x>
<Weapon Recipe: x, x, x>
<Weapon Recipe: x to y>
This will change this item into a recipe for x weapon(s). As long as this item is in possession by the party as a whole, weapon(s) x can be synthesized by the player provided that the player has the proper quantity of ingredients.
* Note: Entries without names will not be included. Entries without both a synthesis cost and without an ingredient list will not be included.

<Armor Recipe: x>
<Armor Recipe: x, x, x>
<Armor Recipe: x to y>
This will change this item into a recipe for x armor(s). As long as this item is in possession by the party as a whole, armor(s) x can be synthesized by the player provided that the player has the proper quantity of ingredients.
* Note: Entries without names will not be included. Entries without both a synthesis cost and without an ingredient list will not be included.

<Synthesis Ingredients>
item id
item id: x
weapon id
weapon id: x
armor id
armor id: x
gold: x
named item
named item: x
</Synthesis Ingredients>
Using the above tag in an item will set those items as the ingredients required for the player to synthesize. Replace “id” with the proper item, weapon, or armor ID’s. If no “:x” is used, the database will register that as only needing 1 of that item as an ingredient. If “gold: x” is used, that will be the cost required to synthesize the item.

If you are using named entries, priority will be given to the highest ID in the order of items, weapons, then armors.

* Note: If you are using Item Core, Independent Items cannot become an ingredient for a recipe and will therefore be automatically omitted.

<Mask Name: x>
If you are masking unknown items’ names, you can change the text shown for the unknown item with x. This will cause the game to use the mask name instead of the usual ??? (if that’s what you’re using) to mask the item. This can give a player a general idea of what they may be synthesizing such as “Strange Liquid” or “Weird Crystal”.


Plugin Commands


The following are Plugin Commands you may use with events.

Plugin Command:

OpenSynthesis
Opens up the Synthesis Scene from the field.

ShowSynthesis
Shows the Synthesis command from the main menu.

HideSynthesis
Hides the Synthesis command from the main menu.

EnableSynthesis
Enables the Synthesis command from the main menu.

DisableSynthesis
Disables the Synthesis command from the main menu.


Happy RPG Making!


 

 

 

 

Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!