using Content.Shared.Botany.Items.Systems;
using Content.Shared.Destructible.Thresholds;
using Robust.Shared.GameStates;
namespace Content.Shared.Botany.Items.Components;
///
/// Component for items that can function as a plant sample taker.
///
[RegisterComponent, NetworkedComponent]
[Access(typeof(BotanySampleTakerSystem))]
public sealed partial class BotanySampleTakerComponent : Component
{
///
/// Damage range to deal to the plant when taking a sample.
///
[DataField]
public MinMax SampleDamage = new(30, 50);
///
/// Minimum growth stage of the plant to take a sample.
///
[DataField]
public int MinSampleStage = 1;
///
/// Probability of the plant being sampled.
///
[DataField]
public float SampleProbability = 0.3f;
}