Extract unit names and descriptions
This commit is contained in:
committed by
Matthias Mailänder
parent
a5e472dfe6
commit
0f5b78442b
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly SelectionBoxAnnotationRenderable SelectionBox;
|
||||
|
||||
public string Tooltip =>
|
||||
(tooltip == null ? " < " + Info.Name + " >" : tooltip.Name) + "\n" + Owner.Name + " (" + Owner.Faction + ")"
|
||||
(tooltip == null ? " < " + Info.Name + " >" : TranslationProvider.GetString(tooltip.Name)) + "\n" + Owner.Name + " (" + Owner.Faction + ")"
|
||||
+ "\nID: " + ID + "\nType: " + Info.Name;
|
||||
|
||||
public string Type => reference.Type;
|
||||
|
||||
Reference in New Issue
Block a user