Example #1
0
        public override string ToString()
        {
            List <String> components = new List <string>();

            foreach (Receivable augment in this.Items)
            {
                components.Add(augment.ToString());
            }
            return(LanguageUtils.Enumerate(components));
        }
Example #2
0
        public override string ToString()
        {
            String        result     = "";
            List <String> components = new List <string>();

            if (this.PendingRewardQuantity > 0)
            {
                components.Add(LanguageUtils.FormatQuantity(this.PendingRewardQuantity, this.newItem().ToString()) + " now");
            }
            if (this.RepeatedRewardQuantity > 0)
            {
                components.Add(LanguageUtils.FormatQuantity(this.RepeatedRewardQuantity, this.newItem().ToString()) + " per day");
            }
            result += LanguageUtils.Enumerate(components);
            return(result);
        }
Example #3
0
        public override string ToString()
        {
            String result = this.basicWeapon.ToString();

            basicWeapon.ToString();
            if (this.augments.Count() < 1)
            {
                result += " with 0 items";
            }
            else
            {
                List <String> components = new List <string>();
                foreach (WeaponAugment augment in this.augments)
                {
                    components.Add(augment.ToString());
                }
                result += " with " + LanguageUtils.FormatQuantity(this.augments.Count(), "augment") +
                          ": " + LanguageUtils.Enumerate(components);
            }
            return(result);
        }