"Repairing" eva notification for ra and cnc.
This commit is contained in:
@@ -28,6 +28,7 @@ namespace OpenRA.Traits
|
||||
public readonly string EnablePower = "bleep12.aud";
|
||||
|
||||
// Eva speech
|
||||
public readonly string Repairing = "repair1.aud";
|
||||
public readonly string LowPower = "lopower1.aud";
|
||||
public readonly string SilosNeeded = "silond1.aud";
|
||||
public readonly string PrimaryBuildingSelected = "pribldg1.aud";
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace OpenRA.Mods.RA.Buildings
|
||||
if (order.OrderString == "Repair")
|
||||
{
|
||||
isRepairing = !isRepairing;
|
||||
if (isRepairing)
|
||||
Sound.PlayToPlayer(self.Owner, self.World.WorldActor.Info.Traits.Get<EvaAlertsInfo>().Repairing);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
mods/cnc/bits/repair1.aud
Normal file
BIN
mods/cnc/bits/repair1.aud
Normal file
Binary file not shown.
Reference in New Issue
Block a user