diff --git a/OpenRA.Mods.Common/Traits/GlobalUpgradable.cs b/OpenRA.Mods.Common/Traits/GlobalUpgradable.cs index de0c96f672..f02b748503 100644 --- a/OpenRA.Mods.Common/Traits/GlobalUpgradable.cs +++ b/OpenRA.Mods.Common/Traits/GlobalUpgradable.cs @@ -13,9 +13,13 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { + [Desc("Grants upgrades to the actor this is attached to when prerequisites are available.")] public class GlobalUpgradableInfo : ITraitInfo, Requires { + [Desc("List of upgrades to apply.")] public readonly string[] Upgrades = { }; + + [Desc("List of required prerequisites.")] public readonly string[] Prerequisites = { }; public object Create(ActorInitializer init) { return new GlobalUpgradable(init.Self, this); }