using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using System.Collections.Generic; namespace Content.Server.Mining.Components { /// /// Параметры жилы для бура /// [RegisterComponent] [Virtual] public sealed partial class OreDepositComponent : Component { /// /// Количества руды и тип /// [DataField("oreCounts")] public Dictionary OreCounts { get; private set; } = new(); /// /// Твёрдость жилы, чем больше тем медленее добыча /// [DataField("hardness")] public float Hardness { get; private set; } = 1.0f; } }