Work orders: gather straight into the order
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5809be59de
commit
450abc9be9
4 changed files with 79 additions and 19 deletions
2
app.py
2
app.py
|
|
@ -451,7 +451,7 @@ class Handler(BaseHTTPRequestHandler):
|
|||
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)
|
||||
return game.work_order(world, player, body.get("id"), now, str(body["via"]) if body.get("via") else None)
|
||||
if path == "/api/order/drop":
|
||||
return game.drop_order(world, player, body.get("id"), now)
|
||||
if path == "/api/order/deliver":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue