namespace Content.Server.Disease.Components
{
///
/// Value added to clothing to give its wearer
/// protection against infection from diseases
///
[RegisterComponent]
public sealed class DiseaseProtectionComponent : Component
{
///
/// Float value between 0 and 1, will be subtracted
/// from the infection chance (which is base 0.7)
/// Reference guide is a full biosuit w/gloves & mask
/// should add up to exactly 0.7
///
[DataField("protection")]
public float Protection = 0.1f;
///
/// Is the component currently being worn and affecting someone's disease
/// resistance? Making the unequip check not totally CBT
///
public bool IsActive = false;
}
}