Files
wwdpublic/Content.Shared/Spreader/EdgeSpreaderPrototype.cs
Tayrtahn 7f3b436dc1 Fix prototypes so they pass analyzer checks (#35435)
(cherry picked from commit 6f925dd61083a3fd377e5d12549ac908985e855f)
2025-09-27 13:54:06 +03:00

20 lines
601 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Spreader;
/// <summary>
/// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
/// </summary>
[Prototype("edgeSpreader")]
public sealed partial class EdgeSpreaderPrototype : IPrototype
{
[IdDataField] public string ID { get; private set; } = string.Empty;
[DataField(required:true)] public int UpdatesPerSecond;
/// <summary>
/// If true, this spreader can't spread onto spaced tiles like lattice.
/// </summary>
[DataField]
public bool PreventSpreadOnSpaced = true;
}