Implement marriage pregnancy management in UserCharacterWorker: Added SQL queries for handling marriage-related births and conception updates. Refactored pregnancy processing logic to accommodate new marriage pregnancy features, including checks for migration readiness and streamlined delivery processing. Enhanced documentation for clarity on marriage pregnancy mechanics.

This commit is contained in:
Torsten Schulz (local)
2026-03-25 11:56:25 +01:00
parent 083fa26297
commit 65772fb7de
4 changed files with 194 additions and 10 deletions

View File

@@ -664,6 +664,12 @@ impl FalukantFamilyWorker {
notify.extend(tension_socket_users);
self.publish_falukant_update_family_batch(&notify, "daily");
drop(conn);
// Liebschafts-Geburt: früher nur alle ~30 Tage in process_monthly — zu selten für kurze Testphasen.
if let Err(e) = self.process_lover_births() {
eprintln!("[FalukantFamilyWorker] process_lover_births: {e}");
}
Ok(())
}