2022-07-17 22:02:03 -04:00
|
|
|
using Robust.Shared.Prototypes;
|
2021-12-03 15:35:57 +01:00
|
|
|
using Robust.Shared.Utility;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Decals
|
|
|
|
|
{
|
|
|
|
|
[Prototype("decal")]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class DecalPrototype : IPrototype
|
2021-12-03 15:35:57 +01:00
|
|
|
{
|
2023-01-19 03:56:45 +01:00
|
|
|
[IdDataField] public string ID { get; } = null!;
|
2021-12-03 15:35:57 +01:00
|
|
|
[DataField("sprite")] public SpriteSpecifier Sprite { get; } = SpriteSpecifier.Invalid;
|
|
|
|
|
[DataField("tags")] public List<string> Tags = new();
|
2022-07-17 22:02:03 -04:00
|
|
|
[DataField("showMenu")] public bool ShowMenu = true;
|
2022-08-29 15:59:19 +10:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If the decal is rotated compared to our eye should we snap it to south.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("snapCardinals")] public bool SnapCardinals = false;
|
2021-12-03 15:35:57 +01:00
|
|
|
}
|
|
|
|
|
}
|