MV Make Yanfly EquipCore always show ItemInfo

Hey all,

I've been trying to fiddle with Yanfly's Equip Core plugin so that it doesn't show the item stats window and instead shows the item info window at all times (normally accessed by pressing left and right). For reference, it's this window:
1715812814581.png


I've been trying to comment out functions or force it to draw the InfoWindow, but each thing I try causes a crash. I just don't understand the flow of creating windows. But it seems like this should be easier to do since I'm only removing things instead of creating new functions.

Bonus points if I can get the ShopCore to behave the same way by always showing the ItemInfo as well.
I've been trying to comment out functions or force it to draw the InfoWindow, but each thing I try causes a crash. I just don't understand the flow of creating windows. But it seems like this should be easier to do since I'm only removing things instead of creating new functions.
comment out line 974 and it should only show the info window

Edit: this one
Code:
//this._lowerRightWindows.push(this._compareWindow);
Wow, how easy! This worked perfectly, thanks @Robro33 Unfortunately it looks like Yanfly Shop Core is a bit more complicated. Weird he didn't think people would want this Info in the shop, so I have to try to copy paste code over... but so far that's a struggle.
so I have to try to copy paste code over... but so far that's a struggle.
you could copy paste code over, but theres no need to. Replace the "Window_ShopInfo" on line 1181 with "Window_ItemInfo" and itll replace the shop's item window (stats) with the equip menu's info (info text). Just keep in mind youre working with less space if you dont alter its default size
1715824014373.png
Oh, it looks like I was indeed going after the wrong things to replace. I tried a few of these and line 1246 got me the bottom right portion:

1715824606931.png


That middle part ("iteminfo") is annoying, I think I'll worry about that when I can spend more time on UI polish (which probably will involve commissioning some stuff) since I'll have to rearrange stuff and design a look for it.

Thanks again, @Robro33 !
If you don't want the item info, you could remove it; have the item action window at the top of the screen with the help window next to it.

Then the two lower screens are in the same X positions, but their tops would be higher up.
@ATT_Turan I do still want that large icon display. But maybe I could squeeze that between the item action and help window. And the help window would be 4 lines tall… which might work with word wrap? I’m not sure if the engine will use those extra lines. Also it wouldn’t have parity with the equip and item screens. Hmmmm…
it always helps me to whip up a mockup of how id like the screen to look before starting to write/edit windows. an ms paint diagram goes a long way in organizing my thoughts

Original thread: https://forums.rpgmakerweb.com/threads/make-yanfly-equipcore-always-show-iteminfo.168715/