Remove the default notification from Infiltrates.
This commit is contained in:
committed by
Oliver Brakmann
parent
451a38338b
commit
7ddcc2e958
@@ -23,9 +23,10 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
{
|
||||
public class InfiltratesInfo : ConditionalTraitInfo
|
||||
{
|
||||
public readonly BitSet<TargetableType> Types;
|
||||
public readonly BitSet<TargetableType> Types = default(BitSet<TargetableType>);
|
||||
|
||||
[VoiceReference] public readonly string Voice = "Action";
|
||||
[VoiceReference]
|
||||
public readonly string Voice = "Action";
|
||||
|
||||
[Desc("What diplomatic stances can be infiltrated by this actor.")]
|
||||
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
||||
@@ -36,7 +37,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("Notification to play when a building is infiltrated.")]
|
||||
public readonly string Notification = "BuildingInfiltrated";
|
||||
public readonly string Notification = null;
|
||||
|
||||
[Desc("Experience to grant to the infiltrating player.")]
|
||||
public readonly int PlayerExperience = 0;
|
||||
|
||||
@@ -76,6 +76,9 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
}),
|
||||
new TraitWrapper("PowerManager", new Dictionary<string, string> {
|
||||
{ "SpeechNotification", "LowPower" }
|
||||
}),
|
||||
new TraitWrapper("Infiltrates", new Dictionary<string, string> {
|
||||
{ "Notification", "BuildingInfiltrated" }
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
@@ -289,6 +289,7 @@ SPY:
|
||||
DisguisedCondition: disguise
|
||||
Infiltrates:
|
||||
Types: SpyInfiltrate
|
||||
Notification: BuildingInfiltrated
|
||||
PlayerExperience: 50
|
||||
AutoTarget:
|
||||
InitialStance: HoldFire
|
||||
@@ -525,6 +526,7 @@ THF:
|
||||
Passenger:
|
||||
PipType: Blue
|
||||
Infiltrates:
|
||||
Notification: BuildingInfiltrated
|
||||
PlayerExperience: 50
|
||||
Voiced:
|
||||
VoiceSet: ThiefVoice
|
||||
|
||||
@@ -79,6 +79,7 @@ CHAMSPY:
|
||||
RequiresCondition: disguise
|
||||
Infiltrates:
|
||||
Types: SpyInfiltrate
|
||||
Notification: BuildingInfiltrated
|
||||
-WithInfantryBody:
|
||||
WithDisguisingInfantryBody:
|
||||
IdleSequences: idle1,idle2
|
||||
|
||||
Reference in New Issue
Block a user