Queue: no length cap, make up to 9,999
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d564164edf
commit
a723558fb2
4 changed files with 10 additions and 13 deletions
|
|
@ -805,7 +805,7 @@ function queuePanel() {
|
|||
<button class="btn sm danger" data-unqueue="${i}" title="Remove">✕</button></li>`;
|
||||
}).join("");
|
||||
return `<div class="queue-panel">
|
||||
<div class="qp-head"><b>⏳ Crafting queue</b><span class="muted small">${q.length} / ${C.queue_max}</span><button class="x" data-queue-menu title="Close">✕</button></div>
|
||||
<div class="qp-head"><b>⏳ Crafting queue</b><span class="muted small">${q.length}</span><button class="x" data-queue-menu title="Close">✕</button></div>
|
||||
${now ? `<div class="qp-row now">${now.icon}<span class="qp-name">${esc(now.name)}<span class="muted small">${fmt(me.action.left)} left</span></span>
|
||||
<button class="btn sm" data-queue-skip title="Drop this make, on to the next">Skip</button></div>` : ""}
|
||||
${rows ? `<ol class="qp-list">${rows}</ol>` : `<p class="muted small">Empty. +Q on a recipe adds to it.</p>`}
|
||||
|
|
@ -1744,8 +1744,8 @@ function actionCard(a) {
|
|||
// or with nothing being made, start one: whatever you were doing is what comes after.
|
||||
const making = Boolean(me.action?.left);
|
||||
const canQueue = !active && me.queue_why[a.id] === null;
|
||||
const queueOff = making ? me.queue.length >= C.queue_max : Boolean(why);
|
||||
const queueTitle = making ? (queueOff ? `Queue full (${C.queue_max})` : "Queue: make this many after the current make")
|
||||
const queueOff = !making && Boolean(why);
|
||||
const queueTitle = making ? "Queue: make this many after the current make"
|
||||
: why || "Make this many, then queue more behind it";
|
||||
const queued = me.queue.map((q, i) => q.id === a.id ? i + 1 : 0).filter(Boolean);
|
||||
const out = Object.keys(a.outputs)[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue