configlib for SwarmPopulationPercentageWhenNoBeehivesAvailable
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user