Commit Graph

4 Commits

Author SHA1 Message Date
177d05e942 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
2026-04-27 00:00:53 +02:00
d3a93b6e7b 🎉 SESSION COMPLETE - Final Save
FINAL SESSION COMMIT:
Date: 2026-02-11 00:17
Duration: 6+ hours
Assets: 23 generated

ALL FILES SAVED:
 23 asset files (Characters + Environment + References)
 Rain system code (GrassScene_Clean.js)
 Documentation (MASTER_GAME_BIBLE.md)
 Diary (MASTER_DNEVNIK)
 Removed old vegetation assets

PROGRESS: 14.4% (23/160)

NEXT SESSION:
- Kai death animation
- Kai tool animations
- Batch 4: Polaroid intro

Session End: 2026-02-11 00:17
Everything saved and committed! ��
2026-02-11 00:17:17 +01:00
7b8194caca Asset Analysis Complete + Generation Plan 2026-02-10 17:27:01 +01:00
2669a435eb docs: clean start 30.1.2026 - updated master diary and bible, renamed project 2026-01-30 21:03:47 +01:00