Allow actors to force a specific race variant.

This commit is contained in:
Paul Chote
2015-02-13 19:12:07 +00:00
parent d1ed1bf0fb
commit 7b27b803f9
4 changed files with 17 additions and 3 deletions

View File

@@ -36,6 +36,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("What the unit should start doing. Warning: If this is not a harvester", "it will break if you use FindResources.")]
public readonly string InitialActivity = null;
[Desc("Force a specific race variant, overriding the race of the producing actor.")]
public readonly string ForceRace = null;
// TODO: UI fluff; doesn't belong here
public readonly int BuildPaletteOrder = 9999;
}