PlaceBuilding notification now optional.

This commit is contained in:
Andre Mohren
2018-07-22 13:54:11 +02:00
committed by abcdefg30
parent 7057e32902
commit 8834cee13c
5 changed files with 5 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly int NewOptionsNotificationDelay = 10; public readonly int NewOptionsNotificationDelay = 10;
[Desc("Notification to play after building placement if new construction options are available.")] [Desc("Notification to play after building placement if new construction options are available.")]
public readonly string NewOptionsNotification = "NewOptions"; public readonly string NewOptionsNotification = null;
public object Create(ActorInitializer init) { return new PlaceBuilding(this); } public object Create(ActorInitializer init) { return new PlaceBuilding(this); }
} }

View File

@@ -8,6 +8,7 @@ EditorPlayer:
Player: Player:
Inherits: ^BasePlayer Inherits: ^BasePlayer
PlaceBuilding: PlaceBuilding:
NewOptionsNotification: NewOptions
TechTree: TechTree:
SupportPowerManager: SupportPowerManager:
ScriptTriggers: ScriptTriggers:

View File

@@ -58,6 +58,7 @@ Player:
ReadyAudio: NewOptions ReadyAudio: NewOptions
BlockedAudio: NoRoom BlockedAudio: NoRoom
PlaceBuilding: PlaceBuilding:
NewOptionsNotification: NewOptions
SupportPowerManager: SupportPowerManager:
ScriptTriggers: ScriptTriggers:
MissionObjectives: MissionObjectives:

View File

@@ -47,6 +47,7 @@ Player:
LimitedAudio: BuildingInProgress LimitedAudio: BuildingInProgress
SpeedUp: True SpeedUp: True
PlaceBuilding: PlaceBuilding:
NewOptionsNotification: NewOptions
SupportPowerManager: SupportPowerManager:
ScriptTriggers: ScriptTriggers:
MissionObjectives: MissionObjectives:

View File

@@ -49,6 +49,7 @@ Player:
LimitedAudio: BuildingInProgress LimitedAudio: BuildingInProgress
SpeedUp: True SpeedUp: True
PlaceBuilding: PlaceBuilding:
NewOptionsNotification: NewOptions
Palette: placebuilding Palette: placebuilding
LineBuildSegmentPalette: placelinesegment LineBuildSegmentPalette: placelinesegment
SupportPowerManager: SupportPowerManager: