Nuke ops war anounce sound (#9035)
This commit is contained in:
@@ -18,7 +18,7 @@ public sealed class BreakerFlip : StationEventSystem
|
||||
base.Added();
|
||||
|
||||
var str = Loc.GetString("station-event-breaker-flip-announcement", ("data", Loc.GetString(Loc.GetString($"random-sentience-event-data-{RobustRandom.Next(1, 6)}"))));
|
||||
ChatSystem.DispatchGlobalAnnouncement(str, playDefaultSound: false, colorOverride: Color.Gold);
|
||||
ChatSystem.DispatchGlobalAnnouncement(str, playSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
public override void Started()
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (cfg.StartAnnouncement != null)
|
||||
{
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(cfg.StartAnnouncement), playDefaultSound: false, colorOverride: Color.Gold);
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(cfg.StartAnnouncement), playSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
if (cfg.StartAudio != null)
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (ev.StartAnnouncement != null)
|
||||
{
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(ev.StartAnnouncement), playDefaultSound: false, colorOverride: Color.Gold);
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(ev.StartAnnouncement), playSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
if (ev.StartAudio != null)
|
||||
@@ -85,7 +85,7 @@ namespace Content.Server.StationEvents.Events
|
||||
|
||||
if (ev.EndAnnouncement != null)
|
||||
{
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(ev.EndAnnouncement), playDefaultSound: false, colorOverride: Color.Gold);
|
||||
ChatSystem.DispatchGlobalAnnouncement(Loc.GetString(ev.EndAnnouncement), playSound: false, colorOverride: Color.Gold);
|
||||
}
|
||||
|
||||
if (ev.EndAudio != null)
|
||||
|
||||
Reference in New Issue
Block a user