1,297
edits
Line 43: | Line 43: | ||
== TO THINK ABOUT, KEEP IT SIMPLE! == | == TO THINK ABOUT, KEEP IT SIMPLE! == | ||
Linear? Makes one colony "slow to turn" but using many colonies it gets done faster. Use worker/(worker+warrior) in some formulas instead of r_worker to reflect the actual population? | Linear? Makes one colony "slow to turn" but using many colonies it gets done faster. Use worker/(worker+warrior) in some formulas instead of r_worker to reflect the actual population? The may be stored in one of the calculations as a column. | ||
* capacity += r_expand * r_worker * (1 - r_secret) * const | * capacity += r_expand * r_worker * (1 - r_secret) * const | ||
* secret capacity += r_expand * r_worker * r_secret * const | * secret capacity += r_expand * r_worker * r_secret * const | ||
* workers += | * workers += if (wo+wa < capacity) r_breed * r_worker * const | ||
* warriors += r_breed * r_warrior * const | * warriors += if (wo+wa < capacity) r_breed * r_warrior * const | ||
* food += max(0, min(capacity, (r_food * r_worker - level) * (workers+warriors) * const)), Gathering and eating, if r_food*r_worker kept at level or above the food increase, else it decreases. Level could be 0.5, 0.4, or something... | * food += max(0, min(capacity, (r_food * r_worker - level) * (workers+warriors) * const)), Gathering and eating, if r_food*r_worker kept at level or above the food increase, else it decreases. Level could be 0.5, 0.4, or something... | ||