PlaceBuilding notification now optional.
This commit is contained in:
@@ -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); }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ EditorPlayer:
|
|||||||
Player:
|
Player:
|
||||||
Inherits: ^BasePlayer
|
Inherits: ^BasePlayer
|
||||||
PlaceBuilding:
|
PlaceBuilding:
|
||||||
|
NewOptionsNotification: NewOptions
|
||||||
TechTree:
|
TechTree:
|
||||||
SupportPowerManager:
|
SupportPowerManager:
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ Player:
|
|||||||
ReadyAudio: NewOptions
|
ReadyAudio: NewOptions
|
||||||
BlockedAudio: NoRoom
|
BlockedAudio: NoRoom
|
||||||
PlaceBuilding:
|
PlaceBuilding:
|
||||||
|
NewOptionsNotification: NewOptions
|
||||||
SupportPowerManager:
|
SupportPowerManager:
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
MissionObjectives:
|
MissionObjectives:
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ Player:
|
|||||||
LimitedAudio: BuildingInProgress
|
LimitedAudio: BuildingInProgress
|
||||||
SpeedUp: True
|
SpeedUp: True
|
||||||
PlaceBuilding:
|
PlaceBuilding:
|
||||||
|
NewOptionsNotification: NewOptions
|
||||||
SupportPowerManager:
|
SupportPowerManager:
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
MissionObjectives:
|
MissionObjectives:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user