27 lines
810 B
C#
27 lines
810 B
C#
// Maded by Gorox. Discord - smeshinka112
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared._Horizon.XenoPotionEffected.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState(raiseAfterAutoHandleState: true)]
|
|
public sealed partial class XenoPotionEffectedComponent : Component
|
|
{
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public Color Color = Color.FromHex("#c62121");
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public Color BeforeColor = Color.FromHex("#c62121");
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public bool Enabled;
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public string ShaderName = "Greyscale";
|
|
}
|