Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@ynot01
Copy link
Contributor

@ynot01 ynot01 commented May 13, 2022

Document the changes in your pull request

Well this started out as a simple bugfix and I realized this was all over the damn place.

A lot of places used to_chat(world which sends a message to ALL CONNECTED PLAYERS including ones in the lobby. This has been substituted with the proper send_to_playing_players.

Other places would SEND_SOUND to all players, and this was changed to the proper sound_to_playing_players.

Along the way I found some debug messages that were left in to_chat(world so in the off chance that something went wrong and they actually PLAYED, all players would get lover != Brutus or uh oh, stinky!! in their chat. Very cool.

Some places were intentionally left out, particularly the Blob and Malf victory messages. As this ends the round instantly, and Jamie says not to touch it, it seems reasonable to me to keep it there and let lobby players know what happened. Until a maintainer says that shitting up the lobby chat is a bad idea, of course.
to_chat(world, "<B>[real_name] consumed the station in an unstoppable tide!</B>")
to_chat(world, "<B>The AI cleansed the station of life with the doomsday device!</B>")

There's a lot of other debug stuff in here but it seems pretty technical like savefile stuff so I'm not going to touch it until someone says to.

Closes #14133

Changelog

🆑
bugfix: Fixed darkspawn force divulge being shown to lobby players
bugfix: Fixed darkspawn sacrament noise being heard by lobby players
bugfix: Fixed shadowling ascendant death being shown to lobby players
bugfix: Fixed shadowling ascend message being shown to lobby players
bugfix: Fixed shadowling ascend noise being heard by lobby players
bugfix: Fixed a particular cult god fight being shown to lobby players
bugfix: Fixed Gamma & Epsilon alerts being heard by lobby players
bugfix: Fixed Epsilon alert giving lobby players a bad feeling
/:cl:

ynot01 added 2 commits May 13, 2022 18:26
instead of "to_chat(world" use send_to_playing_players

instead of SEND_SOUND to everyone that exists use sound_to_playing_players

and use debug_world instead of random "to_chat(world" in the case that something goes wrong...
@Yogbot-13 Yogbot-13 added the Fix This fixes an issue. Please link issues in fix PRs label May 13, 2022
@ynot01 ynot01 requested a review from Bibby0110 May 19, 2022 22:18
@bruhlookatthisdood
Copy link
Contributor

will this change people off the Z level getting station announcments?
like the old crew hearing about the shuttle, or announcments, or nar nar rising up?

@ynot01
Copy link
Contributor Author

ynot01 commented May 20, 2022

will this change people off the Z level getting station announcements

No

@JamieD1 JamieD1 merged commit c342b70 into yogstation13:master May 22, 2022
Yogbot-13 added a commit that referenced this pull request May 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Fix This fixes an issue. Please link issues in fix PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Darkspawn mindlink test in lobby

5 participants