Remove finished work orders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
be478f3b2e
commit
6883b707ad
4 changed files with 28 additions and 2 deletions
2
app.py
2
app.py
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue