feat(cellular): energy cycles back through the spent pool (ADR-0182 section 14)
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m42s
Foundation / checks (checks) (push) Successful in 6s
Foundation / checks (client) (push) Successful in 5s
Foundation / postgres-tools (push) Successful in 31s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / server-image (push) Successful in 4m45s
Foundation / checks (network) (push) Successful in 4s
Foundation / image (push) Successful in 5m31s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m42s
Foundation / checks (checks) (push) Successful in 6s
Foundation / checks (client) (push) Successful in 5s
Foundation / postgres-tools (push) Successful in 31s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / server-image (push) Successful in 4m45s
Foundation / checks (network) (push) Successful in 4s
Foundation / image (push) Successful in 5m31s
Energy cells used went to the region's heat store and never returned, so a region without photosynthesizers drained: region 16's wildlife ate its energy and starved, and its matter-only drip filled the deposit limit. Two optional rules-13 tuning keys, adoptable live: spent.heat_recycle_per_mille moves that share of the heat store to the spent pool at the end of every tick, before the drip (1,000 closes the loop and returns heat built up before), and spent.drip_absorb lets a drip at the deposit limit join the first existing bubble at or after its spot. Both use the reserved word after the offer interval, so rules without them keep their bytes, digests, checkpoints and replays. The DEV revamp file turns both on. The region view reports heat and the cycle; the portal counts heat in the region's energy and ledger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,9 @@ void renders_cells_and_deposits() {
|
||||
require(text.find(",\"bubbles\":" + list(bubbles) + "}") != std::string::npos,
|
||||
"bubble totals");
|
||||
require(text.find("\"drip\"") == std::string::npos, "a drip before rules 13");
|
||||
require(text.find("],\"heat\":" + std::to_string(state->heat().energy.value) +
|
||||
",\"cells_total\":") != std::string::npos,
|
||||
"heat");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,11 +132,14 @@ void renders_the_drip() {
|
||||
.kill_bubble_per_thousand = 500},
|
||||
.drip_interval_ticks = 20,
|
||||
.drip_bubble_pj = 20'000'000,
|
||||
.drip_bubble_fg = 1'000'000};
|
||||
.drip_bubble_fg = 1'000'000,
|
||||
.heat_recycle_per_thousand = 1'000,
|
||||
.drip_absorb = true};
|
||||
state = checked(state->revamp_upgrade_candidate(rules), "revamp upgrade");
|
||||
const auto view = render_cellular_admin_view(*state, {});
|
||||
require(view.find("],\"drip\":[20,20000000,1000000],\"cells_total\":") != std::string::npos,
|
||||
"rules-13 drip");
|
||||
require(view.find(",\"drip\":[20,20000000,1000000,1000,1],\"cells_total\":") !=
|
||||
std::string::npos,
|
||||
"rules-13 drip and energy cycle");
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user