Inside my Item list on Item_scene, the weapons and armor I have in inventory are drawn in the itemlist. I am trying to remove these as it's uneccasary to see in my game. I am trying to remove them completly. I found the part of the script that draws the items but when I comment out the code they still show up. I also tried re-writing the method in my own script snippet but it still shows up. Is there another method that is creating the items list that I am not seeing?
Code:
#-------------------------------------------------------------------------- # * Include in Item List? #-------------------------------------------------------------------------- def include?(item) case @category when :item item.is_a?(RPG::Item) && !item.key_item?# when :weapon# item.is_a?(RPG::Weapon)# when :armor# item.is_a?(RPG::Armor) when :key_item item.is_a?(RPG::Item) && item.key_item? else false end end