2 Commits

Author SHA1 Message Date
sunny 3e4b00bee8 Abductors have typing indicators (#4846)
## About The Pull Request
Abductors, while "talking" and emoting, have typing indicators.
<img width="114" height="138" alt="image"
src="https://github.com/user-attachments/assets/b48c8647-a96f-4a81-b117-9c13c58863fd"
/>
## Why It's Good For The Game
Removes the inherent type-baiting abductor players face by other people
literally being unable to know they're typing. They still can't talk to
other people, this just shows the little bubble. _Technically_ an
abductor-antag nerf, but it's so minor and adds QoL, I think it's very
worth it.
## Proof Of Testing
Compiles.
<details>
<summary>Screenshots/Videos</summary>

</details>

## Changelog
🆑 sunnyaries
add:onlookers may know when an abductor is emoting. millions must gleep
/🆑
2025-10-25 00:27:48 +03:00
Kyle Spier-Swenson c54a263a8c Command bar typing indicators (client side html version) (#83081)
This uses a browser skin element to spy on the command bar and report
back to the server what verb is currently in it and how many characters
it has. it skips reporting if the text hasn't changed since the last
report.

im intentionally not providing the full text in the command bar to the
server, while designing the system so new verbs can be given typing
indicators by editing DM code, not html code.

The report rate is once a second but this could be lowered or tweaked.

Both the tgui say window being open and this system being active because
the command bar starts with `say "` is undefined behavior, mostly the
first one to end the indicator will just freeze indicators for the other
one until it too ends its current indicator session.

The system waits until something besides the `"` is in the argument to
say.

It is enabled for verbs `say`, `me`, and `whisper`.

I don't actually know if this is the case for tgui say. this is a one
line tweak anyways so let me know if this should be changed.

[(This pr closes a
bounty)](https://tgstation13.org/phpBB/viewtopic.php?p=726634#p726634)

🆑 MrStonedOne & Lilah Novi
add: Say commands typed in the command bar now trigger typing indicators
/🆑

---------

Co-authored-by: san7890 <the@ san7890.com>
2024-05-08 21:37:55 -04:00