YEP_ItemCore...How Do I change this?

Does anyone know if/how I can change the stuff on the top right part of the inventory screen? I'm referring to the "Max MP Heal, Max MP Heal, Health Heal, Mana Heal, +State, -State, +Buff, -Buff" parts. None of my items, not even my healing/mana potions will be using these parameters. I am also using JIF_GridInventory.js, but that plugin doesn't affect this, only the layout. Thx.
Screenshot.png
I had a look at Item Core's code and it seems you can write (or get someone else to write) a plugin that overrides the following Yanfly methods:
  • Headings: Window_ItemStatus.prototype.getItemInfoCategory
  • Values: Window_ItemStatus.prototype.drawItemData
Alternatively you could override/alias the single method that calls these two, e.g.
JavaScript:
Window_ItemStatus.prototype.drawItemInfo = function(item) {};  // draw nothing
Im considering just removing that block completley with srd supertools, the info is not that important and can be written in the description anyway. But the page is gonna be so empty if i do 😛
Unfortunately, SRD Supertools is wholly incompatible w/ LTBS. :/
Oof....Well, you can always change it to the old apperance (itemcore -> item scene -> Updated Scene item -> false) but other then that ''what caethyril said'' 😛 afaik
lol darn, I just spend the last 6 hours making 128x128 resolution images for the items in my game! Updated Scene Item: false looks kinda plain... It also introduces large gaps on the screen. I might just have to toss JIF_GridInventory out the window too since it's screwing up the equip menu/screen. I'll give
"Window_ItemStatus.prototype.drawItemInfo = function(item) {}; // draw nothing" a shot and see what happens though...
Oh yea, the large icon is drawn separately. My one-line plugin suggestion should just remove all the smaller "info" rectangles. 🙂
Is there a way to get the big img to hug the left edge instead of being centered? That way I could just make a very wide image that functions as both the picture and detailed item description in .png form.
Screenshot.png

I simply made this 256x128 img for proof of concept.
👋 You'd need to override the drawItemPictureImage method of Yanfly's Item Picture Images plugin.

It uses a standard blitting approach...I think you can simply copy that method into a .js file (e.g. the one you're already using to hide the info boxes) and replace these two lines:
JavaScript:
  var dx = (Window_Base._faceWidth - dw) / 2;
  var dy = (Window_Base._faceHeight - dh) / 2;
...with this:
JavaScript:
  var dx = 0;
  var dy = 0;
(I'd rather not copy out the whole override here, since that plugin is paid and fairly small. 😴)

Incidentally, I had another look at Item Core and it seems that the background rectangles are drawn separately. If you want to get rid of those as well, maybe try adding this override:
JavaScript:
Window_ItemStatus.prototype.drawDarkRect = function(dx, dy, dw, dh) {};
Haven't tested any of this, but pretty sure it'll work~ 😤

[Edit: corrected the last bit of code to reference Window_ItemStatus.]
Lol, I wasn't aware it was paywalled. I got all 200 of Yanfly's plugins before he retired.😂
Btw, where do I put this?...
Window_ItemInfo.prototype.drawDarkRect = function(dx, dy, dw, dh) {};
Anywhere?

Edit: Anywhere doesn't work lol...
Edit2: Nvm, I found it. Didn't realize it was an edit instead of an addition.
Edit3: Unfortunately, it didn't work.😐
Screenshot.png
👋 Ack! For some reason I wrote Window_ItemInfo instead of Window_ItemStatus, that's why it won't work. Will correct my previous post~ 😴

It's an override. It can go in the same plugin you've put the other two bits of code in, if you like. That would probably help to keep things organised. 😤

Technical: note that an override in a separate plugin has the same effect as directly editing the method in the original plugin. Since plugins can be switched on/off at will (and some authors prefer no direct edits of their plugins) the separate override approach is often preferable. Basically, if you give a definition for something that already exists, the new definition will replace (a.k.a. override) the old one: this can be used by plugins to replace things in the core scripts, or in plugins that have already been loaded. 🙂
I'm actually glad you gave me the wrong code, cuz that removed the black boxes from another part where I didn't want them lol.🙏

It's so clean and beautiful now! I'm gonna go and get rid of all the black boxes from every place I can find lol.
Haha, a nice side-effect! You're welcome~ 😂

Original thread: https://forums.rpgmakerweb.com/threads/yep_itemcore-how-do-i-change-this.123243/