6
2026-01-24 12:49:55 +03:00

27 lines
818 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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