예제 #1
0
        public override void AddNameProperties(IPropertyList list)
        {
            base.AddNameProperties(list);

            if (!Empty)
            {
                var fish = Fish;

                if (fish != null)
                {
                    list.AddLocalized(1074494, fish.LabelNumber); // Contains: ~1_CREATURE~
                }
            }
        }
예제 #2
0
        public override int LabelNumber => 1074431; // An aquarium flake sphere

        public override void AddNameProperties(IPropertyList list)
        {
            base.AddNameProperties(list);

            list.AddLocalized(1074432, VacationDays); // Vacation days: ~1_DAYS~
        }
예제 #3
0
        public override void GetProperties(IPropertyList list)
        {
            base.GetProperties(list);

            list.AddLocalized(1070998, 1076595); // Use this to redeem<br>Your Heritage Items
        }
예제 #4
0
        public override void AddNameProperties(IPropertyList list)
        {
            base.AddNameProperties(list);

            if (_vacationLeft > 0)
            {
                list.Add(1074430, $"{_vacationLeft}"); // Vacation days left: ~1_DAYS
            }

            if (_events.Count > 0)
            {
                list.Add(1074426, $"{_events.Count}"); // ~1_NUM~ event(s) to view!
            }

            if (_rewardAvailable)
            {
                list.Add(1074362); // A reward is available!
            }

            list.Add(1074247, $"{LiveCreatures}\t{MaxLiveCreatures}"); // Live Creatures: ~1_NUM~ / ~2_MAX~

            var dead = DeadCreatures;

            if (dead > 0)
            {
                list.Add(1074248, dead); // Dead Creatures: ~1_NUM~
            }

            var decorations = Items.Count - LiveCreatures - dead;

            if (decorations > 0)
            {
                list.Add(1074249, decorations); // Decorations: ~1_NUM~
            }

            list.AddLocalized(1074250, FoodNumber());  // Food state: ~1_STATE~
            list.AddLocalized(1074251, WaterNumber()); // Water state: ~1_STATE~

            if (_food.State == (int)FoodState.Dead)
            {
                list.Add(1074577, $"{_food.Added}\t{_food.Improve}"); // Food Added: ~1_CUR~ Needed: ~2_NEED~
            }
            else if (_food.State == (int)FoodState.Overfed)
            {
                list.Add(1074577, $"{_food.Added}\t{_food.Maintain}"); // Food Added: ~1_CUR~ Needed: ~2_NEED~
            }
            else
            {
                list.Add(
                    1074253, // Food Added: ~1_CUR~ Feed: ~2_NEED~ Improve: ~3_GROW~
                    $"{_food.Added}\t{_food.Maintain}\t{_food.Improve}"
                    );
            }

            if (_water.State == (int)WaterState.Dead)
            {
                list.Add(1074578, $"{_water.Added}\t{_water.Improve}"); // Water Added: ~1_CUR~ Needed: ~2_NEED~
            }
            else if (_water.State == (int)WaterState.Strong)
            {
                list.Add(1074578, $"{_water.Added}\t{_water.Maintain}"); // Water Added: ~1_CUR~ Needed: ~2_NEED~
            }
            else
            {
                list.Add(
                    1074254, // Water Added: ~1_CUR~ Maintain: ~2_NEED~ Improve: ~3_GROW~
                    $"{_water.Added}\t{_water.Maintain}\t{_water.Improve}"
                    );
            }
        }