Private
Public Access
1
0

configlib for SwarmPopulationPercentageWhenNoBeehivesAvailable

This commit is contained in:
2026-03-21 02:25:29 +01:00
parent d43a860441
commit b064945106
3 changed files with 12 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ public class Config
[ProtoMember(54)]
[ConfigCommand(serverSide: true, Min = 0, Max = 70)]
public int SwarmPopulationPercentageWhenNoBeehivesAvailable { get; set; } = 5;
public int SwarmPopulationPercentageWhenNoBeehivesAvailable { get; set; } = 0;
[ProtoMember(52)]
[ConfigCommand(serverSide: true, Min = 1, Max = 30)]

View File

@@ -288,6 +288,16 @@
"max": 70
}
},
{
"code": "SwarmPopulationPercentageWhenNoBeehivesAvailable",
"comment": "config-desc-SwarmPopulationPercentageWhenNoBeehivesAvailable",
"type": "int",
"default": 0,
"range": {
"min": 0,
"max": 70
}
},
{
"code": "SwarmCooldownDays",
"comment": "config-desc-SwarmCooldownDays",

View File

@@ -98,6 +98,7 @@
"config-desc-BeehiveConsideredEmptyBelowPopulation": "A beehive is eligible to receive incoming swarms while its population stays below this value.",
"config-desc-PopulationPercentRequirementForSwarm": "Population percent of MaxBeePopulation required before a beehive can start a swarm.",
"config-desc-SwarmPopulationPercentage": "Percent of a beehive's population that leaves to form a swarm.",
"config-desc-SwarmPopulationPercentageWhenNoBeehivesAvailable": "How much of the population should swarm if there are no candidate homes detected nearby. If 0, it will just reset the swarm cooldown.",
"config-desc-SwarmCooldownDays": "Days a beehive must wait after starting a swarm before it can start another one.",
"config-desc-SwarmReturnToOriginOnFailedMigrationPercent": "Percent of swarm bees that return to the origin hive when the swarm fails to find a new hive.",
"config-desc-BaseDeathsPerDay": "Number of bees that die per day regardless of anything.",