// Copyright (c) Strange Loop Games. All rights reserved.
// See LICENSE file in the project root for full license information.
namespace Eco.Mods.TechTree
{
    using Eco.Gameplay.Components;
    using Eco.Gameplay.Objects;
    using Eco.Gameplay.Players;
    using Eco.Shared.Localization;
    using Eco.Shared.Serialization;

    [Serialized]
    [RequireComponent(typeof(MinimapComponent))]
    public partial class StoneWellObject : WorldObject
    {
        public override LocString DisplayName { get { return Localizer.DoStr("Stone Well"); } }

        private StoneWellObject() { }

        protected override void Initialize()
        {
            base.Initialize();

            this.GetComponent<MinimapComponent>().SetCategory(Localizer.DoStr("Stone Well"));
        }

        protected override void OnCreatePostInitialize()
        {
            base.OnCreatePostInitialize();

            //this.GetComponent<PipeComponent>().Tanks.Add(new LiquidTank("Water", typeof(WaterItem), 1000, new Vector3i[] { Vector3i.Up }, new Vector3i[] { Vector3i.Right }));
            //this.GetComponent<PipeComponent>().Tanks.Add(new LiquidPump("Water Pump", typeof(WaterItem), 1000, new Vector3i[] { Vector3i.Down }, new Vector3i[] { Vector3i.Left }));
        }
    }
}
