Roster shows who's online

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-26 16:53:31 +00:00
parent f735831a1e
commit 718e440e2b
4 changed files with 19 additions and 5 deletions

1
app.py
View file

@ -217,6 +217,7 @@ def roster(world: dict, now: float) -> list[dict]:
"party": (player["action"] or {}).get("party"),
"garrison": player["garrison"], "donated": player["donated"],
"look": game.look_view(player),
"seen": int(player["last_active"]),
})
return sorted(people, key=lambda p: -p["donated"])