mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 08:52:42 +00:00
Add masterwork rework, arena combat log, Death's Reprieve fix, and wordle improvements
Adventure — Masterwork Rework: - Expand from 3 generic items to 15 tiered masterwork items across mining (weapon), fishing (armor), and foraging (boots) with per-tier drop rates (5%/4%/3%/2%/1.5%) and location gating - Skill-specific cross-skill bonuses replace flat masterwork check - Auto-equip if better, silent discard for duplicates, inventory for rest - Add !adventure equip command for manual masterwork equipping - Tiered room announcements: T1-2 DM only, T3 quiet, T4-5 full - First-drop detection with special message - Character sheet shows ⭐/⚔️ markers for masterwork/arena gear - Sell protection for special gear in shop Adventure — Arena Combat Log: - Turn-based Dragon Quest style narrative for arena fights - Outcome-first design: roll determines win/loss, log assembled backward - No-repeat flavor text via actionPicker with per-pool tracking - 60 participation XP on arena loss Adventure — Death's Reprieve Fix: - All equipment set to 1 condition instead of death-level degradation Wordle: - Refactored word sourcing and expanded fallback word list - Simplified Wordnik integration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,16 @@ type WordleGuess struct {
|
||||
Timestamp time.Time
|
||||
}
|
||||
|
||||
// WordleCategory identifies the language/category of a puzzle.
|
||||
type WordleCategory string
|
||||
|
||||
const (
|
||||
WordleCategoryEN WordleCategory = "" // English (default)
|
||||
WordleCategoryPT WordleCategory = "pt" // European Portuguese
|
||||
WordleCategoryFR WordleCategory = "fr" // French
|
||||
WordleCategoryGames WordleCategory = "games" // Video game words (English)
|
||||
)
|
||||
|
||||
// WordlePuzzle holds all state for one day's puzzle.
|
||||
type WordlePuzzle struct {
|
||||
PuzzleID string // YYYY-MM-DD
|
||||
@@ -32,6 +42,7 @@ type WordlePuzzle struct {
|
||||
Answer string // uppercased
|
||||
WordLength int
|
||||
MaxGuesses int // always 6
|
||||
Category WordleCategory
|
||||
Guesses []WordleGuess
|
||||
Solved bool
|
||||
Failed bool
|
||||
|
||||
Reference in New Issue
Block a user