Add missing trait descriptions for cursors and unify the language

This commit is contained in:
Ivaylo Draganov
2020-05-18 15:18:35 +03:00
committed by abcdefg30
parent 227567dfe1
commit b8a9f41892
25 changed files with 59 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ namespace OpenRA.Mods.Cnc.Traits
"A dictionary of [actor id]: [condition].")]
public readonly Dictionary<string, string> DisguisedAsConditions = new Dictionary<string, string>();
[Desc("Cursor to show when hovering over a valid actor to disguise as.")]
[Desc("Cursor to display when hovering over a valid actor to disguise as.")]
public readonly string Cursor = "ability";
[GrantedConditionReference]

View File

@@ -42,6 +42,7 @@ namespace OpenRA.Mods.Cnc.Traits
[Desc("Experience to grant to the infiltrating player.")]
public readonly int PlayerExperience = 0;
[Desc("Cursor to display when able to infiltrate the target actor.")]
public readonly string EnterCursor = "enter";
public override object Create(ActorInitializer init) { return new Infiltrates(this); }

View File

@@ -49,13 +49,13 @@ namespace OpenRA.Mods.Cnc.Traits
public readonly bool KillCargo = true;
[Desc("Cursor sequence to use when selecting targets for the chronoshift.")]
[Desc("Cursor to display when selecting targets for the chronoshift.")]
public readonly string SelectionCursor = "chrono-select";
[Desc("Cursor sequence to use when targeting an area for the chronoshift.")]
[Desc("Cursor to display when targeting an area for the chronoshift.")]
public readonly string TargetCursor = "chrono-target";
[Desc("Cursor sequence to use when the targeted area is blocked.")]
[Desc("Cursor to display when the targeted area is blocked.")]
public readonly string TargetBlockedCursor = "move-blocked";
public override object Create(ActorInitializer init) { return new ChronoshiftPower(init.Self, this); }