{#each crew as p (p.id)}
openTargetId = p.id} > {#if isDeep && p.role === 'pirat'}
{hasBeenChallenged(p) ? 'โ' : 'โ'}
{/if}
{roleIcon(p)}
{crewLabel(p, captainId)}
{#if p.role === 'deep'}Deep{:else}Rank {p.rank}{/if} ยท ๐ {handSize(p)}
{/each}
showObjectives = !showObjectives} >
{showObjectives ? 'โพ' : 'โธ'} Crew Objectives
{crewDone}/3
{#if showObjectives}
{#if objError}
{objError}
{/if}
toggleCrew('crew_1')}>
Steal a Ship
toggleCrew('crew_2')}>
Choose a Captain
toggleCrew('crew_3')}>
Commit Piracy
{#if isDeep}
As the Deep, tick these off as the crew earns them.
{/if}
{/if}
{#if openTarget}
openTargetId = null} /> {/if}