Enhance animal genetics and UI for feeding styles

- Added "GeneFeedingStyle" to animal definitions, allowing for varied feeding behaviors (grazing vs. gorging).
- Updated animal JSON files to include feeding style genes with appropriate values.
- Enhanced UI localization for feeding styles in both English and Russian, providing clearer descriptions and inspection options.
- Introduced new event logging features in the world scene to track animal behaviors related to feeding.
- Improved animal decision-making systems to utilize the new feeding style attributes for more dynamic behavior.

This update aims to enrich gameplay by introducing more nuanced animal behaviors and enhancing the user interface for better clarity and interaction.
This commit is contained in:
Leonid Pershin
2026-06-16 14:27:46 +03:00
parent 92d0302138
commit d0a0714563
24 changed files with 1825 additions and 256 deletions
+36
View File
@@ -196,6 +196,42 @@
"thought.gaveBirth": "родила потомство",
"thought.mated": "спарилась",
"thought.quenchedThirst": "напилась вволю",
"gene.feedingStyle": "стиль питания",
"inspect.animal.feeding": "Питание: {0}",
"feeding.gorge": "обжора (редко, до отвала)",
"feeding.graze": "пастьба (часто, понемногу)",
"feeding.mixed": "умеренное",
"inspect.tab.log": "История",
"log.empty": "История пуста",
"log.stamp": "Д{0} {1:00}:{2:00}",
"hud.events": "События",
"hud.perf": "Произв.",
"events.title": "Журнал событий",
"events.empty": "Пока ничего не произошло",
"perf.title": "Производительность",
"perf.fps": "{0} FPS · {1:0.0} мс/кадр",
"perf.root": "{0}: {1:0.000} мс · систем {2}",
"perf.systemline": "{0} {1:0.000} мс {2:0}%",
"perf.hint": "Обновляется ~5 раз/с · показаны самые дорогие системы",
"event.mated": "{0} спарилась с {1}",
"event.pregnant": "{0} забеременела",
"event.birth": "{0} принесла потомство ×{1}",
"event.hatch": "{0}: вылупились детёныши ×{1}",
"event.hunt": "{0} начала охоту: цель — {1}",
"event.injured": "{0} ранила: {1}",
"event.struck": "{0} ударил {1} (урон {2:0})",
"event.tookhit": "{0}: удар от {1} (урон {2:0})",
"event.killed": "{0} убила добычу: {1}",
"event.ate": "{0} поела",
"event.drank": "{0} попила",
"event.rest": "{0} отдыхает",
"event.dig": "{0} роет землю в поисках корма",
"event.wallow": "{0} валяется в грязи",
"event.fled": "{0} спасается бегством",
"event.grew": "{0}: новая стадия — {1}",
"event.death.starve": "{0} погибла от голода/жажды",
"event.death.age": "{0} умерла от старости",
"event.death.disease": "{0} погибла от болезни",
"net.hud": "Мультиплеер: {0} | жителей: {1} | Esc — в меню",
"net.connecting": "подключение…",
"net.connected": "подключено",