Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add descriptions to all projectiles and warheads #20219

Merged
merged 1 commit into from Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions OpenRA.Mods.Cnc/Projectiles/TeslaZap.cs
Expand Up @@ -17,6 +17,7 @@

namespace OpenRA.Mods.Cnc.Projectiles
{
[Desc("Instant-hit projectile used to create electricity-like effects.")]
public class TeslaZapInfo : IProjectileInfo
{
public readonly string Image = "litning";
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Projectiles/AreaBeam.cs
Expand Up @@ -21,6 +21,7 @@

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.")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Projectiles/Bullet.cs
Expand Up @@ -22,6 +22,7 @@

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.")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Projectiles/GravityBomb.cs
Expand Up @@ -17,6 +17,7 @@

namespace OpenRA.Mods.Common.Projectiles
{
[Desc("Projectile with customisable acceleration vector.")]
public class GravityBombInfo : IProjectileInfo
{
public readonly string Image = null;
Expand Down
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Projectiles/InstantHit.cs
Expand Up @@ -18,7 +18,7 @@

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.")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Projectiles/Missile.cs
Expand Up @@ -21,6 +21,7 @@

namespace OpenRA.Mods.Common.Projectiles
{
[Desc("Projectile with smart tracking.")]
public class MissileInfo : IProjectileInfo
{
[Desc("Name of the image containing the projectile sequence.")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs
Expand Up @@ -19,6 +19,7 @@

namespace OpenRA.Mods.Common.Warheads
{
[Desc("Spawn a sprite with sound.")]
public class CreateEffectWarhead : Warhead
{
[SequenceReference(nameof(Image), allowNullImage: true)]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/CreateResourceWarhead.cs
Expand Up @@ -15,6 +15,7 @@

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).")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/DestroyResourceWarhead.cs
Expand Up @@ -16,6 +16,7 @@

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).")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs
Expand Up @@ -17,6 +17,7 @@

namespace OpenRA.Mods.Common.Warheads
{
[Desc("Fires weapons from the point of impact.")]
public class FireClusterWarhead : Warhead, IRulesetLoaded<WeaponInfo>
{
[WeaponReference]
Expand Down
Expand Up @@ -16,6 +16,7 @@

namespace OpenRA.Mods.Common.Warheads
{
[Desc("Grant an external condition to hit actors.")]
public class GrantExternalConditionWarhead : Warhead
{
[FieldLoader.Require]
Expand Down
Expand Up @@ -15,6 +15,7 @@

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)
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/LeaveSmudgeWarhead.cs
Expand Up @@ -18,6 +18,7 @@

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).")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs
Expand Up @@ -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<WeaponInfo>
{
[Desc("Range between falloff steps.")]
Expand Down
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/Warheads/TargetDamageWarhead.cs
Expand Up @@ -16,6 +16,7 @@

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.")]
Expand Down