namespace Content.Server.Weapons.Melee.EnergySword;
[RegisterComponent]
internal sealed partial class EnergySwordComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("activatedColor"), AutoNetworkedField]
public Color ActivatedColor = Color.DodgerBlue;
///
/// A color option list for the random color picker.
///
[DataField("colorOptions")]
public List ColorOptions = new()
{
Color.Tomato,
Color.DodgerBlue,
Color.Aqua,
Color.MediumSpringGreen,
Color.MediumOrchid
};
public bool Hacked = false;
///
/// RGB cycle rate for hacked e-swords.
///
[DataField("cycleRate")]
public float CycleRate = 1f;
}