diff --git a/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs b/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs index 268249662d..c50b8e8d87 100644 --- a/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs +++ b/OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs @@ -17,6 +17,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Cnc.Projectiles { + [Desc("Instant-hit projectile used to create electricity-like effects.")] public class TeslaZapInfo : IProjectileInfo { public readonly string Image = "litning"; diff --git a/OpenRA.Mods.Common/Projectiles/AreaBeam.cs b/OpenRA.Mods.Common/Projectiles/AreaBeam.cs index 962653ac08..159277685c 100644 --- a/OpenRA.Mods.Common/Projectiles/AreaBeam.cs +++ b/OpenRA.Mods.Common/Projectiles/AreaBeam.cs @@ -21,6 +21,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles { + [Desc("Beam projectile that travels in a straight line.")] public class AreaBeamInfo : IProjectileInfo { [Desc("Projectile speed in WDist / tick, two values indicate a randomly picked velocity per beam.")] diff --git a/OpenRA.Mods.Common/Projectiles/Bullet.cs b/OpenRA.Mods.Common/Projectiles/Bullet.cs index 873c4f8d76..07bd528b9d 100644 --- a/OpenRA.Mods.Common/Projectiles/Bullet.cs +++ b/OpenRA.Mods.Common/Projectiles/Bullet.cs @@ -22,6 +22,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles { + [Desc("Projectile that travels in a straight line or arc.")] public class BulletInfo : IProjectileInfo { [Desc("Projectile speed in WDist / tick, two values indicate variable velocity.")] diff --git a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs index 9f64a82a10..cd2ae54e4f 100644 --- a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs +++ b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs @@ -17,6 +17,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles { + [Desc("Projectile with customisable acceleration vector.")] public class GravityBombInfo : IProjectileInfo { public readonly string Image = null; diff --git a/OpenRA.Mods.Common/Projectiles/InstantHit.cs b/OpenRA.Mods.Common/Projectiles/InstantHit.cs index 459fca4418..347587e3cf 100644 --- a/OpenRA.Mods.Common/Projectiles/InstantHit.cs +++ b/OpenRA.Mods.Common/Projectiles/InstantHit.cs @@ -18,7 +18,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles { - [Desc("Simple, invisible, usually direct-on-target projectile.")] + [Desc("Instant, invisible, usually direct-on-target projectile.")] public class InstantHitInfo : IProjectileInfo { [Desc("The maximum/constant/incremental inaccuracy used in conjunction with the InaccuracyType property.")] diff --git a/OpenRA.Mods.Common/Projectiles/Missile.cs b/OpenRA.Mods.Common/Projectiles/Missile.cs index f01c44a938..a2821a0ba2 100644 --- a/OpenRA.Mods.Common/Projectiles/Missile.cs +++ b/OpenRA.Mods.Common/Projectiles/Missile.cs @@ -21,6 +21,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Projectiles { + [Desc("Projectile with smart tracking.")] public class MissileInfo : IProjectileInfo { [Desc("Name of the image containing the projectile sequence.")] diff --git a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs index 7ee7194ad8..f1b6e17d7c 100644 --- a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs @@ -19,6 +19,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Spawn a sprite with sound.")] public class CreateEffectWarhead : Warhead { [SequenceReference(nameof(Image), allowNullImage: true)] diff --git a/OpenRA.Mods.Common/Warheads/CreateResourceWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateResourceWarhead.cs index 7f2dbf4913..c521f6ae51 100644 --- a/OpenRA.Mods.Common/Warheads/CreateResourceWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateResourceWarhead.cs @@ -15,6 +15,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Creates resources in a circle.")] public class CreateResourceWarhead : Warhead { [Desc("Size of the area. The resources are seeded within this area.", "Provide 2 values for a ring effect (outer/inner).")] diff --git a/OpenRA.Mods.Common/Warheads/DestroyResourceWarhead.cs b/OpenRA.Mods.Common/Warheads/DestroyResourceWarhead.cs index 9001ac18ae..346f170c09 100644 --- a/OpenRA.Mods.Common/Warheads/DestroyResourceWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/DestroyResourceWarhead.cs @@ -16,6 +16,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Destroys resources in a circle.")] public class DestroyResourceWarhead : Warhead { [Desc("Size of the area. The resources are removed within this area.", "Provide 2 values for a ring effect (outer/inner).")] diff --git a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs index 37b83e2814..4f1ce3080d 100644 --- a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs @@ -17,6 +17,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Fires weapons from the point of impact.")] public class FireClusterWarhead : Warhead, IRulesetLoaded { [WeaponReference] diff --git a/OpenRA.Mods.Common/Warheads/GrantExternalConditionWarhead.cs b/OpenRA.Mods.Common/Warheads/GrantExternalConditionWarhead.cs index 1b2ab3b40e..b186f324a7 100644 --- a/OpenRA.Mods.Common/Warheads/GrantExternalConditionWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/GrantExternalConditionWarhead.cs @@ -16,6 +16,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Grant an external condition to hit actors.")] public class GrantExternalConditionWarhead : Warhead { [FieldLoader.Require] diff --git a/OpenRA.Mods.Common/Warheads/HealthPercentageDamageWarhead.cs b/OpenRA.Mods.Common/Warheads/HealthPercentageDamageWarhead.cs index d64e648466..e670350c0b 100644 --- a/OpenRA.Mods.Common/Warheads/HealthPercentageDamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/HealthPercentageDamageWarhead.cs @@ -15,6 +15,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Apply damage based on the target's health.")] public class HealthPercentageDamageWarhead : TargetDamageWarhead { protected override void InflictDamage(Actor victim, Actor firedBy, HitShape shape, WarheadArgs args) diff --git a/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs b/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs index 55d7054210..5aa3c5aa45 100644 --- a/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs @@ -18,6 +18,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Creates a smudge in `SmudgeLayer`.")] public class LeaveSmudgeWarhead : Warhead { [Desc("Size of the area. A smudge will be created in each tile.", "Provide 2 values for a ring effect (outer/inner).")] diff --git a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs index e608329989..52382dd565 100644 --- a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs @@ -18,6 +18,7 @@ namespace OpenRA.Mods.Common.Warheads { public enum DamageCalculationType { HitShape, ClosestTargetablePosition, CenterPosition } + [Desc("Apply damage in a specified range.")] public class SpreadDamageWarhead : DamageWarhead, IRulesetLoaded { [Desc("Range between falloff steps.")] diff --git a/OpenRA.Mods.Common/Warheads/TargetDamageWarhead.cs b/OpenRA.Mods.Common/Warheads/TargetDamageWarhead.cs index 07e1640a7f..43f3f83059 100644 --- a/OpenRA.Mods.Common/Warheads/TargetDamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/TargetDamageWarhead.cs @@ -16,6 +16,7 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Warheads { + [Desc("Apply damage to the targeted actor.")] public class TargetDamageWarhead : DamageWarhead { [Desc("Damage will be applied to actors in this area. A value of zero means only targeted actor will be damaged.")]