Skip to content

Commit

Permalink
fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
nomad0260 committed Feb 15, 2024
1 parent 9723e95 commit 771d16b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
13 changes: 12 additions & 1 deletion Content.Server/Backmen/SpecForces/SpecForcesSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private void SpawnGhostRole(SpecForcesType ev, EntityUid shuttle)

if (countExtra-- > 0)
{
SpawnEntity(ErtEpsilonMedical, _random.Pick(spawns));
SpawnEntity(ErtEpsilonEngineer, _random.Pick(spawns));
}

if (countExtra-- > 0)
Expand Down Expand Up @@ -340,6 +340,17 @@ private void PlaySound(SpecForcesType ev)
);
}

break;
case SpecForcesType.ERTEpsilon:
foreach (var station in stations)
{
_chatSystem.DispatchStationAnnouncement(station,
Loc.GetString("spec-forces-system-ertcall-annonce"),
Loc.GetString("spec-forces-system-ertEpsiloncall-title"),
false, _ertAnnounce
);
}

break;
case SpecForcesType.RXBZZ:
foreach (var station in stations)
Expand Down
5 changes: 4 additions & 1 deletion Resources/Locale/ru-RU/backmen/SpecForces.ftl
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
spec-forces-system-ertcall-annonce = ВНИМАНИЕ! Мы получили запрос на ОБР! Запрос одобрен! Отряд будет подготовлен и отправлен в кратчайшие сроки!
spec-forces-system-ertcall-title = Theta-9
spec-forces-system-ertAplha1call-title = Alpha-1
spec-forces-system-ertEpsiloncall-title = Epsilon-11
spec-forces-system-RXBZZ-title = Sierra-6
spec-forces-system-RXBZZ-annonce = ВНИМАНИЕ! Мы получили запрос на РХБЗЗ! Запрос одобрен! Отряд будет подготовлен и отправлен в кратчайшие сроки!
spec-forces-system-ERT = Был вызван ОБР в { $time } ({ $who })!
spec-forces-system-ERT = Был вызван ОБР Theta 9 в { $time } ({ $who })!
spec-forces-system-ERTAlpha = Был вызван СОБР Alpha 1 в { $time } ({ $who })!
spec-forces-system-ERTERTEpsilon = Был вызван ОБР Epsilon 11 в { $time } ({ $who })!
spec-forces-system-RXBZZ = Был вызван РХБЗЗ в { $time } ({ $who })!
spec-forces-system-DeathSquad = Был вызван спецназ в { $time } ({ $who })!

0 comments on commit 771d16b

Please sign in to comment.