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 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.")]
|
[Desc("What diplomatic stances can be infiltrated by this actor.")]
|
||||||
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
||||||
@@ -36,7 +37,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
|||||||
|
|
||||||
[NotificationReference("Speech")]
|
[NotificationReference("Speech")]
|
||||||
[Desc("Notification to play when a building is infiltrated.")]
|
[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.")]
|
[Desc("Experience to grant to the infiltrating player.")]
|
||||||
public readonly int PlayerExperience = 0;
|
public readonly int PlayerExperience = 0;
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
|||||||
}),
|
}),
|
||||||
new TraitWrapper("PowerManager", new Dictionary<string, string> {
|
new TraitWrapper("PowerManager", new Dictionary<string, string> {
|
||||||
{ "SpeechNotification", "LowPower" }
|
{ "SpeechNotification", "LowPower" }
|
||||||
|
}),
|
||||||
|
new TraitWrapper("Infiltrates", new Dictionary<string, string> {
|
||||||
|
{ "Notification", "BuildingInfiltrated" }
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -289,6 +289,7 @@ SPY:
|
|||||||
DisguisedCondition: disguise
|
DisguisedCondition: disguise
|
||||||
Infiltrates:
|
Infiltrates:
|
||||||
Types: SpyInfiltrate
|
Types: SpyInfiltrate
|
||||||
|
Notification: BuildingInfiltrated
|
||||||
PlayerExperience: 50
|
PlayerExperience: 50
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
InitialStance: HoldFire
|
InitialStance: HoldFire
|
||||||
@@ -525,6 +526,7 @@ THF:
|
|||||||
Passenger:
|
Passenger:
|
||||||
PipType: Blue
|
PipType: Blue
|
||||||
Infiltrates:
|
Infiltrates:
|
||||||
|
Notification: BuildingInfiltrated
|
||||||
PlayerExperience: 50
|
PlayerExperience: 50
|
||||||
Voiced:
|
Voiced:
|
||||||
VoiceSet: ThiefVoice
|
VoiceSet: ThiefVoice
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ CHAMSPY:
|
|||||||
RequiresCondition: disguise
|
RequiresCondition: disguise
|
||||||
Infiltrates:
|
Infiltrates:
|
||||||
Types: SpyInfiltrate
|
Types: SpyInfiltrate
|
||||||
|
Notification: BuildingInfiltrated
|
||||||
-WithInfantryBody:
|
-WithInfantryBody:
|
||||||
WithDisguisingInfantryBody:
|
WithDisguisingInfantryBody:
|
||||||
IdleSequences: idle1,idle2
|
IdleSequences: idle1,idle2
|
||||||
|
|||||||
Reference in New Issue
Block a user