Foundation for the perception system. Adds Smell and Touch capacities (CapacityCalc dependency chain x consciousness) with organs on the Quadruped body (nose->Smell, skin->Touch; eyes/ears already give Sight/Hearing) so hediffs and organ damage reduce them for free. New genes: acuity GeneHearing/GeneSmell/GeneTouch (radius multipliers, default 1 if a species omits them) and detectability GeneCamouflage (lower sight), GeneScent (raise smell), GeneNoise (raise hearing) on AnimalPhenotype. Deer/wolf/boar/chicken get sensible values (wolf smells well, deer is alert + dappled). cap.smell/cap.touch localized. Build + --check-content clean (48 genes, 47 traits). Multi-sense detection + memory come next. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
52 lines
3.1 KiB
JSON
52 lines
3.1 KiB
JSON
{
|
|
"type": "Body",
|
|
// Анатомия видов (фаза A5): дерево частей/органов. Вклады в способности (capacities) по телу
|
|
// суммируются ≈1 у здоровой особи. maxHp умножается на размер тела особи при создании.
|
|
// Источников урона пока нет — части на полном HP, способности = 1; каркас под болезни/хищников.
|
|
"defs": [
|
|
{
|
|
"defName": "Quadruped",
|
|
"parts": [
|
|
{ "name": "torso", "coverage": 0.3, "maxHp": 40, "vital": true },
|
|
{ "name": "heart", "parent": "torso", "coverage": 0.02, "maxHp": 12, "vital": true,
|
|
"capacities": { "BloodPumping": 1.0 } },
|
|
{ "name": "lungLeft", "parent": "torso", "coverage": 0.03, "maxHp": 12,
|
|
"capacities": { "Breathing": 0.5 } },
|
|
{ "name": "lungRight", "parent": "torso", "coverage": 0.03, "maxHp": 12,
|
|
"capacities": { "Breathing": 0.5 } },
|
|
{ "name": "liver", "parent": "torso", "coverage": 0.03, "maxHp": 14, "vital": true,
|
|
"capacities": { "BloodFiltration": 0.4 } },
|
|
{ "name": "kidneyLeft", "parent": "torso", "coverage": 0.02, "maxHp": 10,
|
|
"capacities": { "BloodFiltration": 0.3 } },
|
|
{ "name": "kidneyRight", "parent": "torso", "coverage": 0.02, "maxHp": 10,
|
|
"capacities": { "BloodFiltration": 0.3 } },
|
|
{ "name": "stomach", "parent": "torso", "coverage": 0.03, "maxHp": 12,
|
|
"capacities": { "Digestion": 1.0 } },
|
|
{ "name": "head", "coverage": 0.08, "maxHp": 25 },
|
|
{ "name": "brain", "parent": "head", "coverage": 0.02, "maxHp": 12, "vital": true,
|
|
"capacities": { "Consciousness": 1.0 } },
|
|
{ "name": "eyeLeft", "parent": "head", "coverage": 0.015, "maxHp": 8,
|
|
"capacities": { "Sight": 0.5 } },
|
|
{ "name": "eyeRight", "parent": "head", "coverage": 0.015, "maxHp": 8,
|
|
"capacities": { "Sight": 0.5 } },
|
|
{ "name": "earLeft", "parent": "head", "coverage": 0.01, "maxHp": 8,
|
|
"capacities": { "Hearing": 0.5 } },
|
|
{ "name": "earRight", "parent": "head", "coverage": 0.01, "maxHp": 8,
|
|
"capacities": { "Hearing": 0.5 } },
|
|
{ "name": "nose", "parent": "head", "coverage": 0.01, "maxHp": 8,
|
|
"capacities": { "Smell": 1.0 } },
|
|
{ "name": "skin", "coverage": 0.05, "maxHp": 20,
|
|
"capacities": { "Touch": 1.0 } },
|
|
{ "name": "jaw", "parent": "head", "coverage": 0.02, "maxHp": 10,
|
|
"capacities": { "Eating": 1.0, "Talking": 0.5 } },
|
|
{ "name": "tongue", "parent": "head", "coverage": 0.01, "maxHp": 8,
|
|
"capacities": { "Talking": 0.5 } },
|
|
{ "name": "legFrontLeft", "coverage": 0.08, "maxHp": 15, "capacities": { "Moving": 0.25 } },
|
|
{ "name": "legFrontRight", "coverage": 0.08, "maxHp": 15, "capacities": { "Moving": 0.25 } },
|
|
{ "name": "legBackLeft", "coverage": 0.08, "maxHp": 15, "capacities": { "Moving": 0.25 } },
|
|
{ "name": "legBackRight", "coverage": 0.08, "maxHp": 15, "capacities": { "Moving": 0.25 } }
|
|
]
|
|
}
|
|
]
|
|
}
|