Work orders keep the crafting queue

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-28 12:14:18 +00:00
parent 97ef606bbf
commit 70be493558
4 changed files with 52 additions and 13 deletions

2
app.py
View file

@ -419,7 +419,7 @@ class Handler(BaseHTTPRequestHandler):
if path == "/api/order/work":
return game.work_order(world, player, body.get("id"), now)
if path == "/api/order/drop":
return game.claim_order(world, player, body.get("id"), claim=False)
return game.drop_order(world, player, body.get("id"), now)
if path == "/api/order/deliver":
return game.deliver_order(world, player, body.get("id"), now)
if path == "/api/seen":