Show a full reserve count on the Sokko TCG menu icon and remaining openings while opening a pack

A gold count now sits on the Sokko TCG menu icon while the opening reserve is
full, so players notice it from any page. A light reserve route keeps it up to
date outside the game, and the game page updates it with every state it gets.
The opening stage also lists the remaining openings, apart for the automatic
recharge and for openings bought one at a time, since the sidebar reserve is
hidden there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-07 23:16:47 +01:00
parent 2231bf05e1
commit 498e171bc3
14 changed files with 186 additions and 4 deletions

View file

@ -8,6 +8,7 @@
"toolboxes": "Toolboxes",
"games": "Jeux",
"cards": "Sokko TCG",
"cardsReserveFull": "réserve d’ouvertures pleine",
"library": "Librairie",
"about": "C'est quoi Sokko G ?"
},
@ -201,6 +202,9 @@
"probabilities": "Probabilités",
"back": "Retour",
"openAnother": "Ouvrir un autre paquet de la même collection",
"remainingLabel": "Ouvertures restantes",
"remainingReserve": "Recharge auto",
"remainingPurchased": "À l’unité",
"newBadge": "New",
"shopShare": "des légendaires et mythiques tirées viennent de",
"purchasedLabel": "Ouvertures achetées",