OrePrototype.cs 559 B

123456789101112131415161718192021222324252627
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Utility;
  3. namespace Content.Shared.Mining;
  4. /// <summary>
  5. /// This is a prototype for defining ores that generate in rock
  6. /// </summary>
  7. [Prototype]
  8. public sealed partial class OrePrototype : IPrototype
  9. {
  10. /// <inheritdoc/>
  11. [IdDataField]
  12. public string ID { get; private set; } = default!;
  13. [DataField]
  14. public EntProtoId? OreEntity;
  15. [DataField]
  16. public int MinOreYield = 1;
  17. [DataField]
  18. public int MaxOreYield = 1;
  19. [DataField]
  20. public SpriteSpecifier? OreSprite;
  21. }