2023-06-25 21:12:47 +03:00
|
|
|
using Robust.Shared.Prototypes;
|
2024-09-06 10:05:53 -04:00
|
|
|
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>
|
2024-09-06 10:05:53 -04:00
|
|
|
[Prototype]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class OrePrototype : IPrototype
|
2022-10-20 09:16:29 -04:00
|
|
|
{
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
[IdDataField]
|
2023-08-22 18:14:33 -07:00
|
|
|
public string ID { get; private set; } = default!;
|
2022-10-20 09:16:29 -04:00
|
|
|
|
2024-09-06 10:05:53 -04:00
|
|
|
[DataField]
|
|
|
|
|
public EntProtoId? OreEntity;
|
2022-10-20 09:16:29 -04:00
|
|
|
|
2024-09-06 10:05:53 -04:00
|
|
|
[DataField]
|
2022-10-20 09:16:29 -04:00
|
|
|
public int MinOreYield = 1;
|
|
|
|
|
|
2024-09-06 10:05:53 -04:00
|
|
|
[DataField]
|
2022-10-20 09:16:29 -04:00
|
|
|
public int MaxOreYield = 1;
|
|
|
|
|
|
2024-09-06 10:05:53 -04:00
|
|
|
[DataField]
|
|
|
|
|
public SpriteSpecifier? OreSprite;
|
2022-10-20 09:16:29 -04:00
|
|
|
}
|