Tsukihime 1,487 Posted September 2, 2012 (edited) Inventory Sorting -Tsukihime Provides very simple inventory sorting functionality. You are encouraged to modify it to suit your own needs. May update it later to have separate sorting options for specific categories (eg: highest atk for weapons, highest def for armors, ...) Usage When you select an item category, press the sort key (default: A) to bring up a sort window. Select an option to sort your list. To add additional sorting options, write down the option in the Sort_Options hash, and then go down to the sort_list method in Window_ItemList and add a new case for your new option. It is fairly straightforward to modify the script to change how the sorting should be displayed to the user. Download Script: Download here Edited March 30, 2016 by Tsukihime 1 TheSpicyWaffles reacted to this Share this post Link to post Share on other sites
TheSpicyWaffles 0 Posted September 2, 2012 Thank you very much for this, Tsukihime. :] Share this post Link to post Share on other sites
estriole 326 Posted September 3, 2012 a little question. is this compatible with yanfly item scene? Share this post Link to post Share on other sites
trytobewinner 0 Posted September 3, 2012 Make compatible with yanfly item menu system. Good job Share this post Link to post Share on other sites
Tsukihime 1,487 Posted September 3, 2012 a little question. is this compatible with yanfly item scene? Don't know didn't try. But it sounds like it doesn't from above. Share this post Link to post Share on other sites
Caveras 39 Posted September 4, 2012 It is. I also use the Categorize Item Scene script and everything works flawlessly. Fine lil' script, Tsuki! Share this post Link to post Share on other sites
Xandier 0 Posted September 13, 2012 It is. I also use the Categorize Item Scene script and everything works flawlessly. Fine lil' script, Tsuki! I can get it working with Yanfly's item menu script, but I can't get it working with Categorize Item Scene. Did you do anyhting special to get it to work with Categorize Item Scene? Nothing happens when I press "A". Share this post Link to post Share on other sites
Tsukihime 1,487 Posted September 13, 2012 This script only adds the required logic to Scene_Item, and nothing else. Share this post Link to post Share on other sites
Caveras 39 Posted September 13, 2012 I can get it working with Yanfly's item menu script, but I can't get it working with Categorize Item Scene. Did you do anyhting special to get it to work with Categorize Item Scene? Nothing happens when I press "A". Not at all. I put the Categorize Item Scene script directly below YF's Item Menu, and the Sorting script directly below the other two. I even have my A key bound to Falcao's Tools script and everything works as it should. Share this post Link to post Share on other sites
Xandier 0 Posted September 13, 2012 I can get it working with Yanfly's item menu script, but I can't get it working with Categorize Item Scene. Did you do anyhting special to get it to work with Categorize Item Scene? Nothing happens when I press "A". Not at all. I put the Categorize Item Scene script directly below YF's Item Menu, and the Sorting script directly below the other two. I even have my A key bound to Falcao's Tools script and everything works as it should. This actually fixed my problem thanks. I had YF Items First, then Item Sort, then order Categorize Items. Share this post Link to post Share on other sites
Daemonium 5 Posted March 16, 2013 (edited) The script is causing an error when I open the Inventory window using VE - Basic Module & Control Codes/Text, regardless of where I place it: Script '1 VE - [any of the three]' line xxx: Runtime Error Occurred. can't modify frozen string Basic Module (using Basic Module and Control Text only) -> Line 1617: result.gsub!(/\r/) { "" } Control Codes (using Basic Module, Control Text, and control Codes) -> Line 241: result.gsub!(/\\CR/i) { $game_temp.contro_code.to_s } Is this an error caused with something on your script? I've never got that error with all other scripts. Script that I'm using ("potential ones"): VE - Basic Module YSE - Core YEA - Core YEA - Menu Enhanced PS: I haven't used any \code on your script nor in the... inventory scene?, if I remove your script I can access in the inventory with no issues. I'm not using any item categorizer (apart of your script feature) Edited March 16, 2013 by Daemonium Share this post Link to post Share on other sites
ricardo.jl.simoes 2 Posted June 26, 2013 hey. tsukihime, I noticed a little bug with the script and it happens even with a clean project without any other script. After sorting items in the item menu, when we try to go to the equipment menu, the game crashes. However this only happens when we sort by alpha and reverse alpha. When I tried with descending and ascending amount it works fine. Share this post Link to post Share on other sites
Tsukihime 1,487 Posted June 27, 2013 I've fixed the issue. 1 ricardo.jl.simoes reacted to this Share this post Link to post Share on other sites
ricardo.jl.simoes 2 Posted June 27, 2013 wow you fixed it really fast. works perfectly now, thanks Share this post Link to post Share on other sites