Files
crystall-punk-14/Content.Shared/Mining/OrePrototype.cs

28 lines
559 B
C#
Raw Normal View History

2023-06-25 21:12:47 +03:00
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
2022-10-20 09:16:29 -04:00
namespace Content.Shared.Mining;
/// <summary>
/// This is a prototype for defining ores that generate in rock
/// </summary>
[Prototype]
public sealed partial class OrePrototype : IPrototype
2022-10-20 09:16:29 -04:00
{
/// <inheritdoc/>
[IdDataField]
public string ID { get; private set; } = default!;
2022-10-20 09:16:29 -04:00
[DataField]
public EntProtoId? OreEntity;
2022-10-20 09:16:29 -04:00
[DataField]
2022-10-20 09:16:29 -04:00
public int MinOreYield = 1;
[DataField]
2022-10-20 09:16:29 -04:00
public int MaxOreYield = 1;
[DataField]
public SpriteSpecifier? OreSprite;
2022-10-20 09:16:29 -04:00
}