Kill Seperated Mindshield Icons (#25303)

* Unghettoify mindshield icons

Adds support for layers in status icons, through the StatusIconLayer enum and the new "layer" datafield. Defaults to the Base layer where functionally remains unchanged.

* TG icon for shield

probably better than the shitty one I made in paint

* forgor meta.json

I forgor

* Emo review

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
Golinth
2024-02-16 09:58:28 -06:00
committed by GitHub
parent 0a64e086c4
commit bced73f676
5 changed files with 26 additions and 7 deletions

View File

@@ -34,6 +34,12 @@ public partial class StatusIconData : IComparable<StatusIconData>
{
return Priority.CompareTo(other?.Priority ?? int.MaxValue);
}
/// <summary>
/// The layer the icon is displayed on. Mod is drawn above Base. Base | Mod
/// </summary>
[DataField]
public StatusIconLayer Layer = StatusIconLayer.Base;
}
/// <summary>
@@ -63,3 +69,9 @@ public enum StatusIconLocationPreference : byte
Left,
Right,
}
public enum StatusIconLayer : byte
{
Base,
Mod,
}