* Added hair, facial hair, magic mirror * I forgot to commit the textures lmao * Use shader to fix hair color blending
46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.GameObjects.Components.UserInterface;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components
|
|
{
|
|
public class SharedMagicMirrorComponent : Component
|
|
{
|
|
public override string Name => "MagicMirror";
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum MagicMirrorUiKey
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public class HairSelectedMessage : BoundUserInterfaceMessage
|
|
{
|
|
public readonly string HairName;
|
|
public readonly bool IsFacialHair;
|
|
|
|
public HairSelectedMessage(string name, bool isFacialHair)
|
|
{
|
|
HairName = name;
|
|
IsFacialHair = isFacialHair;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public class HairColorSelectedMessage : BoundUserInterfaceMessage
|
|
{
|
|
public readonly Color HairColor;
|
|
public readonly bool IsFacialHair;
|
|
|
|
public HairColorSelectedMessage(Color color, bool isFacialHair)
|
|
{
|
|
HairColor = color;
|
|
IsFacialHair = isFacialHair;
|
|
}
|
|
}
|
|
}
|
|
}
|