Yanfly ItemCore editing help

upload_2018-4-9_19-53-15.png


I've only recently got started with RPG Maker MV and not familiar with javascript or other RPG Maker software.
I've been trying to sort out a couple menu's using mostly Yanfly's plugins but I was wondering if I could get help for this.

upload_2018-4-9_19-55-41.png

I've figured that the contents within is displayed by the above string of code but i'm not understanding a single thing about it.
How can I choose which stat I'd like to include, for example TP Recovery from an item. Or Critical Hit rate with the weapon variant.

upload_2018-4-9_19-57-22.png

The rect.y+18 is just for positioning, I figured how to make 10 rectangle drawings shown but not the valuable information I'm looking for. I'd like to just manage to find out how to choose the information I want displayed for specific traits. Any help would be appreciated.
upload_2018-4-9_20-9-14.png


As an example, I can write whatever text i'd like, for example TP Recovery: and place it wherever the spare spaces are. But I don't know how to draw the value even if I have to manually place it. Infact I'd rather it be a simple solution if possible.
Double-post notice: InfiniteSynchron
If you want to add something, simply edit your earlier post and include the additional info/comment
The text to display is chosen in the getItemInfoCategory (for "Max HP Recovery", "Remove State", etc) and drawItemData (e.g. "+500") methods...you can find these directly beneath the drawItemInfo method you mention. These decide what to display based on the index passed to them. The latter includes its own drawText call, maybe that's what was confusing you?

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-itemcore-editing-help.93834/