// Copyright (c) Strange Loop Games. All rights reserved.
// See LICENSE file in the project root for full license information.

namespace Eco.Mods.WorldLayers
{
    using System;
    using System.Collections.Generic;
    using Eco.Shared.Localization;
    using Eco.Shared.Utils;
    using Eco.Simulation.WorldLayers.Components.Habitability;
    using Eco.Simulation.WorldLayers.Layers;
    using Range = Eco.Shared.Math.Range;

    public class SpeciesHabitabilityLayerSettingsSnappingTurtleCapacity : SpeciesHabitabilityLayerSettings
    {
        public SpeciesHabitabilityLayerSettingsSnappingTurtleCapacity() : base()
        {
            this.Species = "SnappingTurtle";
            this.HabitabilityComponents.Add(new ConsumerComponent()
            {
                CalorieConsumption = 20, Prey = new List<Type>
                {
                    typeof(PlantLayerSettingsPeatMoss),
                    typeof(PlantLayerSettingsBullrush),
                    typeof(PlantLayerSettingsFilmyFern),
                    typeof(PlantLayerSettingsButtonbush)
                }
            });
            this.Name = "SnappingTurtleCapacity";
            this.MinimapName = Localizer.DoStr("SnappingTurtle Capacity");
            this.InitMultiplier = 1f;
            this.SyncToClient = false;
            this.Range = new Range(0f, 1f);
            this.OverrideRenderRange = null;
            this.MinColor = new Color(1f, 1f, 1f);
            this.MaxColor = new Color(0f, 1f, 0f);
            this.SumRelevant = false;
            this.Unit = string.Empty;
            this.VoxelsPerEntry = 40;
            this.Category = WorldLayerCategory.Animal;
            this.ValueType = WorldLayerValueType.Percent;
            this.AreaDescription = string.Empty;
        }
    }
}
