Added some trait [Desc()]s.

This commit is contained in:
Taryn Hill
2014-07-12 12:43:38 -05:00
parent a03d607878
commit da001385ae
35 changed files with 99 additions and 30 deletions

View File

@@ -17,12 +17,13 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
[Desc("This unit can spawn and eject other actors while flying.")]
public class ParaDropInfo : ITraitInfo, Requires<CargoInfo>
{
[Desc("Distance around the drop-point to unload troops")]
[Desc("Distance around the drop-point to unload troops.")]
public readonly WRange DropRange = WRange.FromCells(4);
[Desc("Sound to play when dropping")]
[Desc("Sound to play when dropping.")]
public readonly string ChuteSound = "chute1.aud";
public object Create(ActorInitializer init) { return new ParaDrop(init.self, this); }