Repository navigation
Archipelago: songs no longer send their own spot, keys can go to other worlds - #135
Merged
Merged
Conversation
…r worlds Song and NPC gift checks were seen through HavePlayedGetEvent.<item>, which the game sets whenever that item's get plays, wherever it came from. A Song of Time from another world sent "Song from Ocarina of Time", and a gift spot holding another item never sent its check. Item get flags no longer count as a location's detection, so those 85 spots hold own items only, and the client drops them from older rooms' slot data too. Dungeon items set to Anywhere now go into the shared pool. The mailbox hands a received small key, boss key, map or compass over with the get window and the credit a credited chest makes (crate::gift_keys::credit), and the build stages the dungeon lines those items name. Hideout keys and key rings stay local. Tested: core ap:: (47), slice::edit and gift_keys tests, a keysanity room with five keys in another world builds (give flow and dungeon lines checked in the built mod) and passes the server test 6 of 6, and the 15-room preset sweep generates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two Archipelago fixes from the first rooms (reported in nightly-discussion and the key report).
1. Getting a song sent that song's own check. Song, Sheik, NPC gift and boss reward checks were detected through
HavePlayedGetEvent.<item>, a flag the game sets whenever that item's get plays, wherever it came from. A Song of Time received from another world sent "Song from Ocarina of Time", and a gift spot holding another item never sent its check at all.ap::export::location_flag). Those 85 spots now hold only the slot's own items, which the game gives as usual, until they get a flag of their own.2. Keys were always in the player's own world. Dungeon items were refused by the mailbox and marked local.
gift_keys::credit: the dungeon's key count and flags, then the line naming the dungeon). The build stages those dungeon lines for received items too.Tested
ap::tests (47, with new ones for key records, key locality and detection),slice::editandgift_keys.ap-buildsucceeds, the builtDm_SY_GetInEventholds window, credit and dungeon line for each key, the dungeon lines are in the mod's text, and the server test hands over 6 of 6.🤖 Generated with Claude Code