Commit Graph

21 Commits

Author SHA1 Message Date
Tom Richardson
49183abef2 Make department radio messages work in default radio (#12834) 2022-12-14 12:24:49 +11:00
Leon Friedrich
6af331c9ff Remove StoredChatMessage (#12623) 2022-11-22 22:52:19 +11:00
Leon Friedrich
0b5a58001c IListener and IRadio purge (#11980) 2022-11-15 15:09:27 +11:00
Taran
e59bf8acd9 Increases VoiceRange To 10 From 7 (#12254) 2022-10-28 14:25:47 +11:00
Leon Friedrich
3aeba9a63e Fix chat sanitization and entity name escaping (#12015) 2022-10-17 23:59:09 -07:00
Flipp Syder
0385f1387c Voice mask (#10458) 2022-09-29 12:22:27 +10:00
Tomás Alves
f8c18c0b41 SanitizeMessagePeriod: Add Period at the end of sentences (#10710)
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
2022-08-31 05:42:46 -07:00
Tomás Alves
67e4061fcd SanitizeMessageCapital: Check Empty String (#10616) 2022-08-15 06:48:51 -07:00
Flipp Syder
0f9e31c988 Listener fix for speech (#10240) 2022-08-11 19:25:29 +10:00
Júlio César Ueti
ee969c9799 Adds even more important Admin Logging (#10268) 2022-08-08 09:21:56 +10:00
Julian Giebel
bba5850da4 Fix the fix for accents on radio (#10242) 2022-08-02 06:46:10 -07:00
Justin Trotter
15944898b1 accents on radio (#10226) 2022-08-02 12:33:30 +10:00
Leon Friedrich
c7ad6b709e Audio System Rejig (#9635) 2022-07-29 12:13:12 +10:00
Kara
7e57dd987e Chat fixes (#10051) 2022-07-26 16:49:23 -07:00
Rane
5ad13e0637 Redirect dead player LOOC to deadchat (#10009) 2022-07-26 06:58:19 -07:00
Morber
efb17f1e98 Nuke ops war anounce sound (#9035) 2022-07-15 02:16:41 -07:00
Kara
a0c531d08b Identity fixes (#9701) 2022-07-13 22:23:55 -07:00
metalgearsloth
20f4c9988b Fix station announcements (#9380)
* Fix station announcements

Doesn't just get what's on the grid. Also made it generic so other systems can use a station filter.

* bumped

* a
2022-07-04 16:00:51 +10:00
Leon Friedrich
bb04646bbe Fix radio/chat error (#9264) 2022-06-29 13:13:01 +10:00
Leon Friedrich
07a35e8363 Stop radio channels from being malformed. (#9210) 2022-06-27 13:56:38 +10:00
metalgearsloth
3da454140d Add department-specific radio channels (#9061)
* Add department-specific radio channels

This commit adds working department-specific radio channels, while
minimizing damage to the current codebase. It is expected that a future
refactor will clean this up a bit.

ChatSystem now has a RadioPrefix() method that recognizes
department-specific channels (e.g. ":e" and ":m") in addition to the
global channel (";"). It strips the prefix from the message and assigns
messages an integer representing the destination channel, if any.

IListen and IRadio now accept optional 'channel' arguments with this
channel in mind.

The ugly is that the integer channel number is hard-coded and also shows
up in chat.

Comms are not modeled at this time. You cannot break comms (yet).

All headsets have channels soldered into them. You cannot change
encryption keys to hop on new channels. Steal a headset instead.

* Remove debugging print

* Convert to prototypes

* Use prototype names in headset prototype

* Adjust list style

* Document prototype fields

* cringe

* some cleanup

* colours

* Remove alphas at least

* cc

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2022-06-23 20:11:03 +10:00