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

@@ -76,9 +76,11 @@ namespace OpenRA.Mods.Common.Traits
// TODO: instead of having multiple Armaments and unique AttackBase,
// an actor should be able to have multiple AttackBases with
// a single corresponding Armament each
[Desc("Cursor to display when hovering over a valid target.")]
public readonly string Cursor = "attack";
// TODO: same as above
[Desc("Cursor to display when hovering over a valid target that is outside of range.")]
public readonly string OutsideRangeCursor = "attackoutsiderange";
public override object Create(ActorInitializer init) { return new Armament(init.Self, this); }