Hi, recently I have started making a horror game which does not use weapons and armors and I would like to remove both these
tabs from the items menu.
Any help would be great, thanks! 😀
Look through the windows area of your scripts. Find the script that relates to the items window and put a # in front of the lines that draw those particular features. Then replace the x,y coordinates of the remaining features with new ones to reposition them where you'd like.
I've moved this thread to script request. Please be sure to post your threads in the correct forum next time. Thank you.
If you still using category window for item and key item, insert this script
class Window_ItemCategory < Window_HorzCommand def col_max return 2 end def make_command_list add_command(Vocab::item, :item) add_command(Vocab::key_item, :key_item) end endif you want to completely remove category window, insert this script
class Scene_Item < Scene_ItemBase def create_category_window end def create_item_window wy = @help_window.y + @help_window.height wh = Graphics.height - wy @item_window = Window_ItemList.new(0, wy, Graphics.width, wh) @item_window.viewport = @viewport @item_window.help_window = @help_window @item_window.set_handler🙂ok, method🙂on_item_ok)) @item_window.set_handler🙂cancel, method🙂on_item_cancel)) @item_window.category = :item @item_window.activate @item_window.select(0) end def on_item_cancel return_scene end endI assume that you don't insert any item menu related script
Im using a parallel command that uses a conditional branch where if cancel is pressed it will open the item screen, ive gone into the windows script and put "//" before the weapons, armour and key items (because i only want items) and that worked and only items appeared but when i pressed cancel again to leave the item screen it closed the game, what do i do to make it just close the item screen?