Allow mods to override Encyclopedia preview owners.

This commit is contained in:
Paul Chote
2024-10-30 18:27:19 +00:00
committed by Gustas
parent f805d67741
commit feef5be143
2 changed files with 8 additions and 1 deletions

View File

@@ -28,6 +28,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Scale the actor preview.")]
public readonly float Scale = 1f;
[Desc("Sets the player color of the actor preview to a player defined in the shellmap.")]
public readonly string PreviewOwner = null;
[Desc("Ignore the Buildable trait when listing information.")]
public readonly bool HideBuildable = false;