Skyrat-SS13 / Skyrat-tg

A Skyrat downstream of /tg/station SS13.
GNU Affero General Public License v3.0
118 stars 693 forks source link

[MIRROR] Admin narrations now let you pick a text formatting span to use in your message #28709

Closed SkyratBot closed 1 week ago

SkyratBot commented 1 week ago

Original PR: https://github.com/tgstation/tgstation/pull/84723

About The Pull Request

This adds a menu to all admin narrate verbs that allows you to select a span type for your message. This includes global, direct, world, subtle, and headset narrates.

This includes (nearly) all forms of text span. Some were not included, like OOC announcements, centcom priority announcement headers, the span used for hyperlink text, stuff like that. They're mostly all there, but the stuff that probably shouldn't be showing up under a generic chat message has been excluded. There's well over 100 of these things, so pick whatever you want.

Due to the way this works, you can close the spans in the message mid-string, in case you wanted to have multiple text formats in the message. You can also just format text the old-fashioned way if you really wanted.

image

Fun fact -- When using admin OOC spans, the reply will copy whatever your admin OOC color is. image

Yeah I'm sure you can tell I'm a super mature person by what the test messages I used here were. Laugh it up. Just know that I'm laughing too, like a grade schooler who just learned their first swear words.

Why It's Good For The Game

No more futzing about with copypastes and big long text files with the span formatting already written out. Now, you can just pick them from a list. Neato!

This will increase adminbus immersion by a factor of at least 3-5% assuming all projections and the data we have been provided holds true.

Changelog

:cl: Rhials admin: Narrate verbs will now allow you to pick what text formatting span you want to use before you send them, if any. /:cl: