Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 I want to merge item classification and description extensions.
#1
Yes, first I can't lift my head. 
I always feel lack of study and understanding. Sweat  Sweat 


[Image: tnQfyfQ.png]

Ths is part of the screen I was working on. 
(There is no description extension in the original!)

I want to merge Kategoryzacja przedmiotów [XP] (http://www.ultimateam.pl/viewtopic.php?t=9028) with a nice script made by kyonides (https://www.save-point.org/thread-7588-post-50736.html).
(I hope kyonides doesn't feel bad at my request. I like both kyonides and Ayene's scripts.<3)


Don't worry about window size compatibility!
As you can see in the example image, I can handle basic scripts such as window size and movement.  Laughing Laughing


,,,Too much dependence on friends. So sorry (ᵕ̣̣̣̣̣̣﹏ᵕ̣̣̣̣̣̣)

This is the last time. I won't bother my friends ever since.
But can you help me one last time?
Reply }
#2
Some time ago I published KItem and KItem + KSkillShop... I don't know if any of them already includes what you're looking for. Right, it might not look exactly like the one on the screenshot above but customizing it isn't an issue here as far as I can see.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#3
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
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }
#4
Actually I gotta say that the latest version of KItemDesc I published recently has overwritten Window_Item's refresh method to include some new feature we had been talking about lately... Sad

EDIT
I wonder why the title changed to "menu categories and menu descriptions" in Korean... Confused
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
#5
(11-24-2019, 07:46 AM)교니 데스 Wrote: Actually I gotta say that the latest version of KItemDesc I published recently has overwritten Window_Item's refresh method to include some new feature we had been talking about lately... Sad

EDIT
I wonder why the title changed to "menu categories and menu descriptions" in Korean... Confused

What do you mean?

Your script is really cool. I'm impressed. Laughing Laughing

+ Oh, the title seems to be a mistake. I fixed it now.
I didn't know I made a mistake in the title by making Google Translator work all the time.
Reply }
#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 }
#7
Hey, I'm a werewolf. We gotta deal with the preternatural daily. Blushing + Cheery

And check the updated KItemDesc thread. Winking
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }
#8
Yeah, I gotta admit I revisited my thread once again to finally implement what I had left out by mistake... or lack of sleep. Confused Now it should be listing skills as well, but you gotta activate a switch first! Shocked
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Handling very long Item Names Melana 4 7,265 09-24-2018, 06:37 PM
Last Post: Melana
   Need help with my menu - Current issue is item grid layout LilyFrog 41 31,950 09-24-2018, 02:03 AM
Last Post: LilyFrog
   A fourth column in MOG Scene Item Laura V1.2 Noctis 13 17,068 11-27-2016, 05:12 PM
Last Post: DerVVulfman
Exclamation  FF7s Hyper/Tranquilizer Item Script Petition Iqus 2 4,449 06-18-2013, 01:26 AM
Last Post: Iqus
   Cold's Bestiary and Item Book Vengan 0 3,068 05-27-2010, 08:59 AM
Last Post: Vengan



Users browsing this thread: