Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prayer and USCM message visibility tweaks #5046

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

silencer-pl
Copy link
Contributor

@silencer-pl silencer-pl commented Nov 27, 2023

About the pull request

This PR adds one of the distinct, but hopefully not disruptive terminal sounds to the message prompt mods/admins relieve when a player sends a prayer and makes both the USCM emergency message prompts and prayer prompts one size up from current font size and bolded for better visibility.

Something something downstream improvement that really should be upstream something.

Explain why it's good for the game

Prayer visibility in particular has always been an issue, now not only there is a sound, these messages are bolded and slightly bigger.

Testing Photographs and Procedure

Screenshots & Videos

My font settings:
image

The messages, surrounding a regular prompt:

image

The sound is sound\machines\terminal_alert.ogg

Changelog

🆑silencer_pl
admin: Recieving prayers now makes a sound
admin: Prayers and USCM emergency messages are now better highlighted for mods/admins
/:cl:

@github-actions github-actions bot added the Admin Make things harder for admins label Nov 27, 2023
Copy link
Member

@fira fira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's minor but the order of closing tags is wrong, it should be <b><big>....</big></b>

code/modules/admin/verbs/pray.dm Outdated Show resolved Hide resolved
code/modules/admin/verbs/pray.dm Outdated Show resolved Hide resolved
code/modules/admin/verbs/pray.dm Outdated Show resolved Hide resolved
@silencer-pl
Copy link
Contributor Author

it's minor but the order of closing tags is wrong, it should be <b><big>....</big></b>

I could have sworn I did it like that :U, fixed

@silencer-pl
Copy link
Contributor Author

Whoops, stupid refresh lol.

log_admin(msg)
for(var/client/C in GLOB.admins)
if(AHOLD_IS_MOD(C.admin_holder) && C.prefs.toggles_chat & CHAT_PRAYER)
to_chat(C, msg)
C << 'sound/machines/terminal_alert.ogg'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does that work without the sound() ?

Copy link
Contributor Author

@silencer-pl silencer-pl Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it does. The USCM message does the same thing below and it also plays the sound.

Or well at least did when I tested it the few days ago before putting it up, I dont think anything has changed in how sounds are handled. I def tested, multiple times, because I wanted to be sure the sound isn't too jarring or annoying to prevent it being ignored or muted ;P

@Drulikar Drulikar added this pull request to the merge queue Dec 4, 2023
Merged via the queue into cmss13-devs:master with commit 040f0a3 Dec 4, 2023
26 checks passed
cm13-github added a commit that referenced this pull request Dec 4, 2023
@silencer-pl silencer-pl deleted the prayerbig branch December 11, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Make things harder for admins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants