feat(cellular): seed dev wildlife and tune budding playtests
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 4m27s
Foundation / postgres-tools (push) Successful in 30s
Foundation / server-image (push) Successful in 4m16s
Foundation / image (push) Successful in 4m54s

This commit is contained in:
dingo
2026-10-26 12:01:57 -04:00
parent 18a64a29cd
commit ff121c3ed1
32 changed files with 738 additions and 78 deletions
+15 -1
View File
@@ -541,7 +541,7 @@ void cellular_revamp_actions() {
CHECK(play.queue(CellAction::emerge, 305));
play.sent();
play.observe_end({305, 800, CellularDeathReason::emerged});
CHECK(play.life() == 0 && play.ended() && play.ended()->cause == CellularDeathReason::emerged &&
CHECK(play.life() == 0 && required(play.ended()).cause == CellularDeathReason::emerged &&
play.can_restart());
}
void cellular_energy_and_birth_wait() {
@@ -617,6 +617,20 @@ void cell_headings() {
CHECK(!headings.update(1, {6, 6}, *camera));
}
int main() try {
network::CellularLifeDiagnostics budding;
CHECK(!evo::client_app::bud_affordable(budding));
budding.bud_cost_energy_pj = 100;
budding.bud_cost_matter_fg = {10, 20, 30, 40};
budding.reserve_energy_pj = 100;
budding.reserve_matter_fg = {10, 20, 30, 40};
CHECK(evo::client_app::bud_affordable(budding));
for (std::size_t c = 0; c < 4; ++c) {
--budding.reserve_matter_fg[c];
CHECK(!evo::client_app::bud_affordable(budding));
++budding.reserve_matter_fg[c];
}
--budding.reserve_energy_pj;
CHECK(!evo::client_app::bud_affordable(budding));
labels();
selection();
launcher();