Removing Parameters from Yanfly Shop Options?

Hey there! I'm looking to remove some parameters from the Shop Options script, found HERE.


From what I've gathered, the parameters are shown via this snippet:


#--------------------------------------------------------------------------
# draw_item_stats
#--------------------------------------------------------------------------
def draw_item_stats
return unless @item.is_a?(RPG::Weapon) || @item.is_a?(RPG::Armor)
dx = 96; dy = 0
dw = (contents.width - 96) / 2
for i in 0...8
draw_equip_param(i, dx, dy, dw)
dx = dx >= 96 + dw ? 96 : 96 + dw
dy += line_height if dx == 96
end
end


So, I likely need to make a method that overwrites the array and checks for certain parameters (in this case, MDF and MMP). But, I'm unsure of how to do that. Can anyone point me in the right direction?
Change this line:


for i in 0...8


To this one:


[5,1].each do |i|


5 stands for MDF and 1 for MMP.


You can add any other parameters you want to show inside the array, just insert their ID (from 0 to 7).
Thank you very much! Makes sense when presented that way lol.

Original thread: https://forums.rpgmakerweb.com/threads/removing-parameters-from-yanfly-shop-options.65791/