EdgeSpreaderPrototype.cs 585 B

12345678910111213141516171819
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Spreader;
  3. /// <summary>
  4. /// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
  5. /// </summary>
  6. [Prototype]
  7. public sealed partial class EdgeSpreaderPrototype : IPrototype
  8. {
  9. [IdDataField] public string ID { get; private set; } = string.Empty;
  10. [DataField(required:true)] public int UpdatesPerSecond;
  11. /// <summary>
  12. /// If true, this spreader can't spread onto spaced tiles like lattice.
  13. /// </summary>
  14. [DataField]
  15. public bool PreventSpreadOnSpaced = true;
  16. }