Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ОБР fixs #470

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 })!
Loading