diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs index 96528d68bb..3fa4dbe38f 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForCash.cs @@ -20,6 +20,7 @@ namespace OpenRA.Mods.Cnc.Traits [Desc("Funds are transferred from the owner to the infiltrator.")] class InfiltrateForCashInfo : ITraitInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); [Desc("Percentage of the victim's resources that will be stolen.")] diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForDecoration.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForDecoration.cs index db6bc5eb4c..f3d4d39493 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForDecoration.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForDecoration.cs @@ -21,6 +21,7 @@ namespace OpenRA.Mods.Cnc.Traits [Desc("Reveals a decoration sprite to the indicated players when infiltrated.")] class InfiltrateForDecorationInfo : WithDecorationInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); public override object Create(ActorInitializer init) { return new InfiltrateForDecoration(init.Self, this); } diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs index 9ec19a7010..8b06857dcc 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForExploration.cs @@ -19,6 +19,7 @@ namespace OpenRA.Mods.Cnc.Traits [Desc("Steal and reset the owner's exploration.")] class InfiltrateForExplorationInfo : ITraitInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); [NotificationReference("Speech")] diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs index 827799e500..bdf41764c0 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForPowerOutage.cs @@ -17,6 +17,7 @@ namespace OpenRA.Mods.Cnc.Traits { class InfiltrateForPowerOutageInfo : ITraitInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); [Desc("Measured in ticks.")] diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs index 8a8f244721..636ef403b6 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPower.cs @@ -21,6 +21,7 @@ namespace OpenRA.Mods.Cnc.Traits [FieldLoader.Require] public readonly string Proxy = null; + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); [NotificationReference("Speech")] diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPowerReset.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPowerReset.cs index 5ffa361924..ff35424cb2 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPowerReset.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForSupportPowerReset.cs @@ -18,6 +18,7 @@ namespace OpenRA.Mods.Cnc.Traits { class InfiltrateForSupportPowerResetInfo : ITraitInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); public object Create(ActorInitializer init) { return new InfiltrateForSupportPowerReset(this); } diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForTransform.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForTransform.cs index febdf14939..a542a28e73 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForTransform.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/InfiltrateForTransform.cs @@ -29,6 +29,7 @@ namespace OpenRA.Mods.Cnc.Traits public readonly bool SkipMakeAnims = true; + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); public object Create(ActorInitializer init) { return new InfiltrateForTransform(init, this); } diff --git a/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs b/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs index 5b86df66b7..51244a3f0a 100644 --- a/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs +++ b/OpenRA.Mods.Cnc/Traits/Infiltration/Infiltrates.cs @@ -22,6 +22,7 @@ namespace OpenRA.Mods.Cnc.Traits { public class InfiltratesInfo : ConditionalTraitInfo { + [Desc("The `TargetTypes` from `Targetable` that are allowed to enter.")] public readonly BitSet Types = default(BitSet); [VoiceReference]