2023-04-10 15:37:03 +10:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2023-04-10 17:54:50 +10:00
|
|
|
namespace Content.Shared.Spreader;
|
2023-04-10 15:37:03 +10:00
|
|
|
|
|
|
|
|
/// <summary>
|
2023-04-10 17:54:50 +10:00
|
|
|
/// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
|
2023-04-10 15:37:03 +10:00
|
|
|
/// </summary>
|
2025-03-19 14:30:31 -04:00
|
|
|
[Prototype]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class EdgeSpreaderPrototype : IPrototype
|
2023-04-10 15:37:03 +10:00
|
|
|
{
|
2025-02-23 23:21:59 -05:00
|
|
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
2023-10-02 07:56:41 +11:00
|
|
|
[DataField(required:true)] public int UpdatesPerSecond;
|
2024-07-07 10:26:58 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If true, this spreader can't spread onto spaced tiles like lattice.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public bool PreventSpreadOnSpaced = true;
|
2023-04-10 15:37:03 +10:00
|
|
|
}
|