Need a fix for Vlue Appraisal shop script

Im using Vlue'sAppraisal Shop, and just found out a bug, which i need a fix for. Unindentified (unappraised?) weapons and armors show up in the battles, when I want to select and item to use (a potion for example). I mean, when I select the items category, the all usable items show up, that i can use, along with unidentified weapons and armors. When I select the unidentified stuff, I get an error. Can someone write a bugfix or patch or something to prevent the unidentified weapons and armors showing up in battles as chooseable items?

Heres Vlues script:

Script

Heres a picture of what I mean:

picture 1

Heres the error:

picture 2
Weapons and armors don't show up at all in the battle scene's item window, and Vlue's script doesn't change that as far as I can tell.
What other custom scripts are you using? Can't write a patch without knowing which script and how does it show weapons and armors in battle.

If you use items as usable "weapons" in your game, that is a different story. But we still need to know if this is the case to write a fix for it.
Here, I made a demo with just the Vlue appraisal script in it. As you can see, the problem is there: unidentified weapons and armors show up in battle, if you want to use items, and gives the same error as in my game, if you want to use them.

Link to demo
The issue is that the script allows you to identify the items in the menu. Which when you're in battle tries to pull up the in gamne menu to appraise the item. Also is the fact that the note tags mark the armor and weapons as items by nature of the script.
If you set it to false (APPRAISE_IN_MENU = false) then the items do not show in the item menu in battle, but you must you an appraisal shop from now on.
@Sixth this needs to be modified so that weapons and armor are not marked as items, yet still work for appraisal in menu.
Or if it was me I would just use an appraisal shop. The script works well this way.
Ahh, yeah, I forgot how the battle item window "forgets" to check if it is an item/skill or not...
Put this snippet below the default scripts, but above any custom scripts:
Spoiler
Code:
class Window_BattleItem < Window_ItemList

  def include?(item)
    return item.is_a?(RPG::UsableItem) && $game_party.usable?(item)
  end

end
This should fix the issue.
Yes, it worked! Thank you both for your help 🙂
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/need-a-fix-for-vlue-appraisal-shop-script.83582/