Commit graph

13 commits

Author SHA1 Message Date
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
EmoGarbage404
8273434af5
death to it (#8981) 2022-06-20 15:59:04 -05:00
keronshb
f7b1bda3e5
Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Veritius
33faf00112
Fix comms consoles not working (#8644)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-04 02:09:04 -07:00
Veritius
237cb3d0b4
Communications Console: The ECSining (#8374)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-03 21:37:35 +10:00
wrexbe
1e0babbd50
Make AdminLogsSystem an IoC manager (#8492)
* Make log not entity system

* Fixes
2022-05-28 23:41:17 -07:00
wrexbe
089e40a061
Convert suicide to ecs (#8091)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-05-12 22:05:16 +10:00
metalgearsloth
1ac5df5e4a
SpeechBubble occlusion (#8018) 2022-05-08 01:54:56 -07:00
Rane
955e7af2ad
Fix capitalization of emotes (#7766) 2022-04-24 17:15:40 -07:00
Alex Evgrashin
98c03570ca
Fix semicolon only message (#7695) 2022-04-21 15:31:51 -07:00
mirrorcult
8eee60da3a
Another chat system sanitization fix (#7384) 2022-04-02 14:09:54 +11:00
mirrorcult
634cf59527
Fix incorrectly ported emote sanitization (#7370) 2022-04-01 18:08:26 +11:00
mirrorcult
70f0fffed2
ChatManager murder (#7337) 2022-03-31 16:21:58 +11:00