Add a "structure sold" notification.

This commit is contained in:
Matthias Mailänder
2021-01-12 22:46:03 +01:00
committed by abcdefg30
parent 3b768dacf5
commit 8f06b0a836
5 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ namespace OpenRA.Mods.Common.Traits
[Desc("List of audio clips to play when the actor is being sold.")]
public readonly string[] SellSounds = { };
[NotificationReference("Speech")]
[Desc("The audio notification type to play.")]
public string Notification = null;
[Desc("Whether to show the cash tick indicators rising from the actor.")]
public readonly bool ShowTicks = true;