So I'm using Yanfly's Item Upgrade Slots and I would like a way to prevent the extra upgrade from appearing in the info window. Can anyone help me with this?
MV Yanfly's Item Upgrades; how to prevent extra upgrade slots from appearing in info window
Javascript/Plugin Supporthow exactly does that happen?
can you show the item notetag? and explain how that appears?
as when you upgrade it, it shows an upgrade line to it.
without details, we cannot do much.
can you show the item notetag? and explain how that appears?
as when you upgrade it, it shows an upgrade line to it.
without details, we cannot do much.
Code:
<Upgrade Weapon Type: 0>
<Upgrade Armor Type: 8>
<Upgrade Effect>
ATK: +1
Slots: 2
</Upgrade Effect>
There's a screenshot attached to the original post. I even highlighted the important parts, but I'll explain it anyway. (forgive me if I come across as rude, I'm autistic)
The upgrades appear like this in the info window;
Enchantment 1: (scroll icon) Strength I
Enchantment 2: ---
Enchantment 3: (scroll icon) Strength I
Enchantment 4: ---
This is because the "enchantments" (upgrades) cost 2 upgrade slots (or as it's referred to as in my game, these enchantments cost 2 Moxie)
I want the upgrades to appear like this in the info window;
Enchantment 1: (scroll icon) Strength I
Enchantment 2: (scroll icon) Strength I
Edit: to avoid confusion, just know that this example shows what happens when I "enchant" a weapon with 2 "Strength I" scrolls.
I think how, but still unsure.
what happens if you change it to 3? with there be 2x ----?
if so, open the plugin and go to line 426 and set // in front of line
426, 427 and 428, this should remove the --- as it pushes in.
what happens if you change it to 3? with there be 2x ----?
if so, open the plugin and go to line 426 and set // in front of line
426, 427 and 428, this should remove the --- as it pushes in.
You mean like this?
Code:
ItemManager.payIUSEffects = function(mainItem, effectItem) {
$gameParty.loseItem(effectItem, 1);
mainItem.upgradeSlots -= effectItem.upgradeSlotCost;
this.addIUSLine(mainItem, effectItem);
//for (var i = 1; i < effectItem.upgradeSlotCost; ++i) {
// mainItem.slotsApplied.push('---');
//}
this.increaseItemBoostCount(mainItem, effectItem.boostCountValue);
};
Original thread: https://forums.rpgmakerweb.com/threads/yanflys-item-upgrades-how-to-prevent-extra-upgrade-slots-from-appearing-in-info-window.167339/