Add ability to override CannotPlaceNotification per queue.
This commit is contained in:
committed by
abcdefg30
parent
a6cb20a4ec
commit
b54a724aea
@@ -73,6 +73,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||
public readonly string LimitedAudio = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification played when you can't place a building.",
|
||||
"Overrides PlaceBuilding.CannotPlaceNotification for this queue.",
|
||||
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||
public readonly string CannotPlaceAudio = null;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification played when user clicks on the build palette icon.",
|
||||
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||
|
||||
Reference in New Issue
Block a user