Commit Graph

300 Commits

Author SHA1 Message Date
ShadowCommander
bfc4da9377 Mind ecs (#14412) 2023-03-26 14:31:13 -04:00
Chief-Engineer
88fb6ccebc Add admin alerts (#13589) 2023-03-23 11:10:49 -04:00
0x6273
21e5aea8ca Add EmoteOnDamage comp/system for zombies (#14371) 2023-03-23 10:52:46 -04:00
0x6273
72269c7a77 Add AutoEmote comp/system, updates to zombie code (#13932)
* Add AutoEmote comp/system

* Reduce groan chance so it's the same as before

Old code did 0.2 and then 0.5, now it's just one Prob(0.1)

* Fix typo, curTime var, don't log Resolve

* Maybe fix pausing?

* Fix mistake

* Update NextEmoteTime if an auto emote is removed

* Fix stuff

Get CurTime outside update loop
Use MapInit instead of ComponentInit
Fix a typo in a comment
Debug assert prototype ID in RemoveEmote
Do += PausedTime in OnUnpaused
Add prototype as arg to ResetTimer to avoid an indexing
2023-03-02 11:23:56 -08:00
TemporalOroboros
93ec824d57 MotD (#13655)
* MOTD

* Message of the Day

* Pretty sure the tests aren't me. Let's check.

* Update Content.Shared/CCVar/CCVars.cs

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>

* command dependencies and moving MOTD to its own system

* Some doc comments

* Let's try those tests again

* More doc comments, most of the github reviews, and aliases for get-motd and set-motd

* Clear test MOTD

* Localized motd commands and completion hints

* Makes set-motd only show up in the alias command if the player has access to it.

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2023-02-28 08:15:48 -08:00
Leon Friedrich
75a559fa55 Update radio prefix parsing (#13777) 2023-02-19 04:27:56 +11:00
Chief-Engineer
5c06c4c3ef Add voice changer logs (#14040)
* add set voice log

* add used identity to chat message logs

* please tell me there's a better way
2023-02-11 19:26:44 +00:00
Visne
5a5a3afbb1 Remove some obsolete AppearanceComponent method usages (#13726) 2023-02-02 12:34:53 -04:00
AlexMorgan3817
c8b89c7008 Encryption Keys for headsets (#12615) 2023-01-29 11:53:08 +11:00
Alex Evgrashin
ef452b38a9 Audible emotes (#12708)
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
2023-01-25 08:29:41 -08:00
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
Jezithyr
eeb5b17b34 Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
Morb
76f8a7e91e Lawyer badge changes typing indicator (#13445) 2023-01-12 23:33:57 +11:00
Chief-Engineer
1ceff51a69 Add mind and ghost logs (#13306) 2023-01-03 22:49:15 -08:00
Kupie
e2467bf858 Redirects :h to department radio channel for headsets (#13026) 2022-12-31 22:20:04 -08:00
Chief-Engineer
fdb1181298 Add ability to prevent ghosting (#12906)
* add ability to prevent ghosting to MindComponent.cs

* make minds preserve properties in certain transfer scenarios

* Revert "make minds preserve properties in certain transfer scenarios"

This reverts commit 333cae0db0faf4ef81767b93332271d944c90a0e.

* move PreventGhosting to the actual mind
2022-12-19 21:55:45 -06:00
Chief-Engineer
5ece9bd9e8 Modify admin chat (#13050)
* split admin chat into new channel

* add ability to play audio when a chat message is received and add audio to admin chat

* give client control of AdminChat sound and volume + suppress sound for senders
2022-12-19 21:39:01 -06:00
Leon Friedrich
881a2b2ece PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
Leon Friedrich
6fa2391e42 Replaces anchored lookup flag with static (#13036) 2022-12-15 15:29:46 +11:00
Tom Richardson
49183abef2 Make department radio messages work in default radio (#12834) 2022-12-14 12:24:49 +11:00
Pieter-Jan Briers
cd6d4cb83c Fix logging of admin announcements in admin logs. (#12778) 2022-11-27 15:10:21 -06:00
Leon Friedrich
6af331c9ff Remove StoredChatMessage (#12623) 2022-11-22 22:52:19 +11:00
keronshb
21c1cb57ce Makes adjustment to macro bomb implants and how mobstate trigger handles suicide (#12682) 2022-11-20 20:51:44 -06: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
router
2bd3a6c673 add more to chat sanitization (#11988) 2022-10-17 15:54:51 +11:00
ninruB
7e14a3ca48 Small chat sanitization tweak. (#11637) 2022-10-09 12:21:27 -07:00
Paul Ritter
79854e59a4 adds a source uid to most damage & mobstate events (#11559)
Co-authored-by: Flipp Syder <76629141+vulppine@users.noreply.github.com>
2022-10-08 12:15:27 +02: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
Leon Friedrich
1e9e93a33c Fix typing indicator input validation. (#10818) 2022-08-25 23:44:43 +10:00
Tomás Alves
67e4061fcd SanitizeMessageCapital: Check Empty String (#10616) 2022-08-15 06:48:51 -07:00
Visne
58769634c7 Fix a bunch of compiler warnings (#10518) 2022-08-13 22:28:34 -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
258ec0cac1 Clothing/item ECS & cleanup (#9706) 2022-07-27 03:53:47 -07: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
4a393d4665 Fix a bunch of warnings (#9528) 2022-07-09 09:07:47 +10:00
Nemanja
836c0bb1c4 Zombie Mode [New Game Mode] (#8501)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-07-06 13:42:51 +10: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