RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[XP] How to change an item's icon?

Started by JackHGardner, March 28, 2013, 04:02:45 PM

0 Members and 1 Guest are viewing this topic.

JackHGardner

I'm putting together a custom menu and I want an item that is equipped to change to a different icon.

Is there a way to change what icon image an item is associated with within a script?

modern algebra

Yes. You could change the icon in whatever method you use to draw it.

If the window only ever draws items with a modified icon, you may need to only change the draw_item_name method. If the window draws some items with the normal icon as well, then you'll need to modify the method which draws the modified icons directly.