Files
novafarma/nova farma TRAE/public/assets/localization.json
David Kotnik 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

118 lines
5.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"sl": {
"menu_play": "IGRAJ",
"menu_options": "NASTAVITVE",
"menu_exit": "IZHOD",
"lang_btn": "JEZIK: SL",
"acc_menu": "MENI ZA DOSTOPNOST",
"acc_deaf": "🔊 Vizualna Opozorila (Deaf Mode)",
"acc_autism": "⚡ Senzorni Način (Reduce Motion)",
"acc_adhd": "🎯 Zen/ADHD Način (Fokus Cilja)",
"acc_font": "🔎 Povečana Pisava",
"acc_contrast": "🔲 Visok Kontrast",
"acc_colorblind": "👁️ Filter Barvne Slepote",
"acc_onehand": "🕹️ Enoročni Način",
"acc_close": "[ X ZAPRI ]",
"day": "DAN",
"map": "MAPA",
"crafting": "CRAFTING",
"adhd_goal": "⬇️ TVOJ TRENUTNI CILJ: ZALIJ PŠENICO! ⬇️",
"menu_subtitle": "KRVAVA ŽETEV",
"menu_tagline": "\"Preživi. Najdi jo. Ne pozabi.\"",
"settings_info": "Nastavitve dostopnosti se nahajajo\nv sami igri (Meni gumb zgoraj desno).\n\nTukaj lahko preklapljaš samo Jezik.",
"settings_close": "ZAPRI"
},
"en": {
"menu_play": "PLAY",
"menu_options": "OPTIONS",
"menu_exit": "EXIT",
"lang_btn": "LANGUAGE: EN",
"acc_menu": "ACCESSIBILITY MENU",
"acc_deaf": "🔊 Visual Alerts (Deaf Mode)",
"acc_autism": "⚡ Sensory Mode (Reduce Motion)",
"acc_adhd": "🎯 Zen/ADHD Mode (Goal Focus)",
"acc_font": "🔎 Large Font",
"acc_contrast": "🔲 High Contrast",
"acc_colorblind": "👁️ Colorblind Filter",
"acc_onehand": "🕹️ One-handed Mode",
"acc_close": "[ X CLOSE ]",
"day": "DAY",
"map": "MAP",
"crafting": "CRAFTING",
"adhd_goal": "⬇️ YOUR CURRENT GOAL: WATER THE WHEAT! ⬇️",
"menu_subtitle": "BLOOD HARVEST",
"menu_tagline": "\"Survive. Find her. Don't forget.\"",
"settings_info": "Accessibility settings are located\ninside the game (Menu button top right).\n\nHere you can only change Language.",
"settings_close": "CLOSE"
},
"de": {
"menu_play": "SPIELEN",
"menu_options": "OPTIONEN",
"menu_exit": "BEENDEN",
"lang_btn": "SPRACHE: DE",
"acc_menu": "BARRIEREFREIHEITS-MENÜ",
"acc_deaf": "🔊 Visuelle Alarme (Gehörlosenmodus)",
"acc_autism": "⚡ Sensibler Modus (Weniger Bewegung)",
"acc_adhd": "🎯 Zen/ADHD-Modus (Zielfokus)",
"acc_font": "🔎 Große Schrift",
"acc_contrast": "🔲 Hoher Kontrast",
"acc_colorblind": "👁️ Farbenblind-Filter",
"acc_onehand": "🕹️ Einhandmodus",
"acc_close": "[ X SCHLIESSEN ]",
"day": "TAG",
"map": "KARTE",
"crafting": "HERSTELLUNG",
"adhd_goal": "⬇️ DEIN AKTUELLES ZIEL: WEIZEN GIESSEN! ⬇️",
"menu_subtitle": "BLUTERNTE",
"menu_tagline": "\"Überlebe. Finde sie. Vergiss nicht.\"",
"settings_info": "Barrierefreiheitseinstellungen befinden sich\nim Spiel (Menü-Taste oben rechts).\n\nHier können Sie nur die Sprache ändern.",
"settings_close": "SCHLIESSEN"
},
"it": {
"menu_play": "GIOCA",
"menu_options": "OPZIONI",
"menu_exit": "ESCI",
"lang_btn": "LINGUA: IT",
"acc_menu": "MENU ACCESSIBILITÀ",
"acc_deaf": "🔊 Avvisi Visivi (Modalità Sordi)",
"acc_autism": "⚡ Modalità Sensoriale (Riduci Movimento)",
"acc_adhd": "🎯 Modalità Zen/ADHD (Focus Obiettivo)",
"acc_font": "🔎 Carattere Grande",
"acc_contrast": "🔲 Alto Contrasto",
"acc_colorblind": "👁️ Filtro Daltonismo",
"acc_onehand": "🕹️ Modalità Una Mano",
"acc_close": "[ X CHIUDI ]",
"day": "GIORNO",
"map": "MAPPA",
"crafting": "CREAZIONE",
"adhd_goal": "⬇️ IL TUO OBIETTIVO ATTUALE: ANNAFFIA IL GRANO! ⬇️",
"menu_subtitle": "RACCOLTO DI SANGUE",
"menu_tagline": "\"Sopravvivi. Trovala. Non dimenticare.\"",
"settings_info": "Le impostazioni di accessibilità si trovano\nall'interno del gioco (tasto Menu in alto a destra).\n\nQui puoi cambiare solo la Lingua.",
"settings_close": "CHIUDI"
},
"cn": {
"menu_play": "开始游戏",
"menu_options": "设置",
"menu_exit": "退出",
"lang_btn": "语言: CN",
"acc_menu": "无障碍菜单",
"acc_deaf": "🔊 视觉警报 (聋人模式)",
"acc_autism": "⚡ 感觉模式 (减少动画)",
"acc_adhd": "🎯 禅/ADHD模式 (目标专注)",
"acc_font": "🔎 大字体",
"acc_contrast": "🔲 高对比度",
"acc_colorblind": "👁️ 色盲滤镜",
"acc_onehand": "🕹️ 单手模式",
"acc_close": "[ X 关闭 ]",
"day": "天",
"map": "地图",
"crafting": "制作",
"adhd_goal": "⬇️ 你当前的目标:浇灌小麦! ⬇️",
"menu_subtitle": "血腥收获",
"menu_tagline": "\"生存。找到她。别忘了。\"",
"settings_info": "无障碍设置位于\n游戏内部右上角菜单按钮。\n\n在这里你只能更改语言。",
"settings_close": "关闭"
}
}