Adds an IconPalette property to Buildable and SupportPower traits.

This commit is contained in:
Zimmermann Gyula
2015-06-12 09:37:33 +02:00
parent a4f85c6201
commit d5a5640f52
7 changed files with 26 additions and 13 deletions

View File

@@ -35,6 +35,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Force a specific race variant, overriding the race of the producing actor.")]
public readonly string ForceRace = null;
[Desc("Palette used for the production icon.")]
public readonly string IconPalette = "chrome";
// TODO: UI fluff; doesn't belong here
public readonly int BuildPaletteOrder = 9999;
}

View File

@@ -39,6 +39,9 @@ namespace OpenRA.Mods.Common.Traits
public readonly bool DisplayTimer = false;
[Desc("Palette used for the icon.")]
public readonly string IconPalette = "chrome";
[Desc("Beacons are only supported on the Airstrike and Nuke powers")]
public readonly bool DisplayBeacon = false;
public readonly string BeaconPalettePrefix = "player";