Shift CustomBuildTimeValue to Buildable.

This commit is contained in:
Zimmermann Gyula
2016-08-21 12:05:32 +02:00
parent e93d7dd172
commit de10cb22e8
7 changed files with 61 additions and 50 deletions

View File

@@ -37,6 +37,12 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Palette used for the production icon.")]
[PaletteReference] public readonly string IconPalette = "chrome";
[Desc("Base build time in frames (-1 indicates to use the unit's Value).")]
public readonly int BuildDuration = -1;
[Desc("Percentage modifier to apply to the build duration.")]
public readonly int BuildDurationModifier = 150;
// TODO: UI fluff; doesn't belong here
public readonly int BuildPaletteOrder = 9999;
}