1,297
edits
Line 32: | Line 32: | ||
See [[Build Nest]] and [[Colonize]] | See [[Build Nest]] and [[Colonize]] | ||
= | = Over time = | ||
* | * Ordered to expand, the colony expands the nest's capacity. | ||
* | * Ordered to breed the colony do so if there is enough capacity. | ||
* If | * If the food level (r_workers * r_food) is above 40% the food increases. If lower it decreases and when out of food, ants start dying. NOTE: This is one way to kill your colony. | ||
* If the number of ants in the colony is bigger than the nest capacity limit, the number of ant is slowly decreased | * If the number of ants in the colony is bigger than the nest capacity limit, the number of ant is slowly decreased | ||
* Slowly migrating actual [[Worker]] and [[Warrior]] amount towards the setting (ants are given new tasks) | * Slowly migrating actual [[Worker]] and [[Warrior]] amount towards the setting (ants are given new tasks) | ||
* Sometimes cave ins and other accidents occur (decreasing capacity and killing ants) | |||
* Sometimes cave | |||
== | == Calculations done == | ||
For now calculations take place every other minute. r_nnn below is the ratio on that order setting. Using a linear model. This makes one colony "slow to turn" but by using many colonies it gets done faster. Use ar_worker=worker/(worker+warrior) in some formulas instead of r_worker to reflect the actual population. | |||
* capacity += r_expand * ar_worker * const | * capacity += r_expand * ar_worker * const | ||
* secret capacity += r_expand * ar_worker * r_secret * const (NOTE: secret is a part of the capacity) | * secret capacity += r_expand * ar_worker * r_secret * const (NOTE: secret is a part of the capacity) |