mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* Mineral Scanner * doink * review * sunday funday * review and fix bugs i think? * Update MiningOverlay.cs (cherry picked from commit 85992518256e85c7980b784b6462727f9158a413)
28 lines
559 B
C#
28 lines
559 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Mining;
|
|
|
|
/// <summary>
|
|
/// This is a prototype for defining ores that generate in rock
|
|
/// </summary>
|
|
[Prototype]
|
|
public sealed partial class OrePrototype : IPrototype
|
|
{
|
|
/// <inheritdoc/>
|
|
[IdDataField]
|
|
public string ID { get; private set; } = default!;
|
|
|
|
[DataField]
|
|
public EntProtoId? OreEntity;
|
|
|
|
[DataField]
|
|
public int MinOreYield = 1;
|
|
|
|
[DataField]
|
|
public int MaxOreYield = 1;
|
|
|
|
[DataField]
|
|
public SpriteSpecifier? OreSprite;
|
|
}
|