
// Copyright (c) Strange Loop Games. All rights reserved.
// See LICENSE file in the project root for full license information.
// <auto-generated from BenefitTemplate.tt/>

namespace Eco.Mods.TechTree
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Linq;
    using Eco.Gameplay.Components;
    using Eco.Gameplay.Items;
    using Eco.Gameplay.Players;
    using Eco.Gameplay.Skills;
    using Eco.Mods.TechTree;
    using Eco.Shared.Items;
    using Eco.Shared.Localization;
    using Eco.Shared.Serialization;
    using Eco.Shared.Utils;
    using Eco.Shared.View;

    /// <summary>
    /// <para>Server side talent definition for "UrbanTraveller".</para>
    /// <para>More information about Talent objects can be found at https://docs.play.eco/api/server/eco.gameplay/Eco.Gameplay.Skills.Talent.html</para>
    /// <remarks>
    /// This is an auto-generated class. Don't modify it! All your changes will be wiped with next update! Use Mods* partial methods instead for customization. 
    /// If you wish to modify this class, please create a new partial class or follow the instructions in the "UserCode" folder to override the entire file.
    /// </remarks>
    /// </summary>
    public partial class UrbanTravellerTalent : Talent
    {
        public override bool Base => true;
    }

    /// <summary>
    /// <para>Server side talent group definition for "UrbanTraveller".</para>
    /// <para>More information about TalentGroup objects can be found at https://docs.play.eco/api/server/eco.gameplay/Eco.Gameplay.Skills.TalentGroup.html</para>
    /// </summary>
    [Serialized]
    [LocDisplayName("Urban Traveller: SelfImprovement")]
    [LocDescription("Slightly increases movement speed in high activity areas.")]
    public partial class SelfImprovementUrbanTravellerTalentGroup : TalentGroup
    {
        public SelfImprovementUrbanTravellerTalentGroup()
        {
            Talents = new Type[]
            {
                typeof(SelfImprovementUrbanTravellerSpeedTalent),
            };
            this.OwningSkill = typeof(SelfImprovementSkill);
            this.Level = 6;
        }
    }

    [Serialized]
    public partial class SelfImprovementUrbanTravellerSpeedTalent : UrbanTravellerTalent
    {
        public override bool Base { get { return false; } }
        public override Type TalentGroupType { get { return typeof(SelfImprovementUrbanTravellerTalentGroup); } }
        public SelfImprovementUrbanTravellerSpeedTalent()
        {
            this.Value = 1.2f;
        }
    }
}
