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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user