I want to merge item classification and description extensions.
#6
(11-24-2019, 05:01 AM)DerVVulfman Wrote: You don't have a KItem script.  You have a KItemRefill script, but no KItem.  I looked.  And I found a flaw in KItemDesc (see the thread).

zlsl?  That's a nice script, but a bit limited.  I would use element tagging ito separate the items into their categories instead of listing all of them in those arrays.

In Kategoryzacja przedmiotów by Ayene, the initialize and refresh methods of Window_Item are rewritten.
in KItemDesc by kyonides, the initialize and draw_item methods of Window_Item are rewritten.  And Scene_Ttem's Main was rewritten with its own main_loop method added.

To use both, you WOULD need to have an initialize method for Window_Item that combines both.

SO.....

Place Kyo's script ABOVE Ayane's Category script.  Then place this patch below both:
Code:
#==============================================================================
# ** DerVV's Patch for KItemDesc and Kategoryzacja przedmiotów
#    Uses code based on kyonides's and ayane's work
#==============================================================================

#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
#  This window displays items in possession on the item and battle screens.
#==============================================================================

class Window_Item < Window_Selectable
 #--------------------------------------------------------------------------
 # * Includables
 #--------------------------------------------------------------------------
 include AYE::ITEM_CAT
 #--------------------------------------------------------------------------
 # * Object Initialization
 #--------------------------------------------------------------------------
 def initialize
   battle = $game_temp.in_battle
   w = battle ? 640 : 320
   super(0, 64, w, 352)
   if battle
     self.y = 64
     self.height = 256
     self.back_opacity = 160
   else
     super(0, 64, 640, 352)
   end
   @column_max = 2
   unless $game_temp.in_battle
     category(0)
     self.active = false
   end
   refresh
   self.index = 0  
 end
end

First of all, sorry for the slow response and thank you for your help!
I'm impressed by the magic. Blushing + Cheery Blushing + Cheery

I didn't want to bother my friend, but I want to talk about a bug he patched him.
First of all, the script works well without crashing!
However, if you press (Input :: B) to exit the menus and maps, the item window remains. Does typing '@ item_window.dispose' solve the problem?
I put 'dispose' in several places and the item window remains on the map.
Reply }


Messages In This Thread
RE: I want to merge item classification and item description. - by zlsl - 11-25-2019, 04:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 60 Yesterday, 03:09 AM
Last Post: JayRay
   Handling very long Item Names Mel 4 8,232 09-24-2018, 06:37 PM
Last Post: Mel
   Need help with my menu - Current issue is item grid layout LilyFrog 41 39,267 09-24-2018, 02:03 AM
Last Post: LilyFrog
   A fourth column in MOG Scene Item Laura V1.2 Noctis 13 20,321 11-27-2016, 05:12 PM
Last Post: DerVVulfman
Exclamation  FF7s Hyper/Tranquilizer Item Script Petition Iqus 2 5,078 06-18-2013, 01:26 AM
Last Post: Iqus
   Cold's Bestiary and Item Book Vengan 0 3,568 05-27-2010, 08:59 AM
Last Post: Vengan



Users browsing this thread: 2 Guest(s)