- Joined
- Dec 5, 2016
- Messages
- 10
- Reaction score
- 8
- First Language
- Hungarian
- Primarily Uses
- RMMV
Hi everybody ^^
I'm searching for a solution, how can I use Yanfly's Item Synthesis and Attach Augments together.
The problem was the following: Independent Items default can't usable for crafting ingredients.
I can't find a good solution, so I edited Yanfly's Item Core and Item Synthesis plugins.
Item Core is only extended with two function (numNotUpgradedIndependentItems and getNotUpgradedIndependentItem),but the edited version of Item Synthesis used these.
I tested it with Item Upgrade Slots and Item Augment Slots plugin, works fine for me, and only the "original" weapon/armor (what is not upgraded) count as ingredients and only the "original" weapon/armor lost during synthesis.
If you use these edits, please credit Yanfly, because these are his/her scripts I just edited a little ^^
If you don't need Independent Items as Ingredient, please use Yanfly's original scripts.
Download:
http://ozirisz.xyz/tmp/rmmv/YEP_ItemCore.js
http://ozirisz.xyz/tmp/rmmv/YEP_ItemSynthesis.js
If some more experienced scripter could check my code, it will be nice ^^
I know, it's not the perfect solution, but more than nothing ^^
PS: sorry for my bad english :$
* If you want to use Armors/Weapons as Ingredients, default its impossible.
* I provided this workaround with editing this plugin and extend Item_Core
* for the functionality. So you also need the modified Item_Core.
* The plugin only see the "original", unupgraded version of the Armor/Weapon.
* So, if it's upgraded or it has some augment it's not count as Ingredient.
*
* For expample, you have this recipe:
* <Synthesis Ingredients>
* Iron Bar: 4
* Short Sword: 1
* </Synthesis Ingredients>
*
* And you have in inventory:
* Short Sword
* Short Sword (+1)
* Short Sword of Might
* Fiery Short Sword
* ...
*
* Only the "Short Sword" could be used in synthesis, the others are not.
* Important note: the code only checks the Independent Item's few
* property to decide, it's modifided or "original" item.
*
* boostCount = 0
* namePrefix = ""
* nameSuffix = ""
* name = baseItemName
* textColor = baseItem.textColor
*
* If these conditions not meet, the item will be treat as "Upgraded" item and
* not used for synthesis. If all conditions meet, the item can be used as
* ingredients.
*
I'm searching for a solution, how can I use Yanfly's Item Synthesis and Attach Augments together.
The problem was the following: Independent Items default can't usable for crafting ingredients.
I can't find a good solution, so I edited Yanfly's Item Core and Item Synthesis plugins.
Item Core is only extended with two function (numNotUpgradedIndependentItems and getNotUpgradedIndependentItem),but the edited version of Item Synthesis used these.
I tested it with Item Upgrade Slots and Item Augment Slots plugin, works fine for me, and only the "original" weapon/armor (what is not upgraded) count as ingredients and only the "original" weapon/armor lost during synthesis.
If you use these edits, please credit Yanfly, because these are his/her scripts I just edited a little ^^
If you don't need Independent Items as Ingredient, please use Yanfly's original scripts.
Download:
http://ozirisz.xyz/tmp/rmmv/YEP_ItemCore.js
http://ozirisz.xyz/tmp/rmmv/YEP_ItemSynthesis.js
If some more experienced scripter could check my code, it will be nice ^^
I know, it's not the perfect solution, but more than nothing ^^
PS: sorry for my bad english :$
* If you want to use Armors/Weapons as Ingredients, default its impossible.
* I provided this workaround with editing this plugin and extend Item_Core
* for the functionality. So you also need the modified Item_Core.
* The plugin only see the "original", unupgraded version of the Armor/Weapon.
* So, if it's upgraded or it has some augment it's not count as Ingredient.
*
* For expample, you have this recipe:
* <Synthesis Ingredients>
* Iron Bar: 4
* Short Sword: 1
* </Synthesis Ingredients>
*
* And you have in inventory:
* Short Sword
* Short Sword (+1)
* Short Sword of Might
* Fiery Short Sword
* ...
*
* Only the "Short Sword" could be used in synthesis, the others are not.
* Important note: the code only checks the Independent Item's few
* property to decide, it's modifided or "original" item.
*
* boostCount = 0
* namePrefix = ""
* nameSuffix = ""
* name = baseItemName
* textColor = baseItem.textColor
*
* If these conditions not meet, the item will be treat as "Upgraded" item and
* not used for synthesis. If all conditions meet, the item can be used as
* ingredients.
*

