PowerManager notification now optional.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public class PowerManagerInfo : ITraitInfo, Requires<DeveloperModeInfo>
|
public class PowerManagerInfo : ITraitInfo, Requires<DeveloperModeInfo>
|
||||||
{
|
{
|
||||||
public readonly int AdviceInterval = 250;
|
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); }
|
public object Create(ActorInitializer init) { return new PowerManager(init.Self, this); }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ Player:
|
|||||||
MissionObjectives:
|
MissionObjectives:
|
||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PowerManager:
|
PowerManager:
|
||||||
|
SpeechNotification: LowPower
|
||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
CashTickUpNotification: CashTickUp
|
CashTickUpNotification: CashTickUp
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ Player:
|
|||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PowerManager:
|
PowerManager:
|
||||||
AdviceInterval: 650
|
AdviceInterval: 650
|
||||||
|
SpeechNotification: LowPower
|
||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
SelectableCash: 2500, 5000, 7000, 10000, 20000
|
SelectableCash: 2500, 5000, 7000, 10000, 20000
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ Player:
|
|||||||
MissionObjectives:
|
MissionObjectives:
|
||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PowerManager:
|
PowerManager:
|
||||||
|
SpeechNotification: LowPower
|
||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
InsufficientFundsNotification: InsufficientFunds
|
InsufficientFundsNotification: InsufficientFunds
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ Player:
|
|||||||
MissionObjectives:
|
MissionObjectives:
|
||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PowerManager:
|
PowerManager:
|
||||||
|
SpeechNotification: LowPower
|
||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
InsufficientFundsNotification: InsufficientFunds
|
InsufficientFundsNotification: InsufficientFunds
|
||||||
|
|||||||
Reference in New Issue
Block a user