Add second slot to two-by-two-table, server-closet, the-archive#43
Merged
Conversation
…two slots Same pattern as office.pitch-wall — keep the existing position as slot "" (backward compat for MDXs without a slotId frontmatter) and add a second walkable slot each. Unblocks bookface-town's positioning, growthfloor, and customerlab, which each pair a specialist with a challenger and were hitting the new slot-collision error. - office.two-by-two-table: add "second" at (11, 5) — walkable strip next to plant snake. - workshop.the-server-closet: add "second" at (8, 4) — visually at the middle workstation feet. - library.the-archive: add "second" at (10, 7) — at the second reading table row. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 task
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.
Summary
Follow-up to #42. The slot-collision validator caught the same pattern in three more catalog variants that ship a single
npcPosition— any town pairing two NPCs in a positioning room, a growth war-room, or an archive would hit "collides with npcs[N]" on the second MDX.Same pattern as
office.pitch-wall: keep the existing tile as slot""(single-NPC MDXs stay bound to the same visual position) and add one"second"slot per variant on a walkable tile.office.two-by-two-table— adds"second"at(11, 5). Row 5 walkable between the middle workstation (cols 7-8) and the right one (cols 12-13); plant snake (cols 10-11) ends at row 4.workshop.the-server-closet— adds"second"at(8, 4). Middle workstation feet — mirrors the existing(13, 4)position on the right workstation.library.the-archive— adds"second"at(10, 7). Second reading table on row 7, well inside the LIBRARY walkable rect.Effect on bookface-town
After this + slotId edits on the MDXs, the four multi-NPC buildings render everyone:
"", pgleft, seibelright"", Mayasecond"", Priyasecond"", Dr. NovaksecondTest plan
node -e "require(...)").slotId: secondtometrics-mirror.mdx(Priya),one-liner.mdx(Maya),user-interview.mdx(Dr. Novak) — passes the validator.🤖 Generated with Claude Code