feat(v0.97): Weather system, Master Clock save/load, Lang fix, Golden Statue 200d achievement

## 🌧️ WEATHER SYSTEM
- DayNightSystem: weather changes every morning at 06:00
- 30% chance of rain, calculated 1 day ahead
- Procedural rain visuals tied to actual weather state
- Radio [E] near tent shows tomorrow's forecast (Dark-Chibi Noir UI)

## 💧 WATER & FARMING
- WaterSystem: Rain Catcher capacity increased to 50L
- Auto-fill to 50L on rain days
- Auto-water all soilSlots on rain, auto-dry on sunny days

## 🌍 LOCALIZATION FIX
- Language button now switches instantly (no scene.restart() crash)
- All menu text (subtitle, tagline, settings) translates live
- localization.json: added menu_subtitle, menu_tagline, settings_info, settings_close for all 5 langs
- Settings button now opens real pop-up menu

## 🏆 GOLDEN STATUE (200 DAYS)
- _showAchievement() + _spawnGoldenStatue() methods
- Statue uses correct 2.5D physics: setOrigin(0.5,1.0), setDepth(y), collider
- _statueSpawned flag prevents duplicate spawns
- Post-load check: statue appears if save file has day >= 200

## 🗓️ MASTER CLOCK
- DayNightSystem: saveState()/loadState() via localStorage (key: nova_farma_time_save)
- Saves: day, year, hour, minute, todayWeather, tomorrowWeather
- Auto-save every in-game minute + on midnight + on sleep
- Year system: year increments every 120 days (Aging System hook)
- yearChanged event wired to UIScene + GrassScene

## 📊 HUD UPGRADE
- UIScene: yearText element (LETO 1) below dayText
- dayText uses i18n key, turns orange at day 190+ (pre-statue warning)
- gameState.year added

Build: v0.97 ALPHA - Master Clock Edition
This commit is contained in:
2026-04-27 00:00:53 +02:00
parent 325ed52479
commit 177d05e942
9 changed files with 487 additions and 52 deletions

View File

@@ -389,6 +389,11 @@ AKT 2-4 (Faza 1+): ░░░░░░░░░░ 0% (prihodnost)
---
*Posodobljeno: 2026-03-03 ob 13:19*
## 📅 UPDATE 26. April 2026 (23:25) - ZGODBA IN DOSTOPNOST
- **Twin Bond Signali:** Narejen `twinBondPulse` globalni event v `TwinBondSystem.js`. Sedaj obležijo podlago za komunikacijo! Če je vklopljen 'Deaf Mode', cel HUD zavibrira in se pobarva z *vijoličnim sijajem*. Progress 5% -> **20%**.
- **Flashback Memories:** Sprogramiran 'flashbackPulse' event v `AccessibilityManager.js`. Ob proženju se zgodi grozljiv 'Screen Glitch' (bel screen in hud Camera Shake 300ms), ki vizualno odlično ponazarja izgubo spomina (Amnezija). Progress 5% -> **15%**.
- **Pritisk Časa (Survival Lore):** Aktivirali in kalibrirali 20-minutni real-time Day/Night cikel ter 'Pass Out' kazen ob 2:00 zjutraj. Igralec končno začuti napetost noči in hudih zombijev, ki je osrčje Kaijeve situacije.
*Posodobljeno: 2026-04-26 ob 23:26*
*Za dialoge: `DEMO_FAZA1_NAPISI_DIALOGI.md`*
*Za full lore: `ZGODBA_CELOTNA.md`*