-
Notifications
You must be signed in to change notification settings - Fork 131
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
[TM] Communication Update #1765
[TM] Communication Update #1765
Conversation
Reviewer's Guide by SourceryThis pull request introduces changes to the communication system, limiting the ability to speak on the common channel to specific roles, adding an alarm button to the PDA, and making other related changes. Sequence diagram for PDA alarm button usagesequenceDiagram
actor User
participant PDA
participant Radio
participant Security
User->>PDA: Press alarm button
PDA->>Radio: autosay(message)
Radio->>Security: Broadcast alert message
Note over Security: Plays alert sound
Note over Security: Shows location
Note right of Radio: Alert includes:
Note right of Radio: - User name & rank
Note right of Radio: - Location
Note right of Radio: - Priority level
Class diagram for updated radio systemclassDiagram
class Radio {
+bool respects_common_channel_limitations
+bool has_fixed_hear_range
+int max_hear_range
+ToggleBroadcast()
+ToggleReception()
+has_limited_common_channel_access()
}
class EncryptionKey {
+bool grants_common_channel_access
}
class Headset {
+EncryptionKey keyslot1
+EncryptionKey keyslot2
+has_limited_common_channel_access()
}
Radio <|-- Headset
Headset o-- EncryptionKey
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Прикольно будет посмотреть, что получится в рануде.
нужно добавить канал ассистентам, с доступом для них, ГП и капитана. Ну и НТРа, наверное. Ассистентам будет тяжко в условных технических туннелях при встрече с ксеноморфом и всё в таком духе. |


f749f44
to
03f7404
Compare

03f7404
to
7c43ec7
Compare

7c43ec7
to
c172e44
Compare
85b4278
to
18c5064
Compare
18c5064
to
cad7c78
Compare


Что этот PR делает
Убирает возможность говорить в общий у большинства гарнитур и раций.
Возможность говорить в общий остается у гарнитур и раций:
Возможность слышать общий канал остается везде, где была.
Добавляет тревожную кнопку в ПДА.
Почему это хорошо для игры
Благодаря этому в рации предположительно может сократиться количество брейнрот шума.
Тем, у кого на гарнитуре общий канал недоступен, теперь нужно будет использовать интеркомы - это должно усилить атмосферу.
Изображения изменений
Spoiler
Тестирование
Проверил несколько раций и гарнитур из разных групп, интеркомы - наблюдается ожидаемое поведение.
Тревожная кнопка работает.
Changelog
🆑 Maxiemar
add: Говорить в общем канале теперь могут только главы и представители ЦК. Остальным рекомендуется использовать каналы отделов и интеркомы. Ограничение снимается при уровне кода >=Гамма или лоупопе.
add: Средства связи могут взломаны с помощью емага, что обеспечит полный доступ в общий канал.
add: В ПДА добавлена тревожная кнопка. Ее использование отправляет сообщение в канал СБ.
add: ИИ и борги могут пользоваться тревожной кнопкой через стат панель.
add: Использование тревожной кнопки отправляет гостам уведомления аналогично разным ивентам.
/:cl:
Summary by Sourcery
Tests:
Summary by Sourcery
Restrict common channel access to heads and centcom representatives. Add an alarm button to the PDA.
New Features:
Tests:
Краткое описание от Sourcery
Этот pull request добавляет тревожную кнопку в КПК для экстренных вызовов в службу безопасности и ограничивает общий радиоканал для определенных ролей. Он также позволяет обходить ограничения общего канала с помощью эмаг-радиостанций.
Новые функции:
Улучшения:
Сборка:
Original summary in English
Summary by Sourcery
This pull request introduces an alarm button to the PDA for emergency calls to security and restricts the common radio channel to specific roles. It also allows bypassing the common channel restrictions by emagging radios.
New Features:
Enhancements:
Build: