feat(cellular): random founder spawns, tunable thrust cost, commit timing
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m6s
Foundation / checks (deploy) (push) Successful in 5m41s
Foundation / postgres-tools (push) Successful in 1m33s
Foundation / image (push) Successful in 4m42s
Foundation / server-image (push) Successful in 4m55s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 5s
Foundation / checks (postgres) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (ecs) (push) Successful in 1m6s
Foundation / checks (deploy) (push) Successful in 5m41s
Foundation / postgres-tools (push) Successful in 1m33s
Foundation / image (push) Successful in 4m42s
Foundation / server-image (push) Successful in 4m55s
Playtest feedback on region 10. Rules-12 founders now start at a seeded random spot anywhere in the region (1 mm clear of the edges, clear of other cells; seeded by world, region and the life's identity so replay is exact). The provisioned sites remain the fallback. Thrust energy is tunable: founder.thrust_cost_per_mille scales the metabolic full-speed movement cost for thrust and braking (trial 250, a quarter of today's cost). It is part of the liquid rules declared when a region opens, persisted in the format-10 block's reserved slot (zero stands for the original 1,000), so existing regions keep their meaning. The server logs every cellular commit slower than 50 ms (and one in 60) with its tick count and duration, to find what stalls the loop once a second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,8 @@ struct CellularTuning {
|
||||
std::int64_t founder_thrust_um_per_s2{}, founder_reverse_thrust_um_per_s2{};
|
||||
std::int64_t founder_drag_ppm_per_tick{}, founder_lateral_drag_ppm_per_tick{};
|
||||
std::int64_t founder_turn_heading_per_s{}; // 65,536 heading units per turn.
|
||||
// Thrust energy as a share of the metabolic full-speed movement cost, per thousand.
|
||||
std::int64_t founder_thrust_cost_per_mille{};
|
||||
// Currents.
|
||||
std::int64_t currents_min_count{}, currents_max_count{};
|
||||
std::int64_t currents_min_width_um{}, currents_max_width_um{};
|
||||
|
||||
@@ -16,6 +16,8 @@ struct CellularLiquidRules {
|
||||
biology::CellularCurrentConfig currents{}; // Its area is the owner's area.
|
||||
biology::CellularHandling founder{}; // Per-tick founder handling; costs unused.
|
||||
biology::CellularDepositMotionRules deposits{};
|
||||
// Thrust energy as a share of the metabolic full-speed movement cost, 1..10,000 per mille.
|
||||
std::uint32_t thrust_cost_per_mille{1'000};
|
||||
auto operator<=>(const CellularLiquidRules&) const = default;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user