Hallo :)
As you know, if i open a shop an went to the "sell" section, there is a category-Window, which shows the categorys "Item" "Weapon" "Armour" and "Key Item". Is there any way, to make the Categorys "Weapon" an "Key Item" completly disappear from the Sell-Window? There will definitely never be any Weapon or Key-Item in my game, which should - or even could - be given back to a shop. An therefore it appears to be a little bit useless, to have these categorys in the Shop.
Change the ShopSell Category-Window
● ARCHIVED · READ-ONLY
-
-
They can be scripted out fairly easily. I assume you still want these categories in the basic Item screen though? That's the assumption I worked under, anyway.
Code:Paste anywhere in the materials section of the script editor.class Window_SellCategory < Window_ItemCategory #-------------------------------------------------------------------------- # * Get Digit Count #-------------------------------------------------------------------------- def col_max return 2 end #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_command(Vocab::item, :item) add_command(Vocab::armor, :armor) end end #-------------------------------------------------------------------------- class Scene_Shop < Scene_MenuBase #-------------------------------------------------------------------------- # * Create Category Window #-------------------------------------------------------------------------- def create_category_window @category_window = Window_SellCategory.new @category_window.viewport = @viewport @category_window.help_window = @help_window @category_window.y = @dummy_window.y @category_window.hide.deactivate @category_window.set_handler(:ok, method(:on_category_ok)) @category_window.set_handler(:cancel, method(:on_category_cancel)) end end -
Hello.
I've given your script a try and currently it appears to work absolutly perfekt!
As far as i could say, my problem is solved with it.
Thank you, very much! -
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.