Repository navigation
Archipelago: skulltula hashes, cosmetics in AP mods, Plandomizer in rooms - #138
Merged
Merged
Conversation
data/locations.json has 24 Gold Skulltula hashes swapped in cycles (each row holds another Skulltula's hash, for example Fire Temple GS Boulder Maze holds Scarecrow Top's). Detect::of took a Skulltula's keys from those catalog refs, so in 0.9.0-nightly.20261125.14 one kill could send another spot's check. Detect::shared already dropped them in .15 because two spots named each one, which kept detection right only by accident. Detect::of now takes a Skulltula's keys and IsGoldSkullDead flags from skull_names::hashes, the table the build uses, and no longer reads its catalog refs. A test checks all 96 Skulltulas keep their hash, unshared. Found by the bug review of the main bug-reports forum (wave7 bugreview). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Frisson: "the tunic color is still default" and "plandomizer seems to not work".
- api_ap::build drew the title line but never ran cosmetic::apply, and the
page sent no colours, music or sound effects. The cosmetics parse moves
out of api_build::plan into api_build::cosmetics, the Archipelago build
uses it (and loads the sound files when music or sounds shuffle), and the
page sends the Cosmetics page choices like Generate does.
- The player file carried only the preset or settings string, so the app's
Plandomizer never reached the room, and Archipelago's plando_items is off
unless the host enables it. The player file now writes the entries as
the apworld's own ootrr_plando option, which create_items places as
locked own items after checking the location is shuffled, the item is in
the pool and OOTRR allows it there.
Tested: ootrr-web (247), a room with ootrr_plando generates with AP item
plando off and the spoiler shows both entries, a bad entry stops with a
clear message, an app build from a .apootrr with a custom Kokiri tunic
runs the cosmetics step ("Changed: Kokiri tunic #FF00FF"), and the app's
player file includes the entries.
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.
Three Archipelago fixes found after nightly 0.9.0-nightly.20261125.15.
data/locations.jsoncarry another skulltula's hash, so the client watched the wrong token for them. Detection now takes the hashes fromskull_names::hashes, the same source the build writes. Test:every_skulltula_is_seen_through_the_hash_the_build_uses.api_build::cosmeticsis now shared, and the AP build runscosmetic::applywhen anything is set. Checked with a real AP build: "Changed: Kokiri tunic #FF00FF".ootrr_plandooption, and the OOTRR world places them increate_items. This works with the host's Archipelago item plando off (its default). A bad entry stops generation with a clear message. Players need to make the player file again.Tests: core
ap::51 passed, web 247 passed, after rebasing on c102b68. Not checked in game.🤖 Generated with Claude Code