Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=============================================================================
- // Maliki's fix of YanFly's ItemCore (as of ver 1.11)
- // Mal_YF_ItemCore_Note_Fix.js
- // version 1.0
- //=============================================================================
- /*:
- * @plugindesc Fix for projects having issues using FanFly's ItemCore Plugin. This plugin should allow other plugins that utilize note data from items to function properly.
- *
- *
- * @author Maliki79
- *
- * @help
- * Just place this plugin in your plugin manager making sure it is under YF's ItemCore plugin.
- * Working as of version 1.11
- */
- var MalsetNewIndependentItem = ItemManager.setNewIndependentItem
- ItemManager.setNewIndependentItem = function(baseItem, newItem) {
- newItem.baseItemId = baseItem.id;
- newItem.baseItemName = baseItem.name;
- newItem.baseItemPrice = baseItem.price;
- newItem.baseItemIconIndex = baseItem.iconIndex;
- newItem.namePrefix = '';
- newItem.nameSuffix = '';
- if (baseItem.setPriorityName) {
- newItem.priorityName = baseItem.name;
- } else {
- newItem.priorityName = '';
- }
- newItem.boostCount = 0;
- newItem.note = baseItem.note;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement