feat(admin): take reserve, cull wildlife, wildlife cap, fresh bud costs (schema 67)
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 5s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m34s
Foundation / postgres-tools (push) Successful in 26s
Foundation / server-image (push) Successful in 4m30s
Foundation / image (push) Successful in 5m46s
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 5s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m34s
Foundation / postgres-tools (push) Successful in 26s
Foundation / server-image (push) Successful in 4m30s
Foundation / image (push) Successful in 5m46s
ADR-0182 section 16, from playtesting region 16 at its 256-life cap. - Bud costs: the region host's cache of each genome's bud cost was keyed by genome only, so after a tuning adoption the client kept the old cost (or "cannot bud"). It now clears when the rules' encoding changes. - Wildlife cap: reproduction.wildlife_cap (optional, 0..organism cap, 0 = the organism cap) refuses buds of parents without an account at that many lives, keeping the slots above it for players. Bits 17-31 of the energy-cycle word, so older rules keep their bytes. DEV file: 200. - Schema 67: admin command kinds take_reserve (8: up to the amounts from a life's reserve to the spent pool) and remove_wildlife (9: every life without an account, as remove_cell). - Region view: caps; the portal shows lives against the cap. - Portal: Take reserve in the inspector, Remove all wildlife, and marking cells on the map (shift+click, shift+drag) for bulk removal; the guided editor lists optional keys the base revision lacks. - Client: a refused bud says the region may be full. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,7 @@ struct CellularRevampTuning {
|
||||
std::int64_t reproduction_bud_fee_e_pj{}, reproduction_bud_fee_c_fg{},
|
||||
reproduction_bud_fee_n_fg{}, reproduction_bud_fee_p_fg{}, reproduction_bud_fee_o_fg{};
|
||||
std::int64_t reproduction_bud_fee_scale_percent{}, reproduction_organism_cap{};
|
||||
std::int64_t reproduction_wildlife_cap{}; // Optional; 0 is the organism cap.
|
||||
// Multicellular organisms.
|
||||
std::int64_t organism_load_per_mille{}, organism_emerge_members{}, organism_emerge_mass_fg{},
|
||||
organism_emerge_reserve_pj{};
|
||||
|
||||
@@ -196,6 +196,10 @@ enum class CellularAdminKind : std::uint8_t { // A u16 in the trace.
|
||||
// whose canonical rules encoding (encode_cellular_revamp_rules) has the SHA-256 held in the
|
||||
// energy, carbon, nitrogen and phosphorus amounts (little-endian words; `other` zero).
|
||||
adopt_tuning = 7,
|
||||
// Schema 67: up to `amount` (per channel, never more than it holds) moved from the
|
||||
// `target` life's reserve to the spent pool; and every wildlife life removed as by 1.
|
||||
take_reserve = 8,
|
||||
remove_wildlife = 9,
|
||||
};
|
||||
struct CellularAdminCommand {
|
||||
std::uint64_t id{}; // The durable queue id.
|
||||
|
||||
@@ -51,6 +51,9 @@ struct CellularRevampRules {
|
||||
accounting::Inventory bud_fee{};
|
||||
std::uint32_t bud_fee_scale_percent{};
|
||||
std::uint32_t organism_cap{256};
|
||||
// Wildlife buds are refused at this many lives (0: the organism cap), leaving the slots
|
||||
// above it to players; spawning still answers to the organism cap. Below 32,768.
|
||||
std::uint32_t wildlife_cap{};
|
||||
// Multicellular organisms (reproduction plan section 6): the share of the extra members'
|
||||
// mass carried as load on one cell's thrust, and the emergence threshold.
|
||||
std::uint32_t organism_load_per_thousand{500};
|
||||
|
||||
Reference in New Issue
Block a user