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:
@@ -26,10 +26,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Production queue type to use")]
|
||||
public readonly string Type = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification played when production is activated.",
|
||||
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||
public readonly string ReadyAudio = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification played when the exit is jammed.",
|
||||
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||
public readonly string BlockedAudio = null;
|
||||
|
||||
Reference in New Issue
Block a user