I want to show stat parameters in shop

Hi, guys.

I never noticed that the RPG Maker doesn't have this basic feature.

I want the increase of stat parameters due to weapon, armor or helmet, etc. to be visible in the shop scene. Players should know what they buy.

Example: I have a weapon listed in the shop, which gives +5 ATK and -5 DEF.

What I want the shop to display:
ATK +5
DEF -5
MAT 0
MDF 0
AGI 0
LUK 0

What the shop displays by default:
+0

Does anyone want to help me with this?

I'm currently using SELL-ONLY SHOP SCRIPT v1.0 by Enelvon and Seiryuki btw.

Thanks in advance.
I see BlackMorning Shop script or Galv's Shop Upgrade as options. Otherwise it will be a custom script.
@Roninator2 : BlackMorning would require me to install his base script as well. I don't want to use any base scripts for whatever features I'll never use. As for Galv's Shop, it would be a totally different shop. I don't want a different shop. Just some more infos added to RM's default shop.

Here's a picture of what I'm looking for.

Unbenannt.png
Yes, that would be an adjustment to the Shop_Status. Busy at the moment, but if no one else does it, I'll give it a whirl.
Give this a try:
Ruby:
class Window_ShopStatus < Window_Base
  DRAW_ITEM_NAME = true
 
  def draw_equip_info(x, y)
    actor = $game_party.members.find { |m| m.equippable?(@item) }
    draw_actor_equip_info(x, y, actor) if actor
  end

  def draw_actor_equip_info(x, y, actor)
    change_color(normal_color)
    item1 = current_equipped_item(actor, @item.etype_id)
    draw_item_name(item1, x, y) if DRAW_ITEM_NAME
    draw_actor_param_change(x, y + line_height, actor, item1)
  end

  def draw_actor_param_change(x, y, actor, item1)
    (2...8).to_a.each_with_index do |param_id, i|
      change = @item.params[param_id] - (item1 ? item1.params[param_id] : 0)
      change_color(param_change_color(change))
      draw_text(x, y + line_height * i, 96, line_height, Vocab.param(param_id))
      draw_text(x, y + line_height * i, 96, line_height, sprintf("%+d", change), 2)
      reset_font_settings
    end
  end
 
end
Players should know what they buy.
Technically you can do this manually in the help window, except if you want the help window is not helpful used for a flavor text.

What the shop displays by default:
+0
The design reason they went into this decision is simply it is the easiest way to tell that the equipment is probably better than the party members are currently equipping. If you instead want the basic stat listed, the window may only fit for one character. That is not a problem if you indeed only use one actor in a whole game.

Then there's another question if the stat display displays the actual stat or just the stat change. If the equipment gives attack +3 and your attack is 4, should it display -1 or just +3?

Take the AMN script above as an example (although I believe that would yield an error because the function current_equipped_item actually returns an array).
The script take takes one of the party members that are able to equip the said equipment. And compare the change. It can be plus and minus. This yields two problems.
  1. It does not consider another actor to consider if it is actually worth buying.
  2. It does not actually simulate change equipment. The only item compares from the basic stats (assume that it actually works). I mean, who knows if the equip has a passive effect to increase a specific stat by % from trait/feature lists.
Solved. Thanks a lot, guys. :LZSwink:

Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-show-stat-parameters-in-shop.120552/