feat(packages): ludic.session - a party's roster (slot 0 a port, the others as reported), the roles and who owns the world, the shared night, votes and a world-changing act asking the party; joins, leaves, roles, votes and the night as facts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 07:45:26 +03:00
parent 12172d7b75
commit 79ed7a335b
12 changed files with 707 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# vote_state.ludic - the vote as it stands
export function ses_vote_live() -> bool { return session__vote_t > 0.0 }
export function ses_vote_id() -> int { return session__vote_id }
export function ses_vote_kind() -> int { return session__vote_kind }
export function ses_vote_text() -> string { return session__vote_text }
export function ses_vote_left() -> float { return session__vote_t }
export function ses_vote_yes() -> int { return session__vote_yes }
export function ses_vote_no() -> int { return session__vote_no }
export function ses_vote_mine() -> int { return session__vote_mine }
export function ses_vote_passed() -> int { return session__vote_passed }