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

SNIClient, ALttP: Add "death_text" to SNIContext's handle_deathlink_state #1793

Merged
merged 11 commits into from
Oct 31, 2023

Conversation

Silvris
Copy link
Collaborator

@Silvris Silvris commented May 6, 2023

Please format your title with what portion of the project this pull request is
targeting and what it's changing.

ex. "MyGame4: implement new game" or "Docs: add new guide for customizing MyGame3"

What is this fixing or adding?

Adds a new argument to SNIContext's "handle_deathlink_state" that is then fed into "send_death", allowing worlds utilizing SNIClient to set custom deathlink messages.

This also includes a change to ALttP to utilize this new argument.

How was this tested?

Manually, by generating a multiworld with ALttP and Super Metroid, both with deathlink enabled. Confirmed that the ALttP player's deathlinks sent with the custom message, while the Super Metroid player's deathlinks sent with the default "" (appearing as "Received from Player2").

No automated testing was added.

If this makes graphical changes, please attach screenshots.

image

@ThePhar ThePhar added is: enhancement Issues requesting new features or pull requests implementing new features. affects: core Issues/PRs that touch core and may need additional validation. labels May 31, 2023
@ThePhar ThePhar requested a review from Berserker66 July 19, 2023 02:23
@Berserker66 Berserker66 merged commit d2c541c into ArchipelagoMW:main Oct 31, 2023
11 checks passed
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
@Silvris Silvris deleted the sni_death_text branch April 16, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants