-
Notifications
You must be signed in to change notification settings - Fork 132
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
base: master
Are you sure you want to change the base?
[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
|
![:trollface: :trollface:](https://github.githubassets.com/images/icons/emoji/trollface.png)
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.
Прикольно будет посмотреть, что получится в рануде.
нужно добавить канал ассистентам, с доступом для них, ГП и капитана. Ну и НТРа, наверное. Ассистентам будет тяжко в условных технических туннелях при встрече с ксеноморфом и всё в таком духе. |
![:feelsgood: :feelsgood:](https://github.githubassets.com/images/icons/emoji/feelsgood.png)
67b9317
to
bee6ccd
Compare
99ee4e8
to
c4e8cf6
Compare
c4e8cf6
to
da27c5c
Compare
если поставить медибота (и, наверное, любого другого бота) на свой тайл, то у тебя перестаёт работать приём связи. ты можешь говорить, но не слышишь никаких звуков, рация и наушник не помогают, помогает только перенос медибота на другой тайл. как будто надел earmuffs. |
Не воспроизводится. Да и нечему тут такие проблемы вызывать - прием не менялся |
![:feelsgood: :feelsgood:](https://github.githubassets.com/images/icons/emoji/feelsgood.png)
![:trollface: :trollface:](https://github.githubassets.com/images/icons/emoji/trollface.png)
Что этот PR делает
Убирает возможность говорить в общий у большинства гарнитур и раций.
Возможность говорить в общий остается у гарнитур и раций:
Возможность слышать общий канал остается везде, где была.
Добавляет тревожную кнопку в ПДА.
Почему это хорошо для игры
Благодаря этому в рации предположительно может сократиться количество брейнрот шума.
Тем, у кого на гарнитуре общий канал недоступен, теперь нужно будет использовать интеркомы - это должно усилить атмосферу.
Изображения изменений
Spoiler
Тестирование
Проверил несколько раций и гарнитур из разных групп, интеркомы - наблюдается ожидаемое поведение.
Тревожная кнопка работает.
Changelog
🆑 Maxiemar
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: