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": "gave birth",
"thought.mated": "mated",
"thought.quenchedThirst": "drank its fill",
"gene.feedingStyle": "feeding style",
"inspect.animal.feeding": "Feeding: {0}",
"feeding.gorge": "gorger (rare, to the full)",
"feeding.graze": "grazer (often, little by little)",
"feeding.mixed": "moderate",
"inspect.tab.log": "Log",
"log.empty": "No history yet",
"log.stamp": "D{0} {1:00}:{2:00}",
"hud.events": "Events",
"hud.perf": "Perf",
"events.title": "Event log",
"events.empty": "Nothing has happened yet",
"perf.title": "Performance",
"perf.fps": "{0} FPS · {1:0.0} ms/frame",
"perf.root": "{0}: {1:0.000} ms · systems {2}",
"perf.systemline": "{0} {1:0.000} ms {2:0}%",
"perf.hint": "Refreshes ~5/s · costliest systems shown",
"event.mated": "{0} mated with {1}",
"event.pregnant": "{0} became pregnant",
"event.birth": "{0} gave birth ×{1}",
"event.hatch": "{0}: eggs hatched ×{1}",
"event.hunt": "{0} started hunting: target — {1}",
"event.injured": "{0} wounded: {1}",
"event.struck": "{0} struck {1} (dmg {2:0})",
"event.tookhit": "{0}: hit by {1} (dmg {2:0})",
"event.killed": "{0} killed prey: {1}",
"event.ate": "{0} ate",
"event.drank": "{0} drank",
"event.rest": "{0} is resting",
"event.dig": "{0} digs for food",
"event.wallow": "{0} wallows in mud",
"event.fled": "{0} is fleeing",
"event.grew": "{0}: new stage — {1}",
"event.death.starve": "{0} died of hunger/thirst",
"event.death.age": "{0} died of old age",
"event.death.disease": "{0} died of disease",
"net.hud": "Multiplayer: {0} | beings: {1} | Esc — back to menu",
"net.connecting": "connecting…",
"net.connected": "connected",