ContrabandSeverityPrototype.cs 748 B

1234567891011121314151617181920212223242526
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Contraband;
  3. /// <summary>
  4. /// This is a prototype for defining the degree of severity for a particular <see cref="ContrabandComponent"/>
  5. /// </summary>
  6. [Prototype]
  7. public sealed partial class ContrabandSeverityPrototype : IPrototype
  8. {
  9. /// <inheritdoc/>
  10. [IdDataField]
  11. public string ID { get; private set; } = default!;
  12. /// <summary>
  13. /// Text shown for this severity level when the contraband is examined.
  14. /// </summary>
  15. [DataField]
  16. public LocId ExamineText;
  17. /// <summary>
  18. /// When examining the contraband, should this take into account the viewer's departments and job?
  19. /// </summary>
  20. [DataField]
  21. public bool ShowDepartmentsAndJobs;
  22. }