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:
@@ -664,6 +664,12 @@ impl FalukantFamilyWorker {
|
||||
notify.extend(tension_socket_users);
|
||||
self.publish_falukant_update_family_batch(¬ify, "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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user