Armor changes name on Equip

System: VX ACE
TLDR: Using notetags on armor in database, change name of armor when equipped.

Good evening all!

I'm not sure if this is honestly possible, but also thought it couldn't hurt to ask. I was looking to see if it possible to have a script change the name of a armor once it's equipped to an actor.

For example: In database, armor in questions is listed as fire gem with the notetag <namecharge: Fire rune> or something like that. When said armor is put on a actor, the name becomes fire rune.

Thanks for your time!
It is very possible to do and should be easy. If no one take this, i'll do it if i have time.
It is very possible to do and should be easy. If no one take this, i'll do it if i have time.

Awesome, and thank you for even responding!
Code:
class Window_EquipSlot
 
  def draw_item_name(item, x, y, enabled = true, width = 172)
    return unless item
    draw_icon(item.icon_index, x, y, enabled)
    change_color(normal_color, enabled)
    draw_text(x + 24, y, width, line_height, item.display_name)
  end
 
end

class RPG::BaseItem
 
  def display_name
    return @display_name if @display_name
    @display_name = name
    if note[/<display\s:\s(.+)>/i]
      @display_name = $1.to_s
    end
    return @display_name
  end
 
end
Try this. Use notetag
Code:
<display: new name>
Coded this at midnight, I might miss one or two things.
Oh doing a lot of crazy things late at night and low on sleep, I totally understand.

Ill give it a test and let you know, thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/armor-changes-name-on-equip.113995/