HasAnyItemOfBaseType(int, int, object)
Cycles through the players inventory looking for any item that has a certain Base Item Type. If the Base Item Type is Armor, make sure the AC matches.
The Type of Item as defined by the BASE_ITEM_* constants group.
If the Base Item is Armor only return TRUE if the AC is this.
The player whose inventory should be checked.
Returns TRUE if oPC has any item in their inventory of a Base Type of nBaseType (as defined in the BASE_ITEM_* constants group). If the item is an Armor type, then only return TRUE if the AC matches nAC.
Used by BackPackMatch to tell if characters have an item necessary for item creation scenarios.
#include " nw_o0_itemmaker "
author: John Shuell