diff --git a/packages/web/src/App.svelte b/packages/web/src/App.svelte index 405204f..2bfe587 100644 --- a/packages/web/src/App.svelte +++ b/packages/web/src/App.svelte @@ -1914,8 +1914,7 @@ onbody={(id) => (fpvBody = id)} onWarpStep={(creatureId) => dispatch(creatureId ? { type: "creatureWarpStep", creatureId } - : { type: "warpStep" })} - targeting={!!selectedCard && yourMoment} /> + : { type: "warpStep" })} /> {/if} void) | null; - /** A card is aimed: the drive strips yield the glass so every pixel - * hovers and clicks as a target (keys still steer). */ - targeting?: boolean; } = $props(); const povId = $derived(view.you); @@ -427,36 +424,22 @@ {#if me}
- - - - - - {#if canStride} - - -
← → turn · ↑ ↓ walk
- {/if} - {#if possessed} -
+ +
+ {#if possessed} riding the {possessed.kind.replace(/-/g, " ")} {Math.max(0, possessed.movesPerTurn - possessed.movementUsed)} moves{possessed.attackUsed ? "" : " · claws ready"} -
- {:else if rideable.length > 0 && (onCreatureMove || onCreatureAttack)} -
+ {:else if rideable.length > 0 && (onCreatureMove || onCreatureAttack)} {#each rideable as c (c.id)} {/each} -
- {/if} - {#if withYou.length > 0} -
+ {/if} + + {#if withYou.length > 0} sharing your square {#each withYou as body (body.id)} {/each} -
- {/if} - {#if canStride && ((!possessed && atFeet.length > 0) || underfoot.hazard || underfoot.warpHere)} -
+ {/if} + +
+
+ + + +
+
+ {#if canStride} + + + {/if} + {#if canStride && ((!possessed && atFeet.length > 0) || underfoot.hazard || underfoot.warpHere)} at your feet {#if !possessed && onpickup} {#each atFeet as item (item.id)} @@ -487,74 +483,63 @@ {#if underfoot.warpHere && onWarpStep} {/if} -
- {/if} + {/if} + + ← → turn · ↑ ↓ walk +
{/if}