public int GetQty() { //Gets the true quantity of this object if (isEnchanted==true) { return 1; } else { if (isQuant==true) { return Link; } else { return 1; } } }
public virtual float GetWeight() { //Return the weight of the object stack if (objInt == null) { return(0.0f); } else { return((float)(objInt.GetQty()) * ObjectInteraction.Weight[objInt.item_id] * 0.1f); } }