A random pull from the workshop, and temperaments on the scoresheet
The lobby's automaton row gains "random" (the server already rolled when no style was named — now the choice is offered). And each automaton's temperament shows beside its name on the in-game scoresheet in the handwritten face, so you always know whether the machine across the maze wants your gold or your blood. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
5a407a1e4c
commit
af75a024ff
@@ -1055,6 +1055,7 @@
|
|||||||
<button class="stamp tiny" onclick={() => net.addBot("hunter")}>hunter</button>
|
<button class="stamp tiny" onclick={() => net.addBot("hunter")}>hunter</button>
|
||||||
<button class="stamp tiny" onclick={() => net.addBot("berserker")}>berserker</button>
|
<button class="stamp tiny" onclick={() => net.addBot("berserker")}>berserker</button>
|
||||||
<button class="stamp tiny" onclick={() => net.addBot("worrier")}>worrier</button>
|
<button class="stamp tiny" onclick={() => net.addBot("worrier")}>worrier</button>
|
||||||
|
<button class="stamp tiny" onclick={() => net.addBot()}>random</button>
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
<label class="check">
|
<label class="check">
|
||||||
@@ -1164,7 +1165,10 @@
|
|||||||
{#each view.players as p (p.id)}
|
{#each view.players as p (p.id)}
|
||||||
<div class="score-row" class:dead={!p.alive} class:active={p.id === view.activePlayerId}>
|
<div class="score-row" class:dead={!p.alive} class:active={p.id === view.activePlayerId}>
|
||||||
<span class="dot" style:background={playerColor(p.id)}></span>
|
<span class="dot" style:background={playerColor(p.id)}></span>
|
||||||
<span class="score-name">{p.id}{p.id === view.you ? " (you)" : ""}</span>
|
<span class="score-name">
|
||||||
|
{p.id}{p.id === view.you ? " (you)" : ""}{#if net.roomBots[p.id]}
|
||||||
|
<span class="score-temper">⚙ {net.roomBots[p.id]}</span>{/if}
|
||||||
|
</span>
|
||||||
<span class="score-life">{p.life}</span>
|
<span class="score-life">{p.life}</span>
|
||||||
<span class="score-marks">
|
<span class="score-marks">
|
||||||
{p.handCount} cards{#if p.lostTurns > 0} · dazed {p.lostTurns}{/if}{#if p.carriedTreasureId} · 💰{/if}
|
{p.handCount} cards{#if p.lostTurns > 0} · dazed {p.lostTurns}{/if}{#if p.carriedTreasureId} · 💰{/if}
|
||||||
@@ -1839,6 +1843,12 @@
|
|||||||
}
|
}
|
||||||
.slip.creature-note { background: #e7edda; border-color: #7d8a5a; }
|
.slip.creature-note { background: #e7edda; border-color: #7d8a5a; }
|
||||||
.score-row.active .score-name { font-weight: 700; }
|
.score-row.active .score-name { font-weight: 700; }
|
||||||
|
.score-temper {
|
||||||
|
font-family: "Caveat", cursive;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: #8a7a5e;
|
||||||
|
margin-left: 0.25rem;
|
||||||
|
}
|
||||||
.table-cards {
|
.table-cards {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
Reference in New Issue
Block a user