namespace Content.Server.Kudzu; /// /// Component for rapidly spreading objects, like Kudzu. /// ONLY USE THIS FOR ANCHORED OBJECTS. An error will be logged if not anchored/static. /// Currently does not support growing in space. /// [RegisterComponent, Access(typeof(SpreaderSystem))] public sealed class SpreaderComponent : Component { /// /// Chance for it to grow on any given tick, after the normal growth rate-limit (if it doesn't grow, SpreaderSystem will pick another one.). /// [DataField("chance", required: true)] public float Chance; /// /// Prototype spawned on growth success. /// [DataField("growthResult", required: true)] public string GrowthResult = default!; [DataField("enabled")] public bool Enabled = true; }