Commit Graph

16 Commits

Author SHA1 Message Date
Steve Biedermann 52277ae779 fix(sim): improve population replacement rate
Raise starter settlement capacity above its initial population and allow eligible partnerships one birth opportunity per week instead of a 20% monthly roll. Preserve food and housing constraints and cover both initial growth and per-week births in tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 18:13:10 +02:00
Steve Biedermann 1e867b173c fix(sim): keep legacy villagers and newborns alive
Restore pre-life-cycle snapshots with working-age villagers and keep dependents near the shared food stock. Add regression coverage for legacy saves, child return-home behavior, and newborn placement.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 18:04:36 +02:00
Steve Biedermann a0f18df9ef feat(ui): expose life stages and fertility settings
Show each person's life stage, age, and partner in the inspector. Add per-stage fertility toggles and document the life cycle and birth conditions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 17:48:35 +02:00
Steve Biedermann 2cb4d4e626 feat(sim): add human life stages and partnerships
Add stage progression through death, one-to-one partnership actors, and constrained births.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 17:48:26 +02:00
Steve Biedermann ca371bd414 feat(calendar): add configurable calendar and stage ranges
Persist calendar units and inclusive life-stage duration ranges, expose them in the UI, and preserve defaults when loading legacy snapshots. Date formatting now derives from calendar settings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 17:38:57 +02:00
Steve Biedermann 81581132ad feat(sim): integrate Picard actors for living entities
Give people and animals persistent Picard actors and document runtime boundary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-11 17:30:28 +02:00
Steve Biedermann 0fbe9d553d build: update Just workflows for Compose and SQLite development 2026-10-08 09:24:14 +02:00
Steve Biedermann d3a230bd47 docs: document setup and database options 2026-10-08 09:17:22 +02:00
Steve Biedermann 238de74f5b feat: add same-seed reset and world regeneration 2026-10-08 09:10:42 +02:00
Steve Biedermann c58c590b5d feat: add database persistence and Docker setup 2026-10-08 09:10:42 +02:00
Steve Biedermann 2daf8f30f2 build: bundle the Leptos UI during Cargo builds 2026-10-08 09:10:42 +02:00
Steve Biedermann ef47209c79 refactor: stream simulation state over WebSockets 2026-10-08 09:10:42 +02:00
Steve Biedermann e4a4cb0190 feat: build the frontend with Leptos and WebAssembly 2026-10-08 09:10:42 +02:00
Steve Biedermann 1e7a5f911a feat: add a Monaco-based Rune script editor 2026-10-08 09:10:42 +02:00
Steve Biedermann dd02a16d36 feat: drive agent behavior with Rune scripts 2026-10-08 09:10:42 +02:00
Steve Biedermann 5760d097f7 feat: create the world simulation server 2026-10-08 09:10:42 +02:00