feat(cellular): playtest fixes - edge, cell count, mixed bubbles, still pools
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m29s
Foundation / postgres-tools (push) Successful in 29s
Foundation / server-image (push) Successful in 4m24s
Foundation / image (push) Successful in 4m58s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m29s
Foundation / postgres-tools (push) Successful in 29s
Foundation / server-image (push) Successful in 4m24s
Foundation / image (push) Successful in 4m58s
From the first rules-13 playtest: - An earned offer waits until a single cell can split (keeping its count), so choices are no longer refused one after another. - The client draws the region's walls (dimming outside), names the edge when the cell is against it, shows the region's cell count, and says when upkeep is burning kept matter because no energy is left. - Mixed bubbles hold every nutrient at once (--mixed-motes; none leaves the scatter stream unchanged) and are drawn as small pools of their nutrients. With intake split by the body's recipe, single-nutrient phosphorus bubbles fed slowly; mixed ones carry it with everything else. - Liquid openings move each pool out of the currents to the nearest still water (cellular_still_centre). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3383,8 +3383,15 @@ CellularLives::advance_tick_with_mutations(std::span<const CellularLifeIntent> i
|
||||
biology::cellular_affinity_tick(
|
||||
life.revamp.affinity, a, state_->revamp.mutations,
|
||||
{state_->revamp.offers.score_min, state_->revamp.offers.score_max});
|
||||
if (life.revamp.offer.count != 0 ||
|
||||
++life.revamp.active_ticks < state_->revamp.offer_interval_ticks)
|
||||
if (life.revamp.offer.count != 0)
|
||||
continue;
|
||||
if (life.revamp.active_ticks < state_->revamp.offer_interval_ticks)
|
||||
++life.revamp.active_ticks;
|
||||
// A single cell's choice splits it, so an earned offer waits (keeping its count)
|
||||
// until the cell has grown enough to split.
|
||||
if (life.revamp.active_ticks < state_->revamp.offer_interval_ticks ||
|
||||
(life.revamp.members == 1 &&
|
||||
life.growth.realized_per_thousand < state_->revamp.split_min_growth))
|
||||
continue;
|
||||
life.revamp.active_ticks = 0;
|
||||
const auto plan = next_archive.find(cellular_offspring_genome(life));
|
||||
|
||||
Reference in New Issue
Block a user