- 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.
175 lines
5.3 KiB
JSON
175 lines
5.3 KiB
JSON
{
|
|
"type": "Animal",
|
|
// Виды-животные: подтип Pawn (kind=animal) + базовый геном вида из общих Gene-дефов (см. Defs/Genes/).
|
|
// Особь при спавне получает аллели вокруг этих баз, фенотип — формулами генов. Диета задаётся ГЕНАМИ
|
|
// (herbivory/carnivory/omnivory): олень — травоядный, волк — хищник, кабан — всеядный. Хищники несут
|
|
// боевые параметры (attack*) и охотятся на добычу не крупнее себя; жертвы убегают (см. AnimalSystems).
|
|
"defs": [
|
|
{
|
|
"defName": "Deer",
|
|
"label": "pawn.deer",
|
|
"kind": "animal",
|
|
"texture": "things/pawn/animal/deer/DeerFemale_east",
|
|
"maleTexture": "things/pawn/animal/deer/DeerMale_east",
|
|
"babyTexture": "things/pawn/animal/deer/DeerBaby_east",
|
|
"corpseTexture": "things/pawn/animal/deer/Dessicated_DeerFemale_east",
|
|
"body": "Quadruped",
|
|
"diet": ["plant"],
|
|
"spawnPer1000Cells": 2.5,
|
|
"baseMassKg": 70,
|
|
"genome": {
|
|
"GeneMaxBodySize": 1.5,
|
|
"GeneMetabolism": 1.0,
|
|
"GeneMoveSpeed": 1.2,
|
|
"GeneBloodVolume": 1.4,
|
|
"GeneVision": 1.3,
|
|
"GeneHearing": 1.4,
|
|
"GeneSmell": 1.2,
|
|
"GeneTouch": 1.0,
|
|
"GeneCamouflage": 0.35,
|
|
"GeneScent": 0.5,
|
|
"GeneNoise": 0.4,
|
|
"GeneBrainSize": 0.45,
|
|
"GeneInsulation": 0.55,
|
|
"GeneFurColor": 0.45,
|
|
"GeneMaturityAge": 90,
|
|
"GeneLifespan": 360,
|
|
"GeneBreedingSeason": 2,
|
|
"GeneGestationDays": 30,
|
|
"GeneLitterSize": 1,
|
|
"GeneHerbivory": 1.0,
|
|
"GeneToxinTolerance": 0.1,
|
|
"GeneFeedingStyle": 0.15,
|
|
"GeneSociability": 0.8
|
|
}
|
|
},
|
|
|
|
{
|
|
"defName": "Wolf",
|
|
"label": "pawn.wolf",
|
|
"kind": "animal",
|
|
"texture": "things/pawn/animal/wolf_timber/Wolf_Timber_east",
|
|
"maleTexture": "things/pawn/animal/wolf_timber/Wolf_Timber3_east",
|
|
"body": "Quadruped",
|
|
"diet": ["meat"],
|
|
"spawnPer1000Cells": 0.8,
|
|
"baseSpeed": 32,
|
|
"visionCells": 18,
|
|
"attackRangeCells": 1.3,
|
|
"attackIntervalSec": 1.4,
|
|
"attackDamage": 16,
|
|
"attackBleed": 0.16,
|
|
"attackBloodLoss": 0.06,
|
|
"baseMassKg": 45,
|
|
"genome": {
|
|
"GeneMaxBodySize": 1.6,
|
|
"GeneMetabolism": 1.1,
|
|
"GeneMoveSpeed": 1.4,
|
|
"GeneBloodVolume": 1.3,
|
|
"GeneVision": 1.5,
|
|
"GeneHearing": 1.5,
|
|
"GeneSmell": 1.8,
|
|
"GeneTouch": 1.0,
|
|
"GeneCamouflage": 0.2,
|
|
"GeneScent": 0.6,
|
|
"GeneNoise": 0.5,
|
|
"GeneBrainSize": 0.5,
|
|
"GeneInsulation": 0.6,
|
|
"GeneFurColor": 0.7,
|
|
"GeneMaturityAge": 70,
|
|
"GeneLifespan": 240,
|
|
"GeneBreedingSeason": 3,
|
|
"GeneGestationDays": 35,
|
|
"GeneLitterSize": 4,
|
|
"GeneCarnivory": 1.0,
|
|
"GeneFeedingStyle": 0.9,
|
|
"GeneSociability": 0.6
|
|
}
|
|
},
|
|
|
|
{
|
|
"defName": "WildBoar",
|
|
"label": "pawn.boar",
|
|
"kind": "animal",
|
|
"texture": "things/pawn/animal/wildboar/WildBoar_east",
|
|
"body": "Quadruped",
|
|
"diet": ["plant", "meat"],
|
|
"spawnPer1000Cells": 1.0,
|
|
"baseSpeed": 26,
|
|
"visionCells": 13,
|
|
"attackRangeCells": 1.2,
|
|
"attackIntervalSec": 2.0,
|
|
"attackDamage": 9,
|
|
"attackBleed": 0.1,
|
|
"attackBloodLoss": 0.035,
|
|
"baseMassKg": 80,
|
|
"genome": {
|
|
"GeneMaxBodySize": 1.3,
|
|
"GeneMetabolism": 1.2,
|
|
"GeneMoveSpeed": 1.0,
|
|
"GeneBloodVolume": 1.2,
|
|
"GeneVision": 1.0,
|
|
"GeneHearing": 1.2,
|
|
"GeneSmell": 1.6,
|
|
"GeneTouch": 1.0,
|
|
"GeneCamouflage": 0.2,
|
|
"GeneScent": 0.7,
|
|
"GeneNoise": 0.7,
|
|
"GeneBrainSize": 0.42,
|
|
"GeneInsulation": 0.5,
|
|
"GeneFurColor": 0.85,
|
|
"GeneMaturityAge": 80,
|
|
"GeneLifespan": 280,
|
|
"GeneBreedingSeason": 0,
|
|
"GeneGestationDays": 28,
|
|
"GeneLitterSize": 5,
|
|
"GeneHerbivory": 0.4,
|
|
"GeneCarnivory": 0.2,
|
|
"GeneOmnivory": 0.85,
|
|
"GeneToxinTolerance": 0.25,
|
|
"GeneFeedingStyle": 0.55,
|
|
"GeneSociability": 0.3
|
|
}
|
|
},
|
|
|
|
{
|
|
"defName": "Chicken",
|
|
"label": "pawn.chicken",
|
|
"kind": "animal",
|
|
"texture": "things/pawn/animal/chicken/Chicken_east",
|
|
"body": "Quadruped",
|
|
"diet": ["plant"],
|
|
"spawnPer1000Cells": 1.5,
|
|
"baseSpeed": 22,
|
|
"visionCells": 10,
|
|
"baseMassKg": 2.5,
|
|
"genome": {
|
|
"GeneMaxBodySize": 0.5,
|
|
"GeneMetabolism": 1.3,
|
|
"GeneMoveSpeed": 0.9,
|
|
"GeneBloodVolume": 0.7,
|
|
"GeneVision": 1.1,
|
|
"GeneHearing": 1.0,
|
|
"GeneSmell": 0.6,
|
|
"GeneTouch": 1.0,
|
|
"GeneCamouflage": 0.2,
|
|
"GeneScent": 0.4,
|
|
"GeneNoise": 0.6,
|
|
"GeneBrainSize": 0.3,
|
|
"GeneInsulation": 0.45,
|
|
"GeneFurColor": 0.6,
|
|
"GeneMaturityAge": 50,
|
|
"GeneLifespan": 180,
|
|
"GeneBreedingSeason": 1,
|
|
"GeneGestationDays": 12,
|
|
"GeneLitterSize": 6,
|
|
"GeneHerbivory": 0.8,
|
|
"GeneToxinTolerance": 0.15,
|
|
"GeneEggLaying": 1.0,
|
|
"GeneFeedingStyle": 0.2,
|
|
"GeneSociability": 0.55
|
|
}
|
|
}
|
|
]
|
|
}
|