Item Details Script - Fix with Galv's Menu Themes Engine

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
476
Reaction score
165
First Language
English
Primarily Uses
RMMV
Hey,

I'm hoping that someone could help me with a small compatibility fix between Galv's Menu Themes Engine, and Hoshigata's Item Details script.

The two scripts actually do work with one-another, however, since the extended item description creates a window while still in the item menu, the mostly transparent windowskin that Galv's script creates applies to the new Item Details window too.

To give that mess of a sentence some context, the result is this mess:
Capture0.PNG

The Item Details window works just fine, but since the window it creates is the one created by Galv's script, it's nearly impossible to read anything.

Could someone help me create a patch that would allow the Item Details script to instead use the default windowskin/transparency?
 

Ebanyle

açspasl~d~dfflass
Veteran
Joined
Sep 2, 2016
Messages
338
Reaction score
198
First Language
Portuguese
Primarily Uses
RMVXA
Paste this under both scripts:
Code:
class Window_Item_Detail < Window_Selectable
  attr_accessor :last_window
  #--------------------------------------------------------------------------
  # 初期化
  #--------------------------------------------------------------------------
  def initialize
    super(0,0,Graphics.width,Graphics.height)
    self.windowskin = Cache.gmenu("Windowskin2",$game_system.menu_theme) rescue
    Cache.system("Window")
    set_theme_tone
    self.z = IT_DETAIL::Z
    self.back_opacity = IT_DETAIL::BOP
    hide
    deactivate
  end
end
Where "Windowskin2" is the window you want to use (for example, the same menu window, but with more opacity)
It should go in the same folder as the transparent window

nice fruit names, by the way ;D
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
476
Reaction score
165
First Language
English
Primarily Uses
RMMV
Awesome, seems to be working great. Thank you very much!

And haha, thanks :p
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Managed to find a way to hang a bed cover over my window. So no more being toasted alive in the afternoon!:kaoswt2:
So, uh, has anyone tried buying any resources from KokoroReflections? Because I've been looking for a 'buy' button on the site for like 10 minutes now and can't find one.
Any also thought it's too cringy to put the word "and you" in your credit as a special thanks?
Cause that's what I thought...
Everyone in the US right now: Please stay safe.
Symphony Celestia: Prophecy of the Falling Stars RPG Maker music pack WIP. Symphony Celestia is a new series that focuses on symphonic and orchestrated music to tell a story. Each story will include compositions that make up that story from beginning to end. Themes include: Battles, adventures, character themes, etc. Below is a video preview to the first story.

Forum statistics

Threads
97,980
Messages
948,325
Members
129,245
Latest member
Tanoukun
Top