PowerManager notification now optional.

This commit is contained in:
Andre Mohren
2018-07-22 13:52:28 +02:00
committed by abcdefg30
parent 90c2249317
commit 7057e32902
5 changed files with 5 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits
public class PowerManagerInfo : ITraitInfo, Requires<DeveloperModeInfo>
{
public readonly int AdviceInterval = 250;
public readonly string SpeechNotification = "LowPower";
public readonly string SpeechNotification = null;
public object Create(ActorInitializer init) { return new PowerManager(init.Self, this); }
}

View File

@@ -14,6 +14,7 @@ Player:
MissionObjectives:
ConquestVictoryConditions:
PowerManager:
SpeechNotification: LowPower
AllyRepair:
PlayerResources:
CashTickUpNotification: CashTickUp

View File

@@ -64,6 +64,7 @@ Player:
ConquestVictoryConditions:
PowerManager:
AdviceInterval: 650
SpeechNotification: LowPower
AllyRepair:
PlayerResources:
SelectableCash: 2500, 5000, 7000, 10000, 20000

View File

@@ -52,6 +52,7 @@ Player:
MissionObjectives:
ConquestVictoryConditions:
PowerManager:
SpeechNotification: LowPower
AllyRepair:
PlayerResources:
InsufficientFundsNotification: InsufficientFunds

View File

@@ -56,6 +56,7 @@ Player:
MissionObjectives:
ConquestVictoryConditions:
PowerManager:
SpeechNotification: LowPower
AllyRepair:
PlayerResources:
InsufficientFundsNotification: InsufficientFunds