Remove finished work orders

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-20 20:11:11 +01:00
parent be478f3b2e
commit 6883b707ad
4 changed files with 28 additions and 2 deletions

2
app.py
View file

@ -330,6 +330,8 @@ class Handler(BaseHTTPRequestHandler):
return game.provide_reagent(world, player, body.get("id"), str(item))
if path == "/api/order/cancel":
return game.cancel_order(world, player, body.get("id"), now)
if path == "/api/order/remove":
return game.remove_orders(world, player, body.get("id"))
if path == "/api/order/work":
return game.work_order(world, player, body.get("id"), now)
if path == "/api/order/drop":