20 lines
585 B
C#
20 lines
585 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]
|
|
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;
|
|
}
|