public static bool HasEquipmentPart(int id)
{
bool has = false;
foreach(DictionaryEntry entry in GameHandler.Instance().weapons)
{
if(DataHolder.Weapon((int)entry.Key).equipPart[id])
{
has = true;
break;
}
}
if(!has)
{
foreach(DictionaryEntry entry in GameHandler.Instance().armors)
{
if(DataHolder.Armor((int)entry.Key).equipPart[id])
{
has = true;
break;
}
}
}
return has;
}