using Content.Shared.EntityTable;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._DV.Psionics.Components;
///
/// Entities with this component can become psionics at roundstart or via rerolling.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class PotentialPsionicComponent : Component
{
///
/// The Base Chance for all potential psionics to become one at roundstart and gain a power.
///
[DataField]
public float BaseChance = 0.15f;
///
/// Additive bonus for from your role.
///
/// Command roles and the Chaplain get an additive bonus to being psionic.
[DataField, AutoNetworkedField]
public float JobBonusChance;
///
/// Additive bonus for from your species.
///
/// Noƶspheric attuned species like Kitsunes get an additive bonus.
[DataField]
public float SpeciesBonusChance;
///
/// Whether you've already attempted to roll a new power via other means.
///
/// Lotophagoi Oil will attempt to roll a new power for the consumer if this is false.
/// It'll then be set true.
[DataField, AutoNetworkedField]
public bool Rolled;
///
/// The Prototype ID of the table containing the available psionic powers to roll.
///
[DataField]
public ProtoId PsionicPowerTableId = "PsionicPowerTable";
}