Add a lint test for audio notifications.
Only traits are linted - the UI still hardcodes too many audio references for this to be worthwhile.
This commit is contained in:
@@ -34,9 +34,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Sounds to play when the transformation is blocked.")]
|
||||
public readonly string[] NoTransformSounds = { };
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification to play when transforming.")]
|
||||
public readonly string TransformNotification = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification to play when the transformation is blocked.")]
|
||||
public readonly string NoTransformNotification = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user