Remove the default notification from Infiltrates.

This commit is contained in:
Paul Chote
2018-11-24 23:07:52 +00:00
committed by Oliver Brakmann
parent 451a38338b
commit 7ddcc2e958
4 changed files with 10 additions and 3 deletions

View File

@@ -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;