using Content.Shared.Damage;
namespace Content.Server.Spreader;
///
/// Handles entities that spread out when they reach the relevant growth level.
///
[RegisterComponent]
public sealed partial class KudzuComponent : Component
{
///
/// At level 3 spreading can occur; prior to that we have a chance of increasing our growth level and changing our sprite.
///
[DataField]
public int GrowthLevel = 1;
///
/// Chance to spread whenever an edge spread is possible.
///
[DataField]
public float SpreadChance = 1f;
///
/// How much damage is required to reduce growth level
///
[DataField]
public float GrowthHealth = 10.0f;
///
/// How much damage is required to prevent growth
///
[DataField]
public float GrowthBlock = 20.0f;
///
/// How much the kudzu heals each tick
///
[DataField]
public DamageSpecifier? DamageRecovery = null;
[DataField]
public float GrowthTickChance = 1f;
///
/// number of sprite variations for kudzu
///
[DataField]
public int SpriteVariants = 3;
}