fish-station/Content.Server
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
..
Abilities/Mime Mime cleanup (#8433) 2022-05-25 00:43:48 -07:00
Access AccessReader IsAllowed use resolve (#8527) 2022-06-01 08:26:50 -07:00
Actions Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Administration Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Advertise Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Advertisements Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Afk Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
AI Movement acceleration (#8969) 2022-06-23 12:13:22 +10:00
AirlockPainter Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Alert Add docking window to shuttle consoles (#8756) 2022-06-16 15:28:16 +10:00
AlertLevel Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
AME Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Animals Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Announcements Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Arcade Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Armor Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Atmos Add cargo shuttle (#8686) 2022-06-23 14:36:47 +10:00
Audio Adds the ability to not play admin sounds (#8242) 2022-06-02 15:41:19 +02:00
BarSign Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Bed Add static "IsPowered" method (#8434) 2022-05-26 17:36:12 -07:00
Bible Disallow bible healing if target is dead (#8999) 2022-06-21 11:44:02 -05:00
Body Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Botany Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Bql Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Buckle Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Cabinet Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Cargo Add cargo shuttle (#8686) 2022-06-23 14:36:47 +10:00
CharacterAppearance Random humanoid appearance (#7895) 2022-05-02 13:50:56 -07:00
CharacterInfo Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Chat Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Chemistry Drunk Shader (#8910) 2022-06-23 14:33:25 +10:00
Cleanable Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Climbing Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Cloning Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Clothing Decouples starting gear from UtilityAI (#8512) 2022-05-29 15:14:47 -07:00
CombatMode Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Commands Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Communications Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Configurable Move Anchorable to shared. (#7361) 2022-04-02 14:52:44 +11:00
Connection Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Construction Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Containers Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Conveyor Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Cooldown Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Coordinates/Helpers Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
CPUJob/JobQueues Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Crayon Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Cuffs Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Damage Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Database Flavor text (#8070) 2022-05-13 15:58:45 -07:00
Decals Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Destructible Vending Machine Abuse (#8863) 2022-06-23 14:52:28 +10:00
DetailExaminable Flavor text (#8070) 2022-05-13 15:58:45 -07:00
DeviceNetwork Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Dice Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Disease Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Disposal Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
DoAfter Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Doors Make doorbumps quiet (#8812) 2022-06-15 15:14:15 +10:00
Dragon Fix dragon devour and reduce time significantly (#8921) 2022-06-17 02:02:35 -05:00
Drone Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Drunk Drunk Shader (#8910) 2022-06-23 14:33:25 +10:00
Electrocution Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Emag Make AdminLogsSystem an IoC manager (#8492) 2022-05-28 23:41:17 -07:00
Engineering Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
EntityList Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Entry Convert KudzuVisualizer to Visualizer Systems (#9010) 2022-06-22 16:33:45 -07:00
EUI Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Examine Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Explosion Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Extinguisher Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Flash Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Fluids Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Foldable Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Friction Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
GameTicking Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Gatherable Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Ghost Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
GhostKick Modular landmines (#8351) 2022-06-01 01:39:06 -07:00
Gravity Add cargo shuttle (#8686) 2022-06-23 14:36:47 +10:00
Guardian Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
GuideGenerator Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Hands Two small bugfixes (#8285) 2022-05-20 01:29:02 +10:00
Headset Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
HealthExaminable Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Holiday Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Holosign Make holofans use power cells (#8813) 2022-06-16 18:30:27 +10:00
ImmovableRod Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Info Fix rules popup (#8485) 2022-05-27 14:50:11 -07:00
Instruments Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Interaction Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Inventory Zombie Rework & Polymorph Expansion (#8413) 2022-06-12 15:53:13 +10:00
IoC Fix server update restarts when server paused. (#8509) 2022-05-30 01:09:50 -07:00
IP Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Items Add multi-layer in-hand and clothing support (#6740) 2022-03-02 10:29:42 +11:00
Jittering Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Jobs Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Kitchen Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Kudzu Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Labels/Label More container pruning (#8576) 2022-06-12 13:29:03 +10:00
LandMines Modular landmines (#8351) 2022-06-01 01:39:06 -07:00
Lathe Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Light Add DoAfter to eject light bulb (#8988) 2022-06-21 17:55:06 -07:00
Lock Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
MachineLinking Add SignalSwitch sound (#9013) 2022-06-21 17:51:42 -07:00
Magic Spell sounds are no longer global, also tweaked volumes (#8961) 2022-06-19 14:07:00 -07:00
Maps Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Materials Salvage mining, ore processing, and material clean-up (#7406) 2022-04-28 20:41:04 +10:00
Medical Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Mind Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
MobState/States Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Module Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
MoMMI Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Morgue Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Mousetrap Mousetrap fixes/tweaks (#8484) 2022-05-28 11:52:26 +10:00
Movement Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
NameIdentifier Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
NodeContainer Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Nuke Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Nutrition Show remaining liquid in a drink when you examine it (#8721) 2022-06-21 21:02:24 -05:00
Objectives Missing nullables (#8634) 2022-06-04 17:17:48 +10:00
PAI Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Paper Minor paper ECS and stamps (#7394) 2022-04-08 16:37:22 -07:00
ParticleAccelerator Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Payload/EntitySystems Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
PDA Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Physics/Controllers Add cargo shuttle (#8686) 2022-06-23 14:36:47 +10:00
Pinpointer Optimise pinpointer activation significantly (#7169) 2022-03-19 19:27:26 +01:00
Plants Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Players Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
PneumaticCannon Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Pointing Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Polymorph Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Popups Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Power Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
PowerCell Make AdminLogsSystem an IoC manager (#8492) 2022-05-28 23:41:17 -07:00
PowerSink Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Preferences/Managers Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Projectiles Gun refactor (#8301) 2022-06-01 19:59:58 +10:00
Pulling Revert "ctrl-rclick tweaks" (#7171) 2022-03-18 15:40:02 +11:00
Radiation Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Radio Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
RandomAppearance Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
RandomMetadata Random metadata component (#7894) 2022-05-02 13:51:03 -07:00
RatKing Rat king tweaks (#9000) 2022-06-21 07:00:11 -07:00
RCD Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Recycling Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Remotes Clean up door remote (#8829) 2022-06-16 23:36:36 +10:00
Repairable Add a penalty to self-repair (#8951) 2022-06-18 22:50:43 -07:00
Research Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Resist Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Roles Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Rotatable Fix pipe net conservation laws (#8540) 2022-06-03 03:09:51 -07:00
RoundEnd Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Salvage Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Sandbox Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Security Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
ServerUpdates Fix server update restarts when server paused. (#8509) 2022-05-30 01:09:50 -07:00
Shuttles Don't consider power for docking (#9054) 2022-06-23 17:22:10 +10:00
Singularity Adds anchor checks for containment fields (#8909) 2022-06-23 14:27:49 +10:00
Slippery Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Solar Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Sound Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Spawners Simple Magic Spellbook System (#7823) 2022-05-29 16:29:10 +10:00
Speech Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Sprite Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Stack Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Standing Vehicles (#7336) 2022-04-23 18:05:02 -07:00
Station Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
StationEvents Add department-specific radio channels (#9061) 2022-06-23 20:11:03 +10:00
Sticky Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Storage Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Strip Notifies you if you're being stripped or dressed. (#9029) 2022-06-22 16:58:53 -07:00
Stunnable Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
SubFloor Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
SurveillanceCamera Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Suspicion Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Tabletop Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Temperature Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Throwing Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Tiles Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Toilet Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Tools Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Traitor Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
TraitorDeathMatch/Components Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
UserInterface Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Utility/Commands Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Vehicle Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
VendingMachines Vending Machine Abuse (#8863) 2022-06-23 14:52:28 +10:00
Verbs Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Visible Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Voting Vote commands completions. (#8758) 2022-06-12 16:52:23 -07:00
Warps Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Weapon Fixes Esword not changing hit sound and sharpComp. (#9005) 2022-06-21 17:54:28 -07:00
Whitelist Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Wieldable Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Wires Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Xenoarchaeology/XenoArtifacts Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Zombies Zombie Rework & Polymorph Expansion (#8413) 2022-06-12 15:53:13 +10:00
AssemblyInfo.cs
Content.Server.csproj Update some nugets (#8738) 2022-06-09 18:25:59 -07:00
Content.Server.csproj.DotSettings Electrocution. (#4958) 2021-10-25 16:21:56 +02:00
GlobalUsings.cs Global usings (#6472) 2022-02-05 11:39:36 -07:00
Program.cs Content.{Client,Server} are now Exes that can be ran. 2020-01-22 20:17:32 +01:00