FlipelyFlip 15 Posted January 25, 2012 Advanced Item Selection v 1.0 by FlipelyFlip Introduction You're tired of using only the keyitems for the item selection? Then you will love this script, because it gives you the possibility to use all default item classes in RPG Maker VX. You can choose items only from the items category, or maybe you need a specific weapon, then change it to weapons. Easy to use! Features - easy use - you can access all default item categories like weapons, armors, items and surely keyitems Planed Features - give access to all categories at once How to Use It's just plug'n'play. You can customize the Variable ID which is used to define your category (: For the event you have only to set the variable id which you define in the script by ICV to a value you want and then use the event command for item selection and it works (: Place it above main but under materials. Script #============================================================================ # * Window_KeyItem v 1.0 #---------------------------------------------------------------------------- # For more power by Item Selection (: #============================================================================ # A little snipped made by me (FlipelyFlip # It's something like a little Script-Fix, but I'm not realy sure^^" # It's made for advanced use of the Window_KeyItem (: # Credits are not needed, so have fun by using it (: # ~Flip module Flip ICV = 1 # variable ID for controling the categories. # 1 = Items # 2 = Weapons # 3 = Armors # all other values = KeyItems end #============================================================================== # â– Window_KeyItem #------------------------------------------------------------------------------ # ã€€ã‚¤ãƒ™ãƒ³ãƒˆã‚³ãƒžãƒ³ãƒ‰ï¼»ã‚¢ã‚¤ãƒ†ãƒ é¸æŠžã®å‡¦ç†ï¼½ã«ä½¿ç”¨ã™ã‚‹ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ã§ã™ã€‚ #============================================================================== class Window_KeyItem < Window_ItemList #-------------------------------------------------------------------------- # ◠入力処ç†ã®é–‹å§‹ #-------------------------------------------------------------------------- def start if $game_variables[Flip::ICV] == 1 # if variables value = 1 use item category self.category = :item elsif $game_variables[Flip::ICV] == 2 # if value = 2 use weapon category self.category = :weapon elsif $game_variables[Flip::ICV] == 3 # if value = 3 use armor category self.category = :armor else # if any other values excluding 1 2 or 3, use keyitem self.category = :keyitem end update_placement refresh select(0) open activate end end Credits No credit needed (: ~flip 1 Share this post Link to post Share on other sites
killer bon bon 27 Posted February 5, 2012 This is handy. I'd love to see this with custom categories, but it would probably make it much much longer. Share this post Link to post Share on other sites
Tobyej 4 Posted February 6, 2012 (edited) See, I'm a good newb! I was going to request this, but I thought no, I'll check the forums first ^^ I saw this before, but I hadn't come across the problem yet so wasn't sure what it did exactly. Thanks! EDIT: Also I realised it will be easy to let them select their item class too, so essentially you can have them choose 1 object from their entire inventory. This is very nice Edited February 6, 2012 by Tobyej Share this post Link to post Share on other sites