public bool InInventory()
{
bool has = false;
if(this.isMoney)
{
has = GameHandler.HasEnoughMoney(this.quantity);
}
else if(ItemDropType.ITEM.Equals(this.type))
{
has = GameHandler.HasItem(this.id, this.quantity);
}
else if(ItemDropType.WEAPON.Equals(this.type))
{
has = GameHandler.HasWeapon(this.id, this.quantity);
}
else if(ItemDropType.ARMOR.Equals(this.type))
{
has = GameHandler.HasArmor(this.id, this.quantity);
}
return has;
}