Add Tensies Attitude System (TAS)#49
Open
radiantnode wants to merge 2 commits into
Open
Conversation
TAS gives the game a personality that heckles or cheers players after each roll. Mood is secretly derived from weather + air quality at the server's location via Open-Meteo; snarkiness is a global config. - DB-backed phrases (tas_phrases) with generic phrase_type schema - Creative briefs (tas_personas) for each mood × snarkiness combo - 731 roll_heckle phrases across 15 moods × 4 snarkiness levels - Per-player recently-seen tracking to avoid repeats - ~40% fire rate so commentary feels sporadic, not constant - Skips commentary on round-winning rolls (overlay handles those) - Commentary floats above roll button with dark radial glow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move commentary to game-screen (out of roll-area) so it doesn't affect dice zone layout - Account for safe-area-inset-bottom for PWA - White text, larger font, darker radial glow - Clear commentary on roll start - Add docs/TENSIES_ATTITUDE_SYSTEM.md with Mermaid architecture diagram Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
phrase_typeschema for future expansion beyondroll_heckletas_personas) for each mood × snarkiness combo to guide phrase generationTest plan
TAS_LAT/TAS_LONset, confirm weather fetch + mood in logsTAS_SNARKINESSvalues (friendly_drunk, insufferable, angry_mean, loud_obnoxious)TAS_LAT/TAS_LON— confirm neutral mood, no errors🤖 Generated with Claude Code