35 lines
2.6 KiB
JSON
35 lines
2.6 KiB
JSON
{
|
|
"type": "Gene",
|
|
// Гены среды: свет, температура, почва. Покрывают экологические измерения генома растения,
|
|
// которые читают системы роста/жизненного цикла.
|
|
"defs": [
|
|
{ "defName": "GeneOptimalLight", "parent": "BaseNumericGene", "label": "gene.optimalLight",
|
|
"default": 0.6, "min": 0.0, "max": 1.0, "tags": ["environment", "light"],
|
|
"effects": { "optimalLight": "value" } },
|
|
{ "defName": "GeneLightTolerance", "parent": "BaseNumericGene", "label": "gene.lightTolerance",
|
|
"default": 0.5, "min": 0.05, "max": 1.0, "tags": ["environment", "light"],
|
|
"effects": { "lightTolerance": "value" } },
|
|
{ "defName": "GeneOptimalTemperature", "parent": "BaseNumericGene", "label": "gene.optimalTemperature",
|
|
"default": 14, "min": -20, "max": 45, "tags": ["environment", "temperature"],
|
|
"effects": { "optimalTemperature": "value" } },
|
|
{ "defName": "GeneTemperatureTolerance", "parent": "BaseNumericGene", "label": "gene.temperatureTolerance",
|
|
"default": 16, "min": 2, "max": 40, "tags": ["environment", "temperature"],
|
|
"effects": { "temperatureTolerance": "value" } },
|
|
// Жёсткие края диапазона роста (модель RimWorld): на сколько °C ниже/выше плато оптимума рост
|
|
// спадает до нуля. Ниже (optimal-tolerance-coldHardiness) или выше (optimal+tolerance+heatHardiness)
|
|
// растение дормантно и копит температурный стресс. Асимметрично: вид может терпеть жару лучше холода.
|
|
{ "defName": "GeneColdHardiness", "parent": "BaseNumericGene", "label": "gene.coldHardiness",
|
|
"default": 8, "min": 0, "max": 40, "tags": ["environment", "temperature"],
|
|
"effects": { "coldHardiness": "value" } },
|
|
{ "defName": "GeneHeatHardiness", "parent": "BaseNumericGene", "label": "gene.heatHardiness",
|
|
"default": 10, "min": 0, "max": 40, "tags": ["environment", "temperature"],
|
|
"effects": { "heatHardiness": "value" } },
|
|
{ "defName": "GeneOptimalFertility", "parent": "BaseNumericGene", "label": "gene.optimalFertility",
|
|
"default": 1.4, "min": 0.1, "max": 3.0, "tags": ["environment", "soil"],
|
|
"effects": { "optimalFertility": "value" } },
|
|
{ "defName": "GeneFertilityTolerance", "parent": "BaseNumericGene", "label": "gene.fertilityTolerance",
|
|
"default": 0.9, "min": 0.1, "max": 3.0, "tags": ["environment", "soil"],
|
|
"effects": { "fertilityTolerance": "value" } }
|
|
]
|
|
}
|