Repository navigation
Keep a scripted room's map exits out of the room - #3279
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
erwan-joly
force-pushed
the
claude/project-thread-mqdroo
branch
2 times, most recently
from
November 15, 2026 02:08
1418665 to
3ac3b4e
Compare
A time-space or raid room built on a world map took that map's portals, so walking onto one left the run through the open world instead of its own exit, without the dignity or party life that giving up costs. Rooms now only have the portals their script spawns. Fixes #3266 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkUqFCfmmNR3v3TbUCA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014gSmkUqFCfmmNR3v3TbUCA
erwan-joly
force-pushed
the
claude/project-thread-mqdroo
branch
from
November 15, 2026 02:34
3ac3b4e to
cb22bd3
Compare
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.
Requested by Erwan · project thread
Fixes #3266
What was wrong
A time-space or raid room built on a world map took every portal of that map. In the sample time-space on Chicken Farm Path, the map's ring to NosVille sat just south of the start spot. Walking onto it sent the player back to the open world through the ordinary portal path, so they left the run without paying dignity or a party life, and the run went on without them.
What changes
IMapInstanceGeneratorService.AddMapInstanceAsynctakeswithMapPortals(defaulttrue, so base maps and minilands are unchanged).ScriptedInstanceServicebuilds its rooms withfalse, so a room only has the portals its script spawns.Tests
MapInstanceLifeTests.AnAddedMapTakesItsMapsWorldPortalsandAMapAddedWithoutMapPortalsHasNoneScriptedInstanceServiceTests.RoomsDoNotTakeTheirMapsWorldPortalsAsyncIn the client
Time-space
timespace-01on Chicken Farm Path, entered from its stone, then a click on the ring's cell.master: inside the time-space room, the Chicken Farm Path ring sits south of the player

master: after clicking the ring, the player is back on the open map at the stone, the time-space clock still running

branch: inside the room, no ring south of the player; the script's padlocked portal stands on the east

branch: after clicking the same cell, the player is still in the room with its monsters

Manual checks
Added under "Inside a time-space" in
documentation/manual-test-plan.md:Not checked here: a raid room. It goes through the same
ScriptedInstanceServicecall.Generated by Claude Code