Track a recipe under the top bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
722cf0b382
commit
a86594594a
5 changed files with 67 additions and 6 deletions
2
app.py
2
app.py
|
|
@ -413,6 +413,8 @@ class Handler(BaseHTTPRequestHandler):
|
|||
return game.buy_perk(player, str(body.get("perk")))
|
||||
if path == "/api/pin":
|
||||
return game.toggle_pin(player, str(body.get("skill")))
|
||||
if path == "/api/track":
|
||||
return game.toggle_track(player, str(body.get("id")))
|
||||
if path == "/api/settings":
|
||||
if body.get("overflow") not in ("city", "stop"):
|
||||
return "Bad setting"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue