Merge pull request #8703 from atlimit8/RequireInMiniYaml

Require trait properties in MiniYaml
This commit is contained in:
abcdefg30
2015-07-13 15:50:06 +02:00
54 changed files with 144 additions and 56 deletions

View File

@@ -20,6 +20,7 @@ namespace OpenRA.Mods.Common.Traits
"at the same time. Will only work together with the Production: trait.")]
public class ProductionQueueInfo : ITraitInfo
{
[FieldLoader.Require]
[Desc("What kind of production will be added (e.g. Building, Infantry, Vehicle, ...)")]
public readonly string Type = null;