Creatures step through board-edge warps by click, like wizards

The engine always warped a creature marched off a lettered opening —
verified headless — but the table offered no way to ask for it: cell
clicks for a selected creature matched only geometric neighbors, and
the warp arrows moved only your wizard. Now a selected creature
standing on an opening lights the arrow (and, per the existing cue,
its destination), the arrow marches the creature through, and
clicking the far mouth directly does the same.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Eric WagonerandClaude Fable 5 committed 2026-08-16 10:46:35 -04:00
1 parent c4dafe1df7
commit 6e6691c6c0
2 files changed
+16 -4

No files matched your search

+3 -1
View File
@@ -329,7 +329,9 @@
{@const wy = w.from.cell.y * CELL + CELL / 2 +
(w.from.side === "S" ? CELL * 0.42 : w.from.side === "N" ? -CELL * 0.42 : 0)}
{@const standing = view.players.some((p) =>
p.id === view.you && p.position.x === w.from.cell.x && p.position.y === w.from.cell.y)}
p.id === view.you && p.position.x === w.from.cell.x && p.position.y === w.from.cell.y) ||
view.creatures.some((c) => c.id === selectedCreatureId &&
c.position.x === w.from.cell.x && c.position.y === w.from.cell.y)}
{@const letter = warpLetters.get(`${w.from.cell.x},${w.from.cell.y}`) ?? ""}
<g
class="warp-g" class:standing