The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: JackHGardner on March 28, 2013, 04:02:45 PM

Title: [XP] How to change an item's icon?
Post by: JackHGardner on March 28, 2013, 04:02:45 PM
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?
Title: Re: [XP] How to change an item's icon?
Post by: modern algebra on March 29, 2013, 01:57:55 PM
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.