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

@@ -12,9 +12,13 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
[Desc("Actor can reveal Cloak actors in a specified range.")]
class DetectCloakedInfo : TraitInfo<DetectCloaked>
{
[Desc("Specific cloak classifications I can reveal.")]
public readonly string[] CloakTypes = { "Cloak" };
[Desc("Measured in cells.")]
public readonly int Range = 5;
}